Uses of Interface
org.geotools.data.Query

Packages that use Query
org.geotools.data Defines the DataStoreAPI via which all data is imported or exported.  
org.geotools.data.collection   
org.geotools.data.db2   
org.geotools.data.dir Directory DataStore Overview This package represents the functionality required to chain datastores, ie. to represents a directory of mixed file types as a single datastore.  
org.geotools.data.hsql   
org.geotools.data.jdbc   
org.geotools.data.memory   
org.geotools.data.pickle   
org.geotools.data.postgis   
org.geotools.data.postgis.collection   
org.geotools.data.property   
org.geotools.data.shapefile   
org.geotools.data.shapefile.indexed   
org.geotools.data.store   
org.geotools.data.view   
org.geotools.data.wfs   
org.geotools.map List of layers to be rendered. 
 

Uses of Query in org.geotools.data
 

Classes in org.geotools.data that implement Query
 class DefaultQuery
          The query object is used by the FeatureSource.getFeatures() method of the DataSource interface, to encapsulate a request.
 

Fields in org.geotools.data declared as Query
protected  Query DefaultFeatureResults.query
          Query used to define this subset of features from the feature source
static Query Query.ALL
          Implements a query that will fetch all features from a datasource.
static Query Query.FIDS
          Implements a query that will fetch all the FeatureIDs from a datasource.
 

Methods in org.geotools.data that return Query
static Query DataUtilities.mixQueries(Query firstQuery, Query secondQuery, java.lang.String handle)
          Takes two Queryobjects and produce a new one by mixing the restrictions of both of them.
protected  Query AbstractFeatureSource.namedQuery(Query query)
          Ensure query modified with typeName.
 

Methods in org.geotools.data with parameters of type Query
 int AbstractFeatureLocking.lockFeatures(Query query)
          Lock features matching Query.
 void AbstractFeatureLocking.unLockFeatures(Query query)
          Unlock features specified by the query.
static Query DataUtilities.mixQueries(Query firstQuery, Query secondQuery, java.lang.String handle)
          Takes two Queryobjects and produce a new one by mixing the restrictions of both of them.
 FeatureCollection AbstractFeatureSource.getFeatures(Query query)
          Provides an interface to for the Results of a Query.
 com.vividsolutions.jts.geom.Envelope AbstractFeatureSource.getBounds(Query query)
          Retrieve Bounds of Query results.
protected  Query AbstractFeatureSource.namedQuery(Query query)
          Ensure query modified with typeName.
 int AbstractFeatureSource.getCount(Query query)
          Retrieve total number of Query results.
 FeatureSource AbstractDataStore.getView(Query query)
           
 FeatureReader AbstractDataStore.getFeatureReader(Query query, Transaction transaction)
           
protected  FeatureReader AbstractDataStore.getFeatureReader(java.lang.String typeName, Query query)
          GR: this method is called from inside getFeatureReader(Query ,Transaction ) to allow subclasses return an optimized FeatureReader wich supports the filter and attributes truncation specified in query A subclass that supports the creation of such an optimized FeatureReader shold override this method.
protected  com.vividsolutions.jts.geom.Envelope AbstractDataStore.getBounds(Query query)
          Computes the bounds of the features for the specified feature type that satisfy the query provided that there is a fast way to get that result.
protected  int AbstractDataStore.getCount(Query query)
          Gets the number of the features that would be returned by this query for the specified feature type.
 int FeatureLocking.lockFeatures(Query query)
          FeatureLock features described by Query.
 void FeatureLocking.unLockFeatures(Query query)
          Unlock Features denoted by provided query.
 FeatureSource DataStore.getView(Query query)
          Access a FeatureSource for Query providing a high-level API.
 FeatureReader DataStore.getFeatureReader(Query query, Transaction transaction)
          Access a FeatureReader providing access to Feature information.
 FeatureCollection FeatureSource.getFeatures(Query query)
          Loads features from the datasource into the returned FeatureResults, based on the passed query.
 com.vividsolutions.jts.geom.Envelope FeatureSource.getBounds(Query query)
          Gets the bounding box of the features that would be returned by this query.
 int FeatureSource.getCount(Query query)
          Gets the number of the features that would be returned by this query.
 

