Uses of Class
org.geotools.api.data.Query
-
-
Uses of Query in org.geotools.api.data
Fields in org.geotools.api.data declared as Query Modifier and Type Field Description 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.api.data with parameters of type Query Modifier and Type Method Description ReferencedEnvelope
FeatureSource. getBounds(Query query)
Get the spatial bounds of the features that would be returned by the givenQuery
.int
FeatureSource. getCount(Query query)
Gets the number of the features that would be returned by the givenQuery
, taking into account any settings for max features and start index set on theQuery
.FeatureReader<SimpleFeatureType,SimpleFeature>
DataStore. getFeatureReader(Query query, Transaction transaction)
Gets aFeatureReader
for features selected by the givenQuery
.FeatureCollection<T,F>
FeatureSource. getFeatures(Query query)
Retrieves features, in the form of aFeatureCollection
, based on aQuery
.SimpleFeatureCollection
SimpleFeatureSource. getFeatures(Query query)
SimpleFeatureCollection
SimpleFeatureStore. getFeatures(Query query)
CloseableIterator<FileGroupProvider.FileGroup>
FileGroupProvider. getFiles(Query query)
ReturnFileGroupProvider.FileGroup
s matching the specified query (if any).CloseableIterator<FileGroupProvider.FileGroup>
FileResourceInfo. getFiles(Query query)
FileGroupProvider
providing resource content.CloseableIterator<FileGroupProvider.FileGroup>
FileServiceInfo. getFiles(Query query)
FileGroupProvider
providing info content.int
FeatureLocking. lockFeatures(Query query)
FeatureLock features described by Query.void
FeatureLocking. unLockFeatures(Query query)
Unlock Features denoted by provided query.Constructors in org.geotools.api.data with parameters of type Query Constructor Description Query(Query query)
Copy contructor. -
Uses of Query in org.geotools.appschema.jdbc
Methods in org.geotools.appschema.jdbc that return Query Modifier and Type Method Description protected Query
JoiningJDBCFeatureSource. joinQuery(Query query)
protected Query
JoiningJDBCFeatureSource. resolvePropertyNames(Query query)
Methods in org.geotools.appschema.jdbc with parameters of type Query Modifier and Type Method Description protected int
JoiningJDBCFeatureSource. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
JoiningJDBCFeatureSource. getReaderInternal(Query query)
protected Query
JoiningJDBCFeatureSource. joinQuery(Query query)
protected Query
JoiningJDBCFeatureSource. resolvePropertyNames(Query query)
-
Uses of Query in org.geotools.appschema.resolver.data
Methods in org.geotools.appschema.resolver.data with parameters of type Query Modifier and Type Method Description ReferencedEnvelope
SampleDataAccessFeatureSource. getBounds(Query query)
Not yet implemented.int
SampleDataAccessFeatureSource. getCount(Query query)
Not yet implemented.FeatureCollection<FeatureType,Feature>
SampleDataAccessFeatureSource. getFeatures(Query query)
Not yet implemented. -
Uses of Query in org.geotools.appschema.util
Methods in org.geotools.appschema.util with parameters of type Query Modifier and Type Method Description static List<String>
IndexQueryUtils. getAttributesOnSort(Query query)
Extracts List of Sort attributes names from Query -
Uses of Query in org.geotools.coverage.grid.io
Methods in org.geotools.coverage.grid.io that return Query Modifier and Type Method Description protected Query
RenamingGranuleSource. renameQuery(Query q)
Methods in org.geotools.coverage.grid.io with parameters of type Query Modifier and Type Method Description ReferencedEnvelope
GranuleSource. getBounds(Query q)
Get the spatial bounds of the granules that would be returned by the givenQuery
.ReferencedEnvelope
RenamingGranuleSource. getBounds(Query q)
int
GranuleSource. getCount(Query q)
Gets the number of the granules that would be returned by the givenQuery
, taking into account any settings for max features and start index set on theQuery
.int
RenamingGranuleSource. getCount(Query q)
SimpleFeatureCollection
GranuleSource. getGranules(Query q)
Retrieves granules, in the form of aSimpleFeatureCollection
, based on aQuery
.SimpleFeatureCollection
RenamingGranuleSource. getGranules(Query q)
protected Query
RenamingGranuleSource. renameQuery(Query q)
-
Uses of Query in org.geotools.coverage.io.catalog
Methods in org.geotools.coverage.io.catalog with parameters of type Query Modifier and Type Method Description void
CoverageSlicesCatalog. computeAggregateFunction(Query query, FeatureCalc function)
void
CoverageSlicesCatalog.WrappedCoverageSlicesCatalog. computeAggregateFunction(Query query, FeatureCalc function)
ReferencedEnvelope
CoverageSlicesCatalogSource. getBounds(Query q)
int
CoverageSlicesCatalogSource. getCount(Query q)
List<CoverageSlice>
CoverageSlicesCatalog. getGranules(Query q)
List<CoverageSlice>
CoverageSlicesCatalog.WrappedCoverageSlicesCatalog. getGranules(Query q)
SimpleFeatureCollection
CoverageSlicesCatalogSource. getGranules(Query q)
-
Uses of Query in org.geotools.data
Fields in org.geotools.data declared as Query Modifier and Type Field Description protected Query
DefaultFeatureResults. query
Query used to define this subset of features from the feature sourceMethods in org.geotools.data that return Query Modifier and Type Method Description static Query
DataUtilities. mixQueries(Query firstQuery, Query secondQuery, String handle)
Takes twoQuery
objects and produce a new one by mixing the restrictions of both of them.static Query
DataUtilities. resolvePropertyNames(Query query, SimpleFeatureType schema)
This method changes the query object so that all propertyName references are resolved to simple attribute names against the schema of the feature source.static Query
DataUtilities. simplifyFilter(Query query)
This method changes the query object by simplifying the filter using SimplifyingFilterVisitorMethods in org.geotools.data with parameters of type Query Modifier and Type Method Description static SimpleFeatureSource
DataUtilities. createView(DataStore store, Query query)
Return a 'view' of the givenDataStore
constrained by aQuery
.static SimpleFeatureSource
DataUtilities. createView(SimpleFeatureSource source, Query query)
Return a 'view' of the givenFeatureSource
constrained by aQuery
.CloseableIterator<FileGroupProvider.FileGroup>
DefaultFileResourceInfo. getFiles(Query query)
Default implementation will ignore the specified query.CloseableIterator<FileGroupProvider.FileGroup>
DefaultFileServiceInfo. getFiles(Query query)
Default implementation will ignore the specified query.static Query
DataUtilities. mixQueries(Query firstQuery, Query secondQuery, String handle)
Takes twoQuery
objects and produce a new one by mixing the restrictions of both of them.static Query
DataUtilities. resolvePropertyNames(Query query, SimpleFeatureType schema)
This method changes the query object so that all propertyName references are resolved to simple attribute names against the schema of the feature source.static Query
DataUtilities. simplifyFilter(Query query)
This method changes the query object by simplifying the filter using SimplifyingFilterVisitorConstructors in org.geotools.data with parameters of type Query Constructor Description DefaultFeatureResults(SimpleFeatureSource 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 Modifier and Type Method Description ReferencedEnvelope
CollectionFeatureSource. getBounds(Query query)
ReferencedEnvelope
SpatialIndexFeatureSource. getBounds(Query query)
int
CollectionFeatureSource. getCount(Query query)
int
SpatialIndexFeatureSource. getCount(Query query)
SimpleFeatureCollection
CollectionFeatureSource. getFeatures(Query query)
SimpleFeatureCollection
SpatialIndexFeatureSource. getFeatures(Query query)
Constructors in org.geotools.data.collection with parameters of type Query Constructor Description SubCollection(Query query, SimpleFeatureCollection features)
-
Uses of Query in org.geotools.data.complex
Fields in org.geotools.data.complex declared as Query Modifier and Type Field Description protected Query
AbstractMappingFeatureIterator. query
protected Query
IndexedMappingFeatureIterator. query
protected Query
IndexedMappingFeatureIteratorFactory. query
protected Query
IndexQueryManager. query
Methods in org.geotools.data.complex that return Query Modifier and Type Method Description Query
IndexQueryManager.PartialIndexQueryManager. buildCombinedQuery(List<String> ids)
Query
IndexQueryManager.PartialIndexQueryManager. buildCombinedQuery(FeatureCollection<? extends FeatureType,? extends Feature> featureCollection)
Query
IndexQueryManager.PartialIndexQueryManager. getIndexQuery()
Query
MappingFeatureCollection. getQuery()
protected Query
AbstractMappingFeatureIterator. getUnrolledQuery(Query query)
Return a query appropriate to its underlying feature source.protected Query
IndexedMappingFeatureIterator. transformQueryToIdsOnly()
Convert query to retrieve only id field, no other fieldsprotected Query
PartialIndexedMappingFeatureIterator. transformQueryToIdsOnly()
Build the query for execute on index source partial Implementation manages pagination by itself, so remove bounds from queryprotected Query
IndexedMappingFeatureIterator. unrollIndexes(Query query)
Query
AppSchemaDataAccess. unrollQuery(Query query, FeatureTypeMapping mapping)
Creates aorg.geotools.api.data.Query
that operates over the surrogate DataStore, by unrolling theorg.geotools.filter.Filter
contained in the passedquery
, and replacing the list of required attributes by the ones of the mapped FeatureType.Methods in org.geotools.data.complex with parameters of type Query Modifier and Type Method Description protected ReferencedEnvelope
AppSchemaDataAccess. 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.ReferencedEnvelope
MappingFeatureSource. getBounds(Query query)
protected int
AppSchemaDataAccess. getCount(Query targetQuery)
Gets the number of the features that would be returned by this query for the specified feature type.int
MappingFeatureSource. getCount(Query query)
FeatureCollection<FeatureType,Feature>
MappingFeatureSource. getFeatures(Query query)
static IMappingFeatureIterator
MappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter)
static IMappingFeatureIterator
MappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction)
static IMappingFeatureIterator
MappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, boolean indexEnable)
protected Query
AbstractMappingFeatureIterator. getUnrolledQuery(Query query)
Return a query appropriate to its underlying feature source.protected abstract void
AbstractMappingFeatureIterator. initialiseSourceFeatures(FeatureTypeMapping mapping, Query query, CoordinateReferenceSystem crs)
protected void
DataAccessMappingFeatureIterator. initialiseSourceFeatures(FeatureTypeMapping mapping, Query query, CoordinateReferenceSystem targetCRS)
protected Query
IndexedMappingFeatureIterator. unrollIndexes(Query query)
Query
AppSchemaDataAccess. unrollQuery(Query query, FeatureTypeMapping mapping)
Creates aorg.geotools.api.data.Query
that operates over the surrogate DataStore, by unrolling theorg.geotools.filter.Filter
contained in the passedquery
, and replacing the list of required attributes by the ones of the mapped FeatureType. -
Uses of Query in org.geotools.data.complex.spi
Methods in org.geotools.data.complex.spi with parameters of type Query Modifier and Type Method Description DataAccessMappingFeatureIterator
CustomSourceDataStore. buildIterator(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction)
Allows a data store to build its own iterator that will be used by App-Schema core to retrieve the necessary attributes from the data store to build the mapped feature types. -
Uses of Query in org.geotools.data.csv
Methods in org.geotools.data.csv with parameters of type Query Modifier and Type Method Description protected ReferencedEnvelope
CSVFeatureSource. getBoundsInternal(Query query)
protected ReferencedEnvelope
CSVFeatureStore. getBoundsInternal(Query query)
protected int
CSVFeatureSource. getCountInternal(Query query)
protected int
CSVFeatureStore. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
CSVFeatureSource. getReaderInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
CSVFeatureStore. getReaderInternal(Query query)
protected FeatureWriter<SimpleFeatureType,SimpleFeature>
CSVFeatureStore. getWriterInternal(Query query, int flags)
Constructors in org.geotools.data.csv with parameters of type Query Constructor Description CSVFeatureReader(CSVStrategy csvStrategy, Query query)
CSVFeatureSource(CSVDataStore datastore, Query query)
CSVFeatureSource(ContentEntry entry, Query query)
CSVFeatureStore(CSVStrategy csvStrategy, CSVFileState csvFileState, ContentEntry entry, Query query)
CSVFeatureWriter(CSVFileState csvFileState, CSVStrategy csvStrategy, Query query)
-
Uses of Query in org.geotools.data.directory
Methods in org.geotools.data.directory with parameters of type Query Modifier and Type Method Description ReferencedEnvelope
DirectoryFeatureSource. getBounds(Query query)
int
DirectoryFeatureSource. getCount(Query query)
FeatureReader<SimpleFeatureType,SimpleFeature>
DirectoryDataStore. getFeatureReader(Query query, Transaction transaction)
SimpleFeatureCollection
DirectoryFeatureSource. getFeatures(Query query)
int
DirectoryFeatureLocking. lockFeatures(Query query)
void
DirectoryFeatureLocking. unLockFeatures(Query query)
-
Uses of Query in org.geotools.data.gen
Methods in org.geotools.data.gen that return Query Modifier and Type Method Description protected Query
PreGeneralizedFeatureSource. getProxyObject(Query query, SimpleFeatureSource fs, Generalization di)
Methods in org.geotools.data.gen with parameters of type Query Modifier and Type Method Description ReferencedEnvelope
PreGeneralizedFeatureSource. getBounds(Query query)
int
PreGeneralizedFeatureSource. getCount(Query query)
FeatureReader<SimpleFeatureType,SimpleFeature>
PreGeneralizedDataStore. getFeatureReader(Query query, Transaction transaction)
FeatureReader<SimpleFeatureType,SimpleFeature>
PreGeneralizedFeatureSource. getFeatureReader(Query query, Transaction transaction)
SimpleFeatureCollection
PreGeneralizedFeatureSource. getFeatures(Query query)
protected Query
PreGeneralizedFeatureSource. getProxyObject(Query query, SimpleFeatureSource fs, Generalization di)
-
Uses of Query in org.geotools.data.geojson.store
Methods in org.geotools.data.geojson.store with parameters of type Query Modifier and Type Method Description protected ReferencedEnvelope
GeoJSONFeatureSource. getBoundsInternal(Query query)
protected ReferencedEnvelope
GeoJSONFeatureStore. getBoundsInternal(Query query)
protected int
GeoJSONFeatureSource. getCountInternal(Query query)
protected int
GeoJSONFeatureStore. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
GeoJSONFeatureSource. getReaderInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
GeoJSONFeatureStore. getReaderInternal(Query query)
protected FeatureWriter<SimpleFeatureType,SimpleFeature>
GeoJSONFeatureStore. getWriterInternal(Query query, int flags)
protected boolean
GeoJSONFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
Constructors in org.geotools.data.geojson.store with parameters of type Query Constructor Description GeoJSONFeatureReader(ContentState contentState, Query query)
GeoJSONFeatureSource(GeoJSONDataStore datastore, Query query)
GeoJSONFeatureSource(ContentEntry entry, Query query)
GeoJSONFeatureStore(ContentEntry entry, Query query)
GeoJSONFeatureWriter(ContentEntry entry, Query query)
-
Uses of Query in org.geotools.data.graticule
Methods in org.geotools.data.graticule with parameters of type Query Modifier and Type Method Description protected ReferencedEnvelope
GraticuleFeatureSource. getBoundsInternal(Query query)
protected int
GraticuleFeatureSource. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
GraticuleFeatureSource. getReaderInternal(Query query)
Constructors in org.geotools.data.graticule with parameters of type Query Constructor Description GraticuleFeatureReader(GraticuleFeatureSource fs, Query query)
-
Uses of Query in org.geotools.data.hana
Methods in org.geotools.data.hana with parameters of type Query Modifier and Type Method Description void
HanaDialect. handleSelectHints(StringBuffer sql, SimpleFeatureType featureType, Query query)
-
Uses of Query in org.geotools.data.joining
Subclasses of Query in org.geotools.data.joining Modifier and Type Class Description class
JoiningQuery
Special Query that includes joining informationstatic class
JoiningQuery.QueryJoin
Fields in org.geotools.data.joining declared as Query Modifier and Type Field Description Query
JoiningNestedAttributeMapping.Instance. baseTableQuery
Methods in org.geotools.data.joining with parameters of type Query Modifier and Type Method Description void
JoiningNestedAttributeMapping. open(Object caller, Query baseTableQuery, FeatureTypeMapping mapping)
Open an instance (cursor) for a specific caller.Constructors in org.geotools.data.joining with parameters of type Query Constructor Description JoiningQuery(Query query)
-
Uses of Query in org.geotools.data.memory
Methods in org.geotools.data.memory with parameters of type Query Modifier and Type Method Description protected ContentFeatureSource
MemoryDataStore. createFeatureSource(ContentEntry entry, Query query)
protected ReferencedEnvelope
MemoryFeatureSource. getBoundsInternal(Query query)
protected ReferencedEnvelope
MemoryFeatureStore. getBoundsInternal(Query query)
protected int
MemoryFeatureSource. getCountInternal(Query query)
protected int
MemoryFeatureStore. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
MemoryFeatureSource. getReaderInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
MemoryFeatureStore. getReaderInternal(Query query)
protected FeatureWriter<SimpleFeatureType,SimpleFeature>
MemoryFeatureStore. getWriterInternal(Query query, int flags)
protected boolean
MemoryFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
protected boolean
MemoryFeatureStore. handleVisitor(Query query, FeatureVisitor visitor)
Constructors in org.geotools.data.memory with parameters of type Query Constructor Description MemoryFeatureReader(ContentState state, Query query)
MemoryFeatureSource(ContentEntry entry, Query query)
MemoryFeatureStore(ContentEntry entry, Query query)
MemoryFeatureWriter(MemoryState state, Query query)
-
Uses of Query in org.geotools.data.mongodb
Methods in org.geotools.data.mongodb with parameters of type Query Modifier and Type Method Description protected boolean
MongoFeatureSource. canFilter(Query query)
protected boolean
MongoFeatureStore. canFilter(Query query)
protected boolean
MongoFeatureSource. canLimit(Query query)
protected boolean
MongoFeatureStore. canLimit(Query query)
protected boolean
MongoFeatureSource. canOffset(Query query)
protected boolean
MongoFeatureStore. canOffset(Query query)
protected boolean
MongoFeatureSource. canRetype(Query query)
protected boolean
MongoFeatureStore. canRetype(Query query)
protected boolean
MongoFeatureSource. canSort(Query query)
protected boolean
MongoFeatureStore. canSort(Query query)
protected ReferencedEnvelope
MongoFeatureSource. getBoundsInternal(Query query)
protected ReferencedEnvelope
MongoFeatureStore. getBoundsInternal(Query query)
protected int
MongoFeatureSource. getCountInternal(Query query)
protected int
MongoFeatureStore. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
MongoFeatureSource. getReaderInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
MongoFeatureStore. getReaderInternal(Query query)
protected FeatureWriter<SimpleFeatureType,SimpleFeature>
MongoFeatureStore. getWriterInternal(Query query, int flags)
protected boolean
MongoFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
protected boolean
MongoFeatureStore. handleVisitor(Query query, FeatureVisitor visitor)
Constructors in org.geotools.data.mongodb with parameters of type Query Constructor Description MongoFeatureSource(ContentEntry entry, Query query, DBCollection collection)
MongoFeatureStore(ContentEntry entry, Query query, DBCollection collection)
-
Uses of Query in org.geotools.data.mongodb.complex
Methods in org.geotools.data.mongodb.complex with parameters of type Query Modifier and Type Method Description DataAccessMappingFeatureIterator
MongoComplexDataSource. buildIterator(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction)
-
Uses of Query in org.geotools.data.property
Methods in org.geotools.data.property with parameters of type Query Modifier and Type Method Description protected ReferencedEnvelope
PropertyFeatureSource. getBoundsInternal(Query query)
protected ReferencedEnvelope
PropertyFeatureStore. getBoundsInternal(Query query)
protected int
PropertyFeatureSource. getCountInternal(Query query)
protected int
PropertyFeatureStore. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
PropertyFeatureSource. getReaderInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
PropertyFeatureStore. getReaderInternal(Query query)
protected FeatureWriter<SimpleFeatureType,SimpleFeature>
PropertyFeatureStore. getWriterInternal(Query query, int flags)
protected boolean
PropertyFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
Make handleVisitor package visible allowing PropertyFeatureStore to delegate to this implementation.protected boolean
PropertyFeatureStore. handleVisitor(Query query, FeatureVisitor visitor)
Constructors in org.geotools.data.property with parameters of type Query Constructor Description PropertyFeatureSource(ContentEntry entry, Query query)
PropertyFeatureWriter(ContentFeatureSource source, ContentState contentState, Query query, boolean append)
-
Uses of Query in org.geotools.data.shapefile
Methods in org.geotools.data.shapefile with parameters of type Query Modifier and Type Method Description long
ShapefileDataStore. getCount(Query query)
-
Uses of Query in org.geotools.data.sort
Methods in org.geotools.data.sort with parameters of type Query Modifier and Type Method Description static int
SortedFeatureReader. getMaxFeaturesInMemory(Query q)
Gets the max amount amount of features to keep in memory from the query and system hintsConstructors in org.geotools.data.sort with parameters of type Query Constructor Description SortedFeatureReader(SimpleFeatureReader reader, Query query)
Builds a new sorting feature reader -
Uses of Query in org.geotools.data.sqlserver
Methods in org.geotools.data.sqlserver with parameters of type Query Modifier and Type Method Description void
SQLServerDialect. handleSelectHints(StringBuffer sql, SimpleFeatureType featureType, Query query)
-
Uses of Query in org.geotools.data.store
Fields in org.geotools.data.store declared as Query Modifier and Type Field Description protected Query
ContentFeatureCollection. query
protected Query
ContentFeatureSource. query
The query defining the feature sourceMethods in org.geotools.data.store that return Query Modifier and Type Method Description protected Query
ContentFeatureSource. joinQuery(Query query)
Convenience method for joining a query with the definining query of the feature source.protected Query
ContentFeatureSource. resolvePropertyNames(Query query)
This method changes the query object so that all propertyName references are resolved to simple attribute names against the schema of the feature source.Methods in org.geotools.data.store with parameters of type Query Modifier and Type Method Description void
ContentFeatureSource. accepts(Query query, FeatureVisitor visitor, ProgressListener progress)
Visit the features matching the provided query.protected boolean
ContentFeatureSource. canFilter(Query query)
Determines if the datastore can natively perform a filtering.protected boolean
ContentFeatureSource. canLimit(Query query)
Determines if the datastore can natively limit the number of features returned in a query.protected boolean
ContentFeatureSource. canOffset(Query query)
Determines if the datastore can natively skip the firstoffset
number of features returned in a query.protected boolean
ContentFeatureSource. canRetype(Query query)
Determines if the datastore can natively perform "retyping" which includes limiting the number of attributes returned and reordering of those attributesprotected boolean
ContentFeatureSource. canSort(Query query)
Determines if the datastore can natively perform sorting.ReferencedEnvelope
ContentFeatureSource. getBounds(Query query)
Returns the bounds of the results of the specified query against the feature source.protected abstract ReferencedEnvelope
ContentFeatureSource. getBoundsInternal(Query query)
Calculates the bounds of a specified query.int
ContentFeatureSource. getCount(Query query)
Returns the count of the number of features of the feature source.protected abstract int
ContentFeatureSource. getCountInternal(Query query)
Calculates the number of features of a specified query.FeatureReader<SimpleFeatureType,SimpleFeature>
ContentDataStore. getFeatureReader(Query query, Transaction tx)
Returns a feature reader for the specified query and transaction.FeatureReader<SimpleFeatureType,SimpleFeature>
DecoratingDataStore. getFeatureReader(Query query, Transaction transaction)
ContentFeatureCollection
ContentFeatureSource. getFeatures(Query query)
Returns the feature collection if the features of the feature source which meet the specified query criteria.FeatureReader<SimpleFeatureType,SimpleFeature>
ContentFeatureSource. getReader(Query query)
Returns a reader for the features specified by a query.protected abstract FeatureReader<SimpleFeatureType,SimpleFeature>
ContentFeatureSource. getReaderInternal(Query query)
Subclass method for returning a native reader from the datastore.ContentFeatureSource
ContentFeatureSource. getView(Query query)
Creates a new feature source for the specified query.FeatureWriter<SimpleFeatureType,SimpleFeature>
ContentFeatureStore. getWriter(Query query)
Returns a writer over features specified by a query.FeatureWriter<SimpleFeatureType,SimpleFeature>
ContentFeatureStore. getWriter(Query query, int flags)
Returns a writer over features specified by a query.protected abstract FeatureWriter<SimpleFeatureType,SimpleFeature>
ContentFeatureStore. getWriterInternal(Query query, int flags)
Subclass method for returning a native writer from the datastore.protected boolean
ContentFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
Subclass method which allows subclasses to natively handle a visitor.protected Query
ContentFeatureSource. joinQuery(Query query)
Convenience method for joining a query with the definining query of the feature source.int
ContentFeatureSource. lockFeatures(Query query)
Locks features specified by a query.protected Query
ContentFeatureSource. resolvePropertyNames(Query query)
This method changes the query object so that all propertyName references are resolved to simple attribute names against the schema of the feature source.void
ContentFeatureSource. unLockFeatures(Query query)
Unlocks features specified by a query.Constructors in org.geotools.data.store with parameters of type Query Constructor Description ContentFeatureCollection(ContentFeatureSource featureSource, Query query)
ContentFeatureSource(ContentEntry entry, Query query)
Creates the new feature source from a query.ContentFeatureStore(ContentEntry entry, Query query)
Creates the content feature store. -
Uses of Query in org.geotools.data.transform
Methods in org.geotools.data.transform with parameters of type Query Modifier and Type Method Description ReferencedEnvelope
TransformFeatureSource. getBounds(Query query)
int
TransformFeatureSource. getCount(Query query)
FeatureReader<SimpleFeatureType,SimpleFeature>
SingleFeatureSourceDataStore. getFeatureReader(Query query, Transaction transaction)
SimpleFeatureCollection
TransformFeatureSource. getFeatures(Query query)
int
TransformFeatureLocking. lockFeatures(Query query)
void
TransformFeatureLocking. unLockFeatures(Query query)
-
Uses of Query in org.geotools.data.view
Methods in org.geotools.data.view that return Query Modifier and Type Method Description protected Query
DefaultView. makeDefinitionQuery(Query query)
Takes a query and adapts it to match re definitionQuery filter configured for a feature type.Methods in org.geotools.data.view with parameters of type Query Modifier and Type Method Description static SimpleFeatureSource
DefaultView. create(SimpleFeatureSource source, Query query)
Factory that make the correct decorator for the provided featureSource.ReferencedEnvelope
DefaultView. getBounds(Query query)
Retrive the extent of the Query.int
DefaultView. getCount(Query query)
Adjust query and forward to source.SimpleFeatureCollection
DefaultView. getFeatures(Query query)
Implement getFeatures.protected Query
DefaultView. makeDefinitionQuery(Query query)
Takes a query and adapts it to match re definitionQuery filter configured for a feature type.Constructors in org.geotools.data.view with parameters of type Query Constructor Description DefaultView(SimpleFeatureSource source, Query query)
Creates a new GeoServerFeatureSource object. -
Uses of Query in org.geotools.data.vpf
Methods in org.geotools.data.vpf with parameters of type Query Modifier and Type Method Description protected ReferencedEnvelope
VPFCovFeatureSource. getBoundsInternal(Query query)
Implementation that generates the total bounds (many file formats record this information in the header)protected ReferencedEnvelope
VPFLibFeatureSource. getBoundsInternal(Query query)
Implementation that generates the total bounds (many file formats record this information in the header)protected int
VPFCovFeatureSource. getCountInternal(Query query)
protected int
VPFLibFeatureSource. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
VPFCovFeatureSource. getReaderInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
VPFLibFeatureSource. getReaderInternal(Query query)
Constructors in org.geotools.data.vpf with parameters of type Query Constructor Description VPFCovFeatureSource(VPFFeatureType featureType, ContentEntry entry, Query query)
VPFFeatureSource(ContentEntry entry, Query query)
VPFLibFeatureSource(ContentEntry entry, Query query)
-
Uses of Query in org.geotools.data.vpf.file
Methods in org.geotools.data.vpf.file with parameters of type Query Modifier and Type Method Description protected ReferencedEnvelope
VPFFileFeatureSource. getBoundsInternal(Query query)
Implementation that generates the total bounds (many file formats record this information in the header)protected int
VPFFileFeatureSource. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
VPFFileFeatureSource. getReaderInternal(Query query)
Constructors in org.geotools.data.vpf.file with parameters of type Query Constructor Description VPFFileFeatureSource(ContentEntry entry, Query query)
-
Uses of Query in org.geotools.data.wfs
Methods in org.geotools.data.wfs with parameters of type Query Modifier and Type Method Description protected GetFeatureRequest
WFSStoredQueryFeatureSource. createGetFeature(Query query, GetFeatureRequest.ResultType resultType)
-
Uses of Query in org.geotools.data.wfs.impl
Methods in org.geotools.data.wfs.impl with parameters of type Query Modifier and Type Method Description ReferencedEnvelope
WFSContentComplexFeatureSource. getBounds(Query query)
int
WFSContentComplexFeatureSource. getCount(Query query)
FeatureCollection<FeatureType,Feature>
WFSContentComplexFeatureSource. getFeatures(Query query)
Get features based on the query specified. -
Uses of Query in org.geotools.feature.simple
Methods in org.geotools.feature.simple with parameters of type Query Modifier and Type Method Description static SimpleFeatureType
SimpleFeatureTypeBuilder. retype(SimpleFeatureType original, Query query)
Create a SimpleFeatureType with the parameters and coordinate reference system of the query. -
Uses of Query in org.geotools.filter.function
Methods in org.geotools.filter.function that return Query Modifier and Type Method Description Query
RenderingTransformation. invertQuery(Query targetQuery, GridGeometry gridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the function This method will be called only if the input data is a feature collection.Methods in org.geotools.filter.function with parameters of type Query Modifier and Type Method Description GridGeometry
RenderingTransformation. invertGridGeometry(Query targetQuery, GridGeometry targetGridGeometry)
Given a target query and a target grid geometry returns the grid geometry to be used to read the input data of the function involved in rendering.Query
RenderingTransformation. invertQuery(Query targetQuery, GridGeometry gridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the function This method will be called only if the input data is a feature collection. -
Uses of Query in org.geotools.gce.imagemosaic
Methods in org.geotools.gce.imagemosaic that return Query Modifier and Type Method Description Query
FootprintsTransformation. invertQuery(Query targetQuery, GridGeometry gridGeometry)
Methods in org.geotools.gce.imagemosaic with parameters of type Query Modifier and Type Method Description CloseableIterator<FileGroupProvider.FileGroup>
ImageMosaicFileResourceInfo. getFiles(Query query)
GridGeometry
FootprintsTransformation. invertGridGeometry(Query targetQuery, GridGeometry targetGridGeometry)
Query
FootprintsTransformation. invertQuery(Query targetQuery, GridGeometry gridGeometry)
-
Uses of Query in org.geotools.gce.imagemosaic.catalog
Methods in org.geotools.gce.imagemosaic.catalog that return Query Modifier and Type Method Description protected Query
GranuleCatalog. mergeHints(Query q)
Merges the wrapper hints with the query ones, making sure not to overwrite the query onesQuery
LockingGranuleCatalog. mergeHints(Query q)
Methods in org.geotools.gce.imagemosaic.catalog with parameters of type Query Modifier and Type Method Description abstract void
GranuleCatalog. computeAggregateFunction(Query q, FeatureCalc function)
void
LockingGranuleCatalog. computeAggregateFunction(Query q, FeatureCalc function)
ReferencedEnvelope
GranuleCatalogSource. getBounds(Query q)
CatalogConfigurationBean
CatalogConfigurationBeans. getByTypeQuery(Query q)
Looks up the configurations considering both the query (looking for the COVERAGE_NAME hint) and falls back on the type name, if the first did not provide a matchint
GranuleCatalogSource. getCount(Query q)
void
CachingDataStoreGranuleCatalog. getGranuleDescriptors(Query q, GranuleCatalogVisitor visitor)
abstract void
GranuleCatalog. getGranuleDescriptors(Query q, GranuleCatalogVisitor visitor)
void
LockingGranuleCatalog. getGranuleDescriptors(Query q, GranuleCatalogVisitor visitor)
SimpleFeatureCollection
CachingDataStoreGranuleCatalog. getGranules(Query q)
SimpleFeatureCollection
CachingDataStoreGranuleCatalog. getGranules(Query q, Transaction t)
abstract SimpleFeatureCollection
GranuleCatalog. getGranules(Query q)
SimpleFeatureCollection
GranuleCatalog. getGranules(Query q, Transaction t)
SimpleFeatureCollection
GranuleCatalogSource. getGranules(Query q)
SimpleFeatureCollection
LockingGranuleCatalog. getGranules(Query q)
SimpleFeatureCollection
LockingGranuleCatalog. getGranules(Query q, Transaction t)
SimpleFeatureCollection
QueryCacheGranuleCatalog. getGranules(Query q)
SimpleFeatureCollection
QueryCacheGranuleCatalog. getGranules(Query q, Transaction t)
abstract int
GranuleCatalog. getGranulesCount(Query q)
int
LockingGranuleCatalog. getGranulesCount(Query q)
protected Query
GranuleCatalog. mergeHints(Query q)
Merges the wrapper hints with the query ones, making sure not to overwrite the query onesQuery
LockingGranuleCatalog. mergeHints(Query q)
int
CachingDataStoreGranuleCatalog. removeGranules(Query query)
int
CachingDataStoreGranuleCatalog. removeGranules(Query query, Transaction transaction)
abstract int
GranuleCatalog. removeGranules(Query query)
Deprecated.int
GranuleCatalog. removeGranules(Query query, Transaction transaction)
int
LockingGranuleCatalog. removeGranules(Query query)
int
LockingGranuleCatalog. removeGranules(Query query, Transaction transaction)
int
QueryCacheGranuleCatalog. removeGranules(Query query)
int
QueryCacheGranuleCatalog. removeGranules(Query query, Transaction transaction)
-
Uses of Query in org.geotools.gce.imagemosaic.catalog.oracle
Methods in org.geotools.gce.imagemosaic.catalog.oracle with parameters of type Query Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>
DataStoreWrapper. getFeatureReader(Query query, Transaction transaction)
-
Uses of Query in org.geotools.gce.imagemosaic.granulecollector
Methods in org.geotools.gce.imagemosaic.granulecollector with parameters of type Query Modifier and Type Method Description default void
SubmosaicProducer. init(Query query)
Gives the producer an opportunity to pre-visit the granules, if it needs so for any reason -
Uses of Query in org.geotools.imageio
Methods in org.geotools.imageio with parameters of type Query Modifier and Type Method Description List<Integer>
GeoSpatialImageReader. getImageIndex(Query filterQuery)
Return the list of imageIndex related to the feature in the slicesCatalog which result from the specified query. -
Uses of Query in org.geotools.jdbc
Fields in org.geotools.jdbc declared as Query Modifier and Type Field Description protected Query
JDBCFeatureReader. query
the queryMethods in org.geotools.jdbc that return Query Modifier and Type Method Description Query
JDBCFeatureReader. getQuery()
Methods in org.geotools.jdbc with parameters of type Query Modifier and Type Method Description void
JDBCDataStore. applyLimitOffset(StringBuffer sql, Query query)
Applies the limit/offset elements to the query if they are specified and if the dialect supports themprotected boolean
JDBCFeatureSource. canFilter(Query query)
protected boolean
JDBCFeatureStore. canFilter(Query query)
protected boolean
JDBCFeatureSource. canLimit(Query query)
protected boolean
JDBCFeatureStore. canLimit(Query query)
protected boolean
JDBCFeatureSource. canOffset(Query query)
protected boolean
JDBCFeatureStore. canOffset(Query query)
protected boolean
JDBCFeatureSource. canRetype(Query query)
protected boolean
JDBCFeatureStore. canRetype(Query query)
protected boolean
JDBCFeatureSource. canSort(Query query)
protected boolean
JDBCFeatureStore. canSort(Query query)
static JoinInfo
JoinInfo. create(Query query, SimpleFeatureType featureType, JDBCDataStore dataStore)
static JoinInfo
JoinInfo. create(Query query, JDBCFeatureSource featureSource)
protected void
JDBCDataStore. encodeTableJoin(SimpleFeatureType featureType, JoinInfo join, Query query, StringBuffer sql)
Helper method to encode the join clause(s) of a query.protected Object
JDBCDataStore. getAggregateValue(FeatureVisitor visitor, SimpleFeatureType featureType, Query query, Connection cx)
Results the value of an aggregate function over a query.protected ReferencedEnvelope
JDBCDataStore. getBounds(SimpleFeatureType featureType, Query query, Connection cx)
Returns the bounds of the features for a particular feature type / table.protected ReferencedEnvelope
JDBCFeatureSource. getBoundsInternal(Query query)
protected ReferencedEnvelope
JDBCFeatureStore. getBoundsInternal(Query query)
protected int
JDBCDataStore. getCount(SimpleFeatureType featureType, Query query, Connection cx)
Returns the count of the features for a particular feature type / table.protected int
JDBCFeatureSource. getCountInternal(Query query)
protected int
JDBCFeatureStore. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
JDBCFeatureSource. getReaderInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
JDBCFeatureStore. getReaderInternal(Query query)
protected FeatureWriter<SimpleFeatureType,SimpleFeature>
JDBCFeatureStore. getWriterInternal(Query query, int flags)
void
SQLDialect. handleSelectHints(StringBuffer sql, SimpleFeatureType featureType, Query query)
Used to apply search hints on the fully generated SQL (complete of select, from, where, sort, limit/offset)protected boolean
JDBCFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
protected boolean
JDBCFeatureStore. handleVisitor(Query query, FeatureVisitor visitor)
protected void
JDBCFeatureReader. init(JDBCFeatureSource featureSource, SimpleFeatureType featureType, Query query)
protected String
JDBCDataStore. selectAggregateSQL(String function, List<Expression> attributes, List<Expression> groupByExpressions, SimpleFeatureType featureType, Query query, LimitingVisitor visitor)
protected PreparedStatement
JDBCDataStore. selectAggregateSQLPS(String function, List<Expression> attributes, List<Expression> groupByExpressions, SimpleFeatureType featureType, Query query, LimitingVisitor visitor, Connection cx)
protected String
JDBCDataStore. selectBoundsSQL(SimpleFeatureType featureType, Query query)
Generates a 'SELECT' sql statement which selects bounds.protected PreparedStatement
JDBCDataStore. selectBoundsSQLPS(SimpleFeatureType featureType, Query query, Connection cx)
Generates a 'SELECT' prepared statement which selects bounds.protected String
JDBCDataStore. selectJoinSQL(SimpleFeatureType featureType, JoinInfo join, Query query)
protected PreparedStatement
JDBCDataStore. selectJoinSQLPS(SimpleFeatureType featureType, JoinInfo join, Query query, Connection cx)
protected String
JDBCDataStore. selectSQL(SimpleFeatureType featureType, Query query)
Generates a 'SELECT p1, p2, ...protected PreparedStatement
JDBCDataStore. selectSQLPS(SimpleFeatureType featureType, Query query, Connection cx)
Generates a 'SELECT p1, p2, ...static Hints
VirtualTable. setKeepWhereClausePlaceHolderHint(Query query)
If the provided query has a filter of a where clause place holder exists it will be preserved. -
Uses of Query in org.geotools.map
Fields in org.geotools.map declared as Query Modifier and Type Field Description protected Query
FeatureLayer. query
Query use to limit content of featureSourceMethods in org.geotools.map that return Query Modifier and Type Method Description Query
FeatureLayer. getQuery()
Returns the definition query (filter) for this layer.Query
Layer. getQuery()
The definition query (including filter) for this layer, orQuery.ALL
if no definition query has been provided by the user.Methods in org.geotools.map with parameters of type Query Modifier and Type Method Description void
FeatureLayer. setQuery(Query query)
Sets a definition query for the layer which acts as a filter for the features that the layer will draw. -
Uses of Query in org.geotools.process
Methods in org.geotools.process that return Query Modifier and Type Method Description Query
RenderingProcess. invertQuery(Map<String,Object> input, Query targetQuery, GridGeometry gridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the process involved in rendering.Methods in org.geotools.process with parameters of type Query Modifier and Type Method Description GridGeometry
RenderingProcess. invertGridGeometry(Map<String,Object> input, Query targetQuery, GridGeometry targetGridGeometry)
Given a target query and a target grid geometry returns the grid geometry to be used to read the input data of the process involved in rendering.Query
RenderingProcess. invertQuery(Map<String,Object> input, Query targetQuery, GridGeometry gridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the process involved in rendering. -
Uses of Query in org.geotools.process.vector
Methods in org.geotools.process.vector that return Query Modifier and Type Method Description Query
BarnesSurfaceProcess. invertQuery(Double argQueryBuffer, Query targetQuery, GridGeometry targetGridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the process involved in rendering.Query
GroupCandidateSelectionProcess. invertQuery(String operationAttribute, List<String> groupingAttributes, Query targetQuery, GridGeometry gridGeometry)
Query
HeatmapProcess. invertQuery(Integer argRadiusPixels, ReferencedEnvelope argOutputEnv, Integer argOutputWidth, Integer argOutputHeight, Query targetQuery, GridGeometry targetGridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the process involved in rendering.Methods in org.geotools.process.vector with parameters of type Query Modifier and Type Method Description Query
BarnesSurfaceProcess. invertQuery(Double argQueryBuffer, Query targetQuery, GridGeometry targetGridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the process involved in rendering.Query
GroupCandidateSelectionProcess. invertQuery(String operationAttribute, List<String> groupingAttributes, Query targetQuery, GridGeometry gridGeometry)
Query
HeatmapProcess. invertQuery(Integer argRadiusPixels, ReferencedEnvelope argOutputEnv, Integer argOutputWidth, Integer argOutputHeight, Query targetQuery, GridGeometry targetGridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the process involved in rendering. -
Uses of Query in org.geotools.renderer.lite
Methods in org.geotools.renderer.lite with parameters of type Query Modifier and Type Method Description Object
RenderingTransformationHelper. applyRenderingTransformation(Expression transformation, FeatureSource featureSource, Query layerQuery, Query renderingQuery, GridGeometry2D gridGeometry, CoordinateReferenceSystem sourceCrs, RenderingHints hints)
-
Uses of Query in org.geotools.stac.store
Methods in org.geotools.stac.store with parameters of type Query Modifier and Type Method Description protected boolean
STACFeatureSource. canFilter(Query query)
protected boolean
STACFeatureSource. canLimit(Query query)
protected boolean
STACFeatureSource. canRetype(Query query)
protected boolean
STACFeatureSource. canSort(Query query)
protected ReferencedEnvelope
STACFeatureSource. getBoundsInternal(Query query)
protected int
STACFeatureSource. getCountInternal(Query query)
protected FeatureReader<SimpleFeatureType,SimpleFeature>
STACFeatureSource. getReaderInternal(Query query)
protected boolean
STACFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
-
Uses of Query in org.geotools.vectormosaic
Methods in org.geotools.vectormosaic with parameters of type Query Modifier and Type Method Description protected boolean
VectorMosaicFeatureSource. canFilter(Query query)
protected boolean
VectorMosaicFeatureSource. canRetype(Query query)
protected ReferencedEnvelope
VectorMosaicFeatureSource. getBoundsInternal(Query query)
protected int
VectorMosaicFeatureSource. getCountInternal(Query query)
Counts the matching granules by delegating to the underlying granule stores.protected FeatureReader<SimpleFeatureType,SimpleFeature>
VectorMosaicFeatureSource. getReaderInternal(Query query)
protected Filter
VectorMosaicFeatureSource. getSplitFilter(Query query, DataStore dataStore, String typeName, boolean isDelegate)
protected boolean
VectorMosaicFeatureSource. handleVisitor(Query query, FeatureVisitor visitor)
-