public class ArcgisRestDataSource extends VectorDataSource
EMPTY_ATTRIBUTE_ARRAY, EMPTY_ELEMENT_ARRAY| Constructor and Description |
|---|
ArcgisRestDataSource() |
| Modifier and Type | Method and Description |
|---|---|
AttributeStat[] |
calculateStats(QueryFilter[] queryFilters,
Attribute[] attributes) |
void |
close() |
void |
delete()
The
delete() method is called when a spatial data source is being deleted
in order to free and delete all resources used. |
DataSet |
extractAttributes(QueryFilter[] queryFilters,
Attribute[] attributes,
java.util.Map<java.lang.String,?> extraParameters)
This method is called when a user in JMAP ADMIN clicks on an attribute to
view the data.
|
JMapGeoElement[] |
extractElements(QueryFilter[] queryFilters,
Attribute[] attributes) |
Attribute[] |
getAttributeMetaData() |
int |
getCount(QueryFilter[] filters)
Uses REST to get the count from the esri service server and sets it to the
spatial datasource info
|
SpatialDataSourceInfo |
getDataSourceInfo()
Returns the spatial data source info that was used to initialize this spatial data source.
|
Rectangle |
getExtent() |
Rectangle |
getExtent(QueryFilter[] filter) |
java.lang.String |
getName()
Returns the name of the current spatial data source.
|
void |
init(SpatialDataSourceInfo info) |
void |
update() |
appendAttributeFilter, applyQueryFilters, extractElementsisCancelled, validateProjectionpublic void init(SpatialDataSourceInfo info) throws java.lang.Exception
init in class SpatialDataSourcejava.lang.Exceptionpublic AttributeStat[] calculateStats(QueryFilter[] queryFilters, Attribute[] attributes) throws java.lang.Exception
calculateStats in class VectorDataSourcejava.lang.Exceptionpublic JMapGeoElement[] extractElements(QueryFilter[] queryFilters, Attribute[] attributes) throws java.lang.Exception
extractElements in class VectorDataSourcejava.lang.Exceptionpublic int getCount(QueryFilter[] filters) throws java.lang.Exception
getCount in class VectorDataSourcejava.lang.Exceptionpublic void close()
throws java.lang.Exception
close in class SpatialDataSourcejava.lang.Exceptionpublic void delete()
throws java.lang.Exception
SpatialDataSourcedelete() method is called when a spatial data source is being deleted
in order to free and delete all resources used.delete in class SpatialDataSourcejava.lang.Exceptionpublic DataSet extractAttributes(QueryFilter[] queryFilters, Attribute[] attributes, java.util.Map<java.lang.String,?> extraParameters) throws java.lang.Exception
extractAttributes in class SpatialDataSourcejava.lang.Exceptionpublic Attribute[] getAttributeMetaData() throws java.lang.Exception
getAttributeMetaData in class SpatialDataSourcejava.lang.Exceptionpublic SpatialDataSourceInfo getDataSourceInfo()
SpatialDataSourcegetDataSourceInfo in class SpatialDataSourcepublic Rectangle getExtent() throws java.lang.Exception
getExtent in class SpatialDataSourcejava.lang.Exceptionpublic java.lang.String getName()
SpatialDataSourcegetName in class SpatialDataSourcepublic void update()
throws java.lang.Exception
update in class SpatialDataSourcejava.lang.Exceptionpublic Rectangle getExtent(QueryFilter[] filter) throws java.lang.Exception
getExtent in class VectorDataSourcejava.lang.Exception