Constructors in org.geotools.data with parameters of type Query
DefaultQuery(Query query)
          Copy contructor, clones the state of a generic Query into a DefaultQuery
DefaultFeatureResults(FeatureSource source, Query query)
          FeatureResults query against featureSource.
 

Uses of Query in org.geotools.data.collection
 

Methods in org.geotools.data.collection with parameters of type Query
protected  com.vividsolutions.jts.geom.Envelope CollectionDataStore.getBounds(Query query)
           
protected  com.vividsolutions.jts.geom.Envelope CollectionDataStore.getBoundsInternal(Query query)
           
protected  int CollectionDataStore.getCount(Query query)
           
 

Uses of Query in org.geotools.data.db2
 

Methods in org.geotools.data.db2 with parameters of type Query
 com.vividsolutions.jts.geom.Envelope DB2FeatureSource.getBounds(Query query)
          Gets the bounds of the feature using the specified query.
 

Uses of Query in org.geotools.data.dir
 

Methods in org.geotools.data.dir with parameters of type Query
 FeatureSource DirectoryDataStore.getView(Query query)
           
 FeatureReader DirectoryDataStore.getFeatureReader(Query query, Transaction transaction)
           
 

Uses of Query in org.geotools.data.hsql
 

Methods in org.geotools.data.hsql with parameters of type Query
 FeatureReader HsqlDataStore.getFeatureReader(Query query, Transaction transaction)
          Provides a featureReader over the query results using the given transaction
 

Uses of Query in org.geotools.data.jdbc
 

Methods in org.geotools.data.jdbc with parameters of type Query
 int JDBCFeatureLocking.lockFeatures(Query query)
          Lock features matching Query.
 void JDBCFeatureLocking.unLockFeatures(Query query)
          Unlock features specified by the query.
 FeatureCollection JDBCFeatureSource.getFeatures(Query request)
          Provides an interface to for the Resutls of a Query.
 com.vividsolutions.jts.geom.Envelope JDBCFeatureSource.getBounds(Query query)
          Retrieve Bounds of Query results.
 int JDBCFeatureSource.getCount(Query query)
          Retrieve total number of Query results.
 int JDBCFeatureSource.count(Query query, Transaction transaction)
          Direct SQL query number of rows in query.
 FeatureSource JDBC1DataStore.getView(Query query)
           
 FeatureReader JDBC1DataStore.getFeatureReader(Query query, Transaction trans)
          The top level method for getting a FeatureReader.
 

Constructors in org.geotools.data.jdbc with parameters of type Query
JDBCFeatureCollection(JDBCFeatureSource source, Query query)
           
 

Uses of Query in org.geotools.data.memory
 

Methods in org.geotools.data.memory with parameters of type Query
protected  com.vividsolutions.jts.geom.Envelope MemoryDataStore.getBounds(Query query)
           
protected  int MemoryDataStore.getCount(Query query)
           
 

Uses of Query in org.geotools.data.pickle
 

Methods in org.geotools.data.pickle with parameters of type Query
protected  FeatureReader PickleDataStore.getFeatureReader(java.lang.String typeName, Query query)
           
 

Uses of Query in org.geotools.data.postgis
 

Methods in org.geotools.data.postgis with parameters of type Query
 java.lang.String PostgisFeatureStore.makeSql(SQLUnpacker unpacker, Query query)
          Creates a SQL statement for the PostGIS database.
 com.vividsolutions.jts.geom.Envelope PostgisFeatureStore.getBounds(Query query)
          Retrieve Bounds of Query results.
protected  com.vividsolutions.jts.geom.Envelope PostgisFeatureStore.bounds(Query query)
           
 int PostgisFeatureLocking.lockFeatures(Query query)
          Lock features matching Query.
 void PostgisFeatureLocking.unLockFeatures(Query query)
          Unlock features specified by the query.
 

Uses of Query in org.geotools.data.postgis.collection
 

Constructors in org.geotools.data.postgis.collection with parameters of type Query
PostgisFeatureCollection(JDBCFeatureSource arg0, Query arg1)
           
 

Uses of Query in org.geotools.data.property
 

Methods in org.geotools.data.property with parameters of type Query
 int PropertyFeatureSource.getCount(Query query)
           
 

Uses of Query in org.geotools.data.shapefile
 

Methods in org.geotools.data.shapefile with parameters of type Query
protected  FeatureReader ShapefileDataStore.getFeatureReader(java.lang.String typeName, Query query)
          Just like the basic version, but adds a small optimization: if no attributes are going to be read, don't uselessly open and read the dbf file.
protected  com.vividsolutions.jts.geom.Envelope ShapefileDataStore.getBounds(Query query)
           
protected  int ShapefileDataStore.getCount(Query query)
           
 

Uses of Query in org.geotools.data.shapefile.indexed
 

Methods in org.geotools.data.shapefile.indexed with parameters of type Query
protected  FeatureReader IndexedShapefileDataStore.getFeatureReader(java.lang.String typeName, Query query)
          Use the spatial index if available and adds a small optimization: if no attributes are going to be read, don't uselessly open and read the dbf file.
protected  com.vividsolutions.jts.geom.Envelope IndexedShapefileDataStore.getBounds(Query query)
           
protected  int IndexedShapefileDataStore.getCount(Query query)
           
 

Uses of Query in org.geotools.data.store
 

Methods in org.geotools.data.store with parameters of type Query
 FeatureSource AbstractDataStore2.getView(Query query)
          Create a FeatureSource that represents your Query.
 FeatureReader AbstractDataStore2.getFeatureReader(Query query, Transaction transaction)
          Access a FeatureReader providing access to Feature information.
 

Uses of Query in org.geotools.data.view
 

Methods in org.geotools.data.view with parameters of type Query
static FeatureSource DefaultView.create(FeatureSource source, Query query)
          Factory that make the correct decorator for the provided featureSource.
protected  DefaultQuery DefaultView.makeDefinitionQuery(Query query)
          Takes a query and adapts it to match re definitionQuery filter configured for a feature type.
 FeatureCollection DefaultView.getFeatures(Query query)
          Implement getFeatures.
 com.vividsolutions.jts.geom.Envelope DefaultView.getBounds(Query query)
          Retrive the extent of the Query.
 int DefaultView.getCount(Query query)
          Adjust query and forward to source.
 

Constructors in org.geotools.data.view with parameters of type Query
DefaultView(FeatureSource source, Query query)
          Creates a new GeoServerFeatureSource object.
 

Uses of Query in org.geotools.data.wfs
 

Methods in org.geotools.data.wfs with parameters of type Query
 com.vividsolutions.jts.geom.Envelope WFSFeatureSource.getBounds(Query query)
           
 FeatureCollection WFSFeatureSource.getFeatures(Query query)
           
protected  WFSFeatureReader WFSDataStore.getFeatureReaderGet(Query request, Transaction transaction)
           
protected  WFSFeatureReader WFSDataStore.getFeatureReaderPost(Query query, Transaction transaction)
           
protected  FeatureReader WFSDataStore.getFeatureReader(java.lang.String typeName, Query query)
           
 FeatureReader WFSDataStore.getFeatureReader(Query query, Transaction transaction)
           
protected  com.vividsolutions.jts.geom.Envelope WFSDataStore.getBounds(Query query)
           
 

Constructors in org.geotools.data.wfs with parameters of type Query
WFSFeatureSource.WFSFeatureResults(WFSFeatureSource fs, Query query)
           
 

Uses of Query in org.geotools.map
 

Fields in org.geotools.map declared as Query
protected  Query DefaultMapLayer.query
          The query to limit the number of rendered features based on its filter
 

Methods in org.geotools.map that return Query
 Query DefaultMapLayer.getQuery()
          Returns the definition query established for this layer.
 Query MapLayer.getQuery()
          Returns the definition query (filter) for this layer.
 

Methods in org.geotools.map with parameters of type Query
 void DefaultMapLayer.setQuery(Query query)
          Sets a definition query for this layer.
 void MapLayer.setQuery(Query query)
          Sets a definition query for the layer wich acts as a filter for the features that the layer will draw.
 



Copyright © GeoTools. All Rights Reserved.