public class DataImpl extends java.lang.Object implements Data, AttachmentAndMetadata, Disposable, ComponentContextAware
The implementation class of the data service component interface (Data
).
Data service components are a group of GIS service components encapsulating all data-related GIS functions.
This class is the default imlementing class of the data service component interface (Data
).
The service providers in a data service component must be data service providers (Data
).
Component
Constructor and Description |
---|
DataImpl()
The default constructor.
|
DataImpl(DataContext context)
Constructs a
DataImpl object according to the context of a data service component. |
Modifier and Type | Method and Description |
---|---|
AttachmentInfo |
addAttachment(java.lang.String datasourceName, java.lang.String datasetName, int featureId, Attachment attachment)
Related to the attachment for feature.
|
EditResult |
addFeatures(java.lang.String datasourceName, java.lang.String datasetName, java.util.List<Feature> targetFeatures)
Adds a set of features of the same type to a specified dataset.
|
void |
batchAddFeatures(java.lang.String datasourceName, java.lang.String datasetName, java.util.List<Feature> targetFeatures)
Adds elements in batch, the performance is higher than the addFeatures interface when adding massive features.
|
boolean |
clearFeatures(java.lang.String datasourceName, java.lang.String datasetName)
Clears the features in a specified dataset.
|
boolean |
containsDataset(java.lang.String datasourceName, java.lang.String datasetName)
Determines whether a specified datasource contains a specified dataset.
|
java.util.List<Geometry> |
coordtransfer(Geometry[] geometry, PrjCoordSys sourcePrjCoorSys, PrjCoordSys targetPrjCoordSys)
According to the target coordinate system, converting the geographic object collection coordinate system
|
boolean |
copyDataset(java.lang.String srcDatasourceName, java.lang.String srcDatasetName, java.lang.String destDatasourceName, java.lang.String destDatasetName)
Copies a replication of a specified dataset.
|
boolean |
createDataset(java.lang.String dataSourceName, DatasetInfo datasetInfo)
Creates a new dataset in a specified datasource according to the dataset information.
|
boolean |
deleteAttachment(java.lang.String datasourceName, java.lang.String datasetName, int featureId, int id)
Delete the attachment related to feature.
|
boolean |
deleteDataset(java.lang.String datasourceName, java.lang.String datasetName)
Removes a dataset from a specified datasource according to the dataset information.
|
EditResult |
deleteFeatures(java.lang.String datasourceName, QueryParameter queryParameter)
Specifies the data source to remove the feature via sql.
|
EditResult |
deleteFeatures(java.lang.String datasourceName, java.lang.String datasetName, int[] ids)
Deletes features from a specified dataset.
|
void |
dispose()
Releases the resources used by this data service component.
|
protected void |
finalize()
Releases the resources used by this data service component.
|
Attachment |
getAttachement(java.lang.String datasourceName, java.lang.String datasetName, int featureId, int id)
Gets the attachment data according to the attachment ID.
|
java.util.List<AttachmentInfo> |
getAttachmentInfos(java.lang.String datasourceName, java.lang.String datasetName, int featureId)
Gets the attachment info list related to feature.
|
DatasetInfo |
getDatasetInfo(java.lang.String datasourceName, java.lang.String datasetName)
Gets the information of a specified dataset in a given datasource.
|
java.util.List<DatasetInfo> |
getDatasetInfos(java.lang.String datasourceName)
Gets information about all the datasets in a specified datasource.
|
java.util.List<java.lang.String> |
getDatasetNames(java.lang.String datasourceName)
Gets all dataset names for the current data source.
|
DatasourceInfo |
getDatasourceInfo(java.lang.String datasourceName)
Gets information about a specified datasource.
|
java.util.List<DatasourceInfo> |
getDatasourceInfos()
Gets information about all the datasources corresponding to the current data service component.
|
java.util.List<DomainInfo> |
getDomainInfos(java.lang.String datasourceName, java.lang.String datasetName)
The new dataset information.
|
GetFeatureResult |
getFeature(GetFeatureParameters parameters)
Query and return the feature results.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, QueryParameter queryParam)
Gets features by a SQL query condition.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, QueryParameter queryParam, int maxFeatures)
Gets features by a SQL query condition.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry, double bufferDistance, java.lang.String[] fields)
Gets the features that fall within a buffer of a specified geometric object and meet a certain attribute filter condition.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry, double bufferDistance, java.lang.String attributeFilter, java.lang.String[] fields)
Gets the features that fall within a buffer of a specified geometric object and meet a certain attribute filter condition.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry, SpatialQueryMode spatialQueryMode, java.lang.String[] fields)
Gets the features that satisfy certain spatial query mode on a specified geometric object.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry, SpatialQueryMode spatialQueryMode, java.lang.String attributeFilter, java.lang.String[] fields)
Gets the features that satisfy certain spatial query mode on a specified geometric object and meet a certain attribute filter condition.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, java.lang.String datasetName, int[] ids, java.lang.String[] fields)
Gets features with specified IDs in a specified dataset.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, java.lang.String datasetName, int[] ids, java.lang.String[] fields, int fromIndex, int toIndex)
Gets the feature in the specified data set according to the specified feature ID in the way of supporting paging.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, java.lang.String datasetName, Rectangle2D bounds, java.lang.String[] fields)
Gets the features that fall within a specified space and meet a certain attribute filter condition.
|
java.util.List<Feature> |
getFeature(java.lang.String datasourceName, java.lang.String datasetName, Rectangle2D bounds, java.lang.String attributeFilter, java.lang.String[] fields)
Gets the features that fall within a specified space and meet a certain attribute filter condition.
|
FeatureMetadata |
getFeatureMetadata(java.lang.String datasourceName, java.lang.String datasetName, int featureId)
Gets the feature meta info.
|
java.util.List<FieldInfo> |
getFieldInfos(java.lang.String datasourceName, java.lang.String datasetName)
Get all the field info of the specified dataset.
|
GridValue |
getGridValue(java.lang.String datasourceName, java.lang.String datasetName, Point2D point2d)
Gets the grid value of the specified coordinate in a grid dataset.
|
GridValues |
getGridValues(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry)
Gets the grid value matrix within a specified rectangle.
|
ImageValue |
getImageValue(java.lang.String datasourceName, java.lang.String datasetName, Point2D point2d)
Gets the pixel value of the specified coordinate in a image dataset.
|
ImageValues |
getImageValues(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry)
Gets the grid value matrix within a specified rectangle.
|
boolean |
isDisableQueryCache()
Whether to enable caching when performing data query
|
boolean |
renameDataset(java.lang.String datasourceName, java.lang.String oldName, java.lang.String newName)
Modifies the name of a specified dataset.
|
void |
setComponentContext(ComponentContext context)
Sets the service component context.
|
double |
statistic(java.lang.String datasourceName, java.lang.String datasetName, int fieldIndex, StatisticMode statisticMode)
Calculates statistics on a specified field of a dataset based on a specified statistical mode.
|
double |
statistic(java.lang.String datasourceName, java.lang.String datasetName, java.lang.String fieldName, StatisticMode statisticMode)
Calculates statistics on a specified field of a dataset based on a specified statistical mode.
|
boolean |
supportAttachments(java.lang.String datasourceName, java.lang.String datasetName)
Whether the dataset attachment is enable.
|
boolean |
supportFeatureMetadatas(java.lang.String datasourceName, java.lang.String datasetName)
Whether this dataset feature supports the metadata info.
|
void |
updateDatasetInfo(java.lang.String datasourceName, java.lang.String datasetName, DatasetInfo newDatasetInfo)
Updates information about a specified dataset in a given datasource.
|
void |
updateDatasourceInfo(java.lang.String datasourceName, DatasourceInfo newDatasourceInfo)
Updates the original datasource info with new datasource info.
|
EditResult |
updateFeatures(java.lang.String datasourceName, java.lang.String datasetName, java.util.List<Feature> targetFeatures)
Updates features in a specified dataset.
|
void |
updateFieldInfos(java.lang.String datasourceName, java.lang.String datasetName, java.util.List<FieldInfo> newFiledInfos)
Updates the field information in a specified dataset.
|
public DataImpl()
The default constructor.
public DataImpl(DataContext context) throws DataException
Constructs a DataImpl
object according to the context of a data service component.
context
- The context information of a given data service component.DataException
- A data service component exception thrown when the config parameter is null).public boolean createDataset(java.lang.String dataSourceName, DatasetInfo datasetInfo) throws DataException
Creates a new dataset in a specified datasource according to the dataset information.
createDataset
in interface Data
dataSourceName
- The list of datasource names.datasetInfo
- The dataset information.DataException
- A data service component exception.public boolean deleteDataset(java.lang.String datasourceName, java.lang.String datasetName) throws DataException
Removes a dataset from a specified datasource according to the dataset information.
deleteDataset
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.DataException
- A data service component exception.public boolean copyDataset(java.lang.String srcDatasourceName, java.lang.String srcDatasetName, java.lang.String destDatasourceName, java.lang.String destDatasetName) throws DataException
Copies a replication of a specified dataset.
Copies a replication of a specified dataset from specified datasource to target datasource and saves it with a specified name.
copyDataset
in interface Data
srcDatasourceName
- The source datasource name.srcDatasetName
- The source dataset name.destDatasourceName
- The target datasource name.destDatasetName
- The target dataset name.DataException
- A data service component exception.public boolean renameDataset(java.lang.String datasourceName, java.lang.String oldName, java.lang.String newName) throws DataException
Modifies the name of a specified dataset.
renameDataset
in interface Data
datasourceName
- The list of datasource names.oldName
- The name of the dataset to be modified.newName
- New name.DataException
- A data service component exception.public boolean containsDataset(java.lang.String datasourceName, java.lang.String datasetName) throws DataException
Determines whether a specified datasource contains a specified dataset.
containsDataset
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.DataException
- A data service component exception.public EditResult addFeatures(java.lang.String datasourceName, java.lang.String datasetName, java.util.List<Feature> targetFeatures) throws DataException
Adds a set of features of the same type to a specified dataset.
Every dataset in SuperMap has a type (DatasetType
). A dataset can be a point, a line, or a region dataset. The features in a dataset are of the same type with the dataset. For instance, the features stored in a point dataset must be point features. Therefore, a feature added to a dataset must be of the same type with that dataset.
addFeatures
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.targetFeatures
- The list of features to be added. The features must be of the same type.DataException
- A data service component exception.public void batchAddFeatures(java.lang.String datasourceName, java.lang.String datasetName, java.util.List<Feature> targetFeatures) throws DataException
Adds elements in batch, the performance is higher than the addFeatures interface when adding massive features. But the result doesn't show the detailed failure messages, such as the IDs of the features that are added failed.
batchAddFeatures
in interface Data
datasourceName
-datasetName
-targetFeatures
-DataException
public EditResult deleteFeatures(java.lang.String datasourceName, java.lang.String datasetName, int[] ids) throws DataException
Deletes features from a specified dataset.
deleteFeatures
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.ids
- The IDs of the features to be deleted.DataException
- A data service component exception.public EditResult deleteFeatures(java.lang.String datasourceName, QueryParameter queryParameter) throws DataException
Data
Specifies the data source to remove the feature via sql.
deleteFeatures
in interface Data
datasourceName
- the name of the datasource.DataException
- Data service component exception information.public EditResult updateFeatures(java.lang.String datasourceName, java.lang.String datasetName, java.util.List<Feature> targetFeatures) throws DataException
Updates features in a specified dataset.
targetFeatures is used to set the expected features after update, of which the IDs should be identical with the IDs of the features to be updated. The update process is finding out the feature to be updated with the ID from the targetFeatures first, then updating the source feature with the targetFeature.
updateFeatures
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.targetFeatures
- The list of new features whose IDs are the same with those of the features to be updated.DataException
- A data service component exception.public boolean clearFeatures(java.lang.String datasourceName, java.lang.String datasetName) throws DataException
Clears the features in a specified dataset.
clearFeatures
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.DataException
- A data service component exception.public java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, int[] ids, java.lang.String[] fields) throws DataException
Gets features with specified IDs in a specified dataset.
getFeature
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.ids
- The feature IDs.fields
- An array of fields to be returned. When the parameter is null, all fields are returned.DataException
- A data service component exception.public java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, Rectangle2D bounds, java.lang.String[] fields) throws DataException
Gets the features that fall within a specified space and meet a certain attribute filter condition.
getFeature
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.bounds
- The specified query bounds.fields
- The array of fields to be returned. All the fields are returned if this parameter is null.DataException
- Data service component exception information.public java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, Rectangle2D bounds, java.lang.String attributeFilter, java.lang.String[] fields) throws DataException
Gets the features that fall within a specified space and meet a certain attribute filter condition.
getFeature
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.bounds
- The specified query bounds.attributeFilter
- The attribute query filter.fields
- The array of fields to be returned. All the fields are returned if this parameter is null.DataException
public java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry, double bufferDistance, java.lang.String[] fields) throws DataException
Gets the features that fall within a buffer of a specified geometric object and meet a certain attribute filter condition.
getFeature
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.geometry
- The geometric object.bufferDistance
- The buffer distance and the unit is the coordUnit of current dataset.fields
- An array of fields to be returned. When the parameter is null, all fields are returned.DataException
- A data service component exception.public java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry, double bufferDistance, java.lang.String attributeFilter, java.lang.String[] fields) throws DataException
Gets the features that fall within a buffer of a specified geometric object and meet a certain attribute filter condition.
getFeature
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.geometry
- The geometric object.bufferDistance
- The buffer distance and the unit is the coordUnit of current dataset.attributeFilter
- The attribute filter condition. For example, fieldValue < 100, name like '%Hotel%'fields
- An array of fields to be returned. When the parameter is null, all fields are returned.DataException
- A data service component exception.public java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry, SpatialQueryMode spatialQueryMode, java.lang.String[] fields) throws DataException
Gets the features that satisfy certain spatial query mode on a specified geometric object.
getFeature
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.geometry
- The specified Geometric object.spatialQueryMode
- The spatial query mode.fields
- An array of fields to be returned. When the parameter is null, all fields are returned.DataException
- A data service component exception.public java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry, SpatialQueryMode spatialQueryMode, java.lang.String attributeFilter, java.lang.String[] fields) throws DataException
Gets the features that satisfy certain spatial query mode on a specified geometric object and meet a certain attribute filter condition.
getFeature
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.geometry
- The geometric object.spatialQueryMode
- The spatial query mode.attributeFilter
- Attribute filter condition.fields
- An array of fields to be returned. When the parameter is null, all fields are returned.DataException
- A data service component exception.public GetFeatureResult getFeature(GetFeatureParameters parameters) throws DataException
Data
Query and return the feature results.
getFeature
in interface Data
parameters
- Is the encapsulation of other getFeature parameters.DataException
public java.util.List<Feature> getFeature(java.lang.String datasourceName, QueryParameter queryParam) throws DataException
Gets features by a SQL query condition.
getFeature
in interface Data
datasourceName
- The list of datasource names.queryParam
- Query parameter.DataException
- A data service component exception.public java.util.List<Feature> getFeature(java.lang.String datasourceName, QueryParameter queryParam, int maxFeatures) throws DataException
Gets features by a SQL query condition.
getFeature
in interface Data
datasourceName
- The list of datasource names.queryParam
- Query parameter.maxFeatures
- The maximum features to be returned.DataException
- A data service component exception.public java.util.List<DatasourceInfo> getDatasourceInfos() throws DataException
Gets information about all the datasources corresponding to the current data service component.
getDatasourceInfos
in interface Data
DataException
- A data service component exception.public DatasourceInfo getDatasourceInfo(java.lang.String datasourceName) throws DataException
Gets information about a specified datasource.
getDatasourceInfo
in interface Data
datasourceName
- The list of datasource names.DataException
- A data service component exception.public void updateDatasourceInfo(java.lang.String datasourceName, DatasourceInfo newDatasourceInfo) throws DataException
Updates the original datasource info with new datasource info.
updateDatasourceInfo
in interface Data
datasourceName
- The list of datasource names.newDatasourceInfo
- The new datasource info.DataException
- A data service component exception.public java.util.List<DatasetInfo> getDatasetInfos(java.lang.String datasourceName) throws DataException
Gets information about all the datasets in a specified datasource.
getDatasetInfos
in interface Data
datasourceName
- The list of datasource names.DataException
- A data service component exception.public DatasetInfo getDatasetInfo(java.lang.String datasourceName, java.lang.String datasetName) throws DataException
Gets the information of a specified dataset in a given datasource.
getDatasetInfo
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.DataException
- A data service component exception.public void updateDatasetInfo(java.lang.String datasourceName, java.lang.String datasetName, DatasetInfo newDatasetInfo) throws DataException
Updates information about a specified dataset in a given datasource.
updateDatasetInfo
in interface Data
datasourceName
- The list of datasource names.datasetName
- The name of the dataset to be updated.newDatasetInfo
- The dataset information.DataException
- A data service component exception.public java.util.List<DomainInfo> getDomainInfos(java.lang.String datasourceName, java.lang.String datasetName) throws DataException
The new dataset information.
getDomainInfos
in interface Data
datasourceName
- The datasource name.datasetName
- The dataset name.DataException
public java.util.List<FieldInfo> getFieldInfos(java.lang.String datasourceName, java.lang.String datasetName) throws DataException
Get all the field info of the specified dataset.
getFieldInfos
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.DataException
- A data service component exception.public GridValue getGridValue(java.lang.String datasourceName, java.lang.String datasetName, Point2D point2d) throws DataException
Gets the grid value of the specified coordinate in a grid dataset.
getGridValue
in interface Data
datasoruceName
-datasetName
-DataException
public GridValues getGridValues(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry) throws DataException
getGridValues
in interface Data
datasourceName
-datasetName
-bounds
-DataException
public ImageValue getImageValue(java.lang.String datasourceName, java.lang.String datasetName, Point2D point2d) throws DataException
Gets the pixel value of the specified coordinate in a image dataset.
getImageValue
in interface Data
datasoruceName
-datasetName
-DataException
public ImageValues getImageValues(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry) throws DataException
getImageValues
in interface Data
datasourceName
-datasetName
-bounds
-DataException
public void updateFieldInfos(java.lang.String datasourceName, java.lang.String datasetName, java.util.List<FieldInfo> newFiledInfos) throws DataException
Updates the field information in a specified dataset.
A field can be added, deleted, or modified by using this method.All the fields (except the SuperMap system fields) in a dataset are replaced with new fields.
If SuperMap data are used, the alias of the SuperMap system fields cannot be updated.
updateFieldInfos
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.newFiledInfos
- The new field information. If SuperMap data are used, the SuperMap system fields cannot be included in this information list.DataException
- A data service component exception.public double statistic(java.lang.String datasourceName, java.lang.String datasetName, int fieldIndex, StatisticMode statisticMode) throws DataException
Calculates statistics on a specified field of a dataset based on a specified statistical mode.
statistic
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.fieldIndex
- The field index.statisticMode
- The statistical mode.DataException
- A data service component exception.public double statistic(java.lang.String datasourceName, java.lang.String datasetName, java.lang.String fieldName, StatisticMode statisticMode) throws DataException
Calculates statistics on a specified field of a dataset based on a specified statistical mode.
statistic
in interface Data
datasourceName
- The list of datasource names.datasetName
- The dataset name.fieldName
- The name of the specified field.statisticMode
- The statistical mode.DataException
- A data service component exception.public void dispose()
Releases the resources used by this data service component.
dispose
in interface Disposable
public void setComponentContext(ComponentContext context)
ComponentContextAware
Sets the service component context.
setComponentContext
in interface ComponentContextAware
context
- The service component context.public java.util.List<AttachmentInfo> getAttachmentInfos(java.lang.String datasourceName, java.lang.String datasetName, int featureId)
AttachmentAndMetadata
Gets the attachment info list related to feature.
getAttachmentInfos
in interface AttachmentAndMetadata
featureId
- Feature ID.public boolean supportAttachments(java.lang.String datasourceName, java.lang.String datasetName)
AttachmentAndMetadata
Whether the dataset attachment is enable.
supportAttachments
in interface AttachmentAndMetadata
public Attachment getAttachement(java.lang.String datasourceName, java.lang.String datasetName, int featureId, int id)
AttachmentAndMetadata
Gets the attachment data according to the attachment ID.
getAttachement
in interface AttachmentAndMetadata
id
- Attachment IDpublic AttachmentInfo addAttachment(java.lang.String datasourceName, java.lang.String datasetName, int featureId, Attachment attachment)
AttachmentAndMetadata
Related to the attachment for feature.
addAttachment
in interface AttachmentAndMetadata
featureId
- Feature ID.attachment
- Attachment content.public boolean deleteAttachment(java.lang.String datasourceName, java.lang.String datasetName, int featureId, int id)
AttachmentAndMetadata
Delete the attachment related to feature.
deleteAttachment
in interface AttachmentAndMetadata
public boolean supportFeatureMetadatas(java.lang.String datasourceName, java.lang.String datasetName)
AttachmentAndMetadata
Whether this dataset feature supports the metadata info.
supportFeatureMetadatas
in interface AttachmentAndMetadata
public FeatureMetadata getFeatureMetadata(java.lang.String datasourceName, java.lang.String datasetName, int featureId)
AttachmentAndMetadata
Gets the feature meta info.
getFeatureMetadata
in interface AttachmentAndMetadata
protected void finalize() throws java.lang.Throwable
Releases the resources used by this data service component.
finalize
in class java.lang.Object
java.lang.Throwable
public java.util.List<java.lang.String> getDatasetNames(java.lang.String datasourceName) throws DataException
Data
Gets all dataset names for the current data source.
getDatasetNames
in interface Data
datasourceName
- the name of the datasource.DataException
public java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, int[] ids, java.lang.String[] fields, int fromIndex, int toIndex) throws DataException
Data
Gets the feature in the specified data set according to the specified feature ID in the way of supporting paging.
getFeature
in interface Data
datasourceName
- the name of the datasource.datasetName
- the dataset name.ids
- Feature ID.fields
- An array of fields to be returned. When the parameter is null, all fields are returned.fromIndex
- The minimum index number for the result of the pagingtoIndex
- The maximum index number for the result of the pagingDataException
- Data service component exception information.public java.util.List<Geometry> coordtransfer(Geometry[] geometry, PrjCoordSys sourcePrjCoorSys, PrjCoordSys targetPrjCoordSys) throws DataException
Data
According to the target coordinate system, converting the geographic object collection coordinate system
coordtransfer
in interface Data
DataException
public boolean isDisableQueryCache()
Data
isDisableQueryCache
in interface Data