com.vividsolutions.jump.datastore
Class FilterQuery

java.lang.Object
  extended bycom.vividsolutions.jump.datastore.FilterQuery
All Implemented Interfaces:
Query

public class FilterQuery
extends java.lang.Object
implements Query

A spatial filter Query on a DataStoreConnection.


Constructor Summary
FilterQuery()
           
 
Method Summary
 java.lang.String getCondition()
           
 java.lang.String getDatasetName()
           
 com.vividsolutions.jts.geom.Geometry getFilterGeometry()
           
 java.lang.String getGeometryAttributeName()
           
 java.lang.String[] getPropertyNames()
           
 SpatialReferenceSystemID getSRSName()
           
 void setCondition(java.lang.String condition)
           
 void setDatasetName(java.lang.String datasetName)
           
 void setFilterGeometry(com.vividsolutions.jts.geom.Geometry geom)
           
 void setGeometryAttributeName(java.lang.String geomAttrName)
           
 void setPropertyNames(java.lang.String[] propertyNames)
           
 void setSRSName(SpatialReferenceSystemID srid)
          Sets the SpatialReferenceSystem for a query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterQuery

public FilterQuery()
Method Detail

setDatasetName

public void setDatasetName(java.lang.String datasetName)

getDatasetName

public java.lang.String getDatasetName()

setPropertyNames

public void setPropertyNames(java.lang.String[] propertyNames)

getPropertyNames

public java.lang.String[] getPropertyNames()

setFilterGeometry

public void setFilterGeometry(com.vividsolutions.jts.geom.Geometry geom)

getFilterGeometry

public com.vividsolutions.jts.geom.Geometry getFilterGeometry()

setCondition

public void setCondition(java.lang.String condition)

getCondition

public java.lang.String getCondition()

setGeometryAttributeName

public void setGeometryAttributeName(java.lang.String geomAttrName)

getGeometryAttributeName

public java.lang.String getGeometryAttributeName()

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()