Class FilterQuery
- java.lang.Object
-
- com.vividsolutions.jump.datastore.FilterQuery
-
- All Implemented Interfaces:
Query
public class FilterQuery extends Object implements Query
A spatial filterQueryon aDataStoreConnection.
-
-
Constructor Summary
Constructors Constructor Description FilterQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCondition()StringgetDatasetName()org.locationtech.jts.geom.GeometrygetFilterGeometry()StringgetGeometryAttributeName()intgetLimit()StringgetPrimaryKey()String[]getPropertyNames()SpatialReferenceSystemIDgetSRSName()voidsetCondition(String condition)voidsetDatasetName(String datasetName)voidsetFilterGeometry(org.locationtech.jts.geom.Geometry geom)voidsetGeometryAttributeName(String geomAttrName)voidsetLimit(int limit)voidsetPrimaryKey(String primaryKey)voidsetPropertyNames(String[] propertyNames)voidsetSRSName(SpatialReferenceSystemID srid)Sets the SpatialReferenceSystem for a query.
-
-
-
Method Detail
-
setDatasetName
public void setDatasetName(String datasetName)
-
getDatasetName
public String getDatasetName()
-
setPropertyNames
public void setPropertyNames(String[] propertyNames)
-
getPropertyNames
public String[] getPropertyNames()
-
setFilterGeometry
public void setFilterGeometry(org.locationtech.jts.geom.Geometry geom)
-
getFilterGeometry
public org.locationtech.jts.geom.Geometry getFilterGeometry()
-
setCondition
public void setCondition(String condition)
-
getCondition
public String getCondition()
-
setLimit
public void setLimit(int limit)
-
getLimit
public int getLimit()
-
setGeometryAttributeName
public void setGeometryAttributeName(String geomAttrName)
-
getGeometryAttributeName
public String getGeometryAttributeName()
-
setPrimaryKey
public void setPrimaryKey(String primaryKey)
-
getPrimaryKey
public String getPrimaryKey()
-
setSRSName
public void setSRSName(SpatialReferenceSystemID srid)
Sets the SpatialReferenceSystem for a query. This is optional; whether it is required depends on the datastore implemention. Datastore drivers may set this themselves and override any user settings.- Parameters:
srid- the SpatialReferenceSystem ID
-
getSRSName
public SpatialReferenceSystemID getSRSName()
-
-