|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.internal.value.DataSource
com.esri.core.internal.value.QueryTableDataSource
public class QueryTableDataSource

The Class QueryTableDataSource is a layer/table that is defined by a SQL query.
Note:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.esri.core.internal.value.DataSource |
|---|
DataSource.DataSourceType |
| Constructor Summary | |
|---|---|
QueryTableDataSource()
Instantiates a new query table data source. |
|
| Method Summary | |
|---|---|
Geometry.Type |
getGeometryType()
Gets the geometry type. |
String |
getOidFields()
Gets the oid fields. |
String |
getQuery()
Gets the query. |
SpatialReference |
getSpatialRef()
Gets the spatial reference. |
String |
getWorkspaceId()
Gets the workspace id. |
void |
setGeometryType(Geometry.Type geometryType)
Sets the geometry type. |
void |
setOidFields(String oidFields)
Sets the oid fields. |
void |
setQuery(String query)
Sets the query. |
void |
setSpatialRef(SpatialReference spatialRef)
Sets the spatial reference. |
void |
setWorkspaceId(String id)
Sets the workspace id. |
String |
toJson()
|
| Methods inherited from class com.esri.core.internal.value.DataSource |
|---|
getType, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryTableDataSource()
| Method Detail |
|---|
public String getWorkspaceId()
public void setWorkspaceId(String id)
id - the new workspace idpublic String getQuery()
public void setQuery(String query)
query - the new querypublic String getOidFields()
public void setOidFields(String oidFields)
oidFields - the new oid fieldspublic Geometry.Type getGeometryType()
public void setGeometryType(Geometry.Type geometryType)
geometryType - the new geometry typepublic SpatialReference getSpatialRef()
public void setSpatialRef(SpatialReference spatialRef)
spatialRef - the new spatial referencepublic String toJson() throws IOException
toJson in class DataSourceIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||