Package org.geotools.data.complex
Class IndexQueryManager
- Object
-
- IndexQueryManager
-
- Direct Known Subclasses:
IndexQueryManager.PartialIndexQueryManager
public class IndexQueryManager extends Object
Manages unrolled Query indexes and partial indexes- Author:
- Fernando MiƱo, Geosolutions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexQueryManager.PartialIndexQueryManager
Partial Indexed Query management/transform/utilsstatic class
IndexQueryManager.QueryIndexCoverage
-
Field Summary
Fields Modifier and Type Field Description protected FilterFactory
ff
protected FeatureTypeMapping
mapping
protected Query
query
-
Constructor Summary
Constructors Constructor Description IndexQueryManager(FeatureTypeMapping mapping, Query query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexQueryManager.QueryIndexCoverage
getIndexMode()
Returns the IndexMode usage mode to use for current Queryprotected boolean
hasIndex(String propertyName)
boolean
isIndexDrivenIteratorCase()
-
-
-
Field Detail
-
mapping
protected final FeatureTypeMapping mapping
-
query
protected final Query query
-
ff
protected FilterFactory ff
-
-
Constructor Detail
-
IndexQueryManager
public IndexQueryManager(FeatureTypeMapping mapping, Query query)
-
-
Method Detail
-
isIndexDrivenIteratorCase
public boolean isIndexDrivenIteratorCase()
-
getIndexMode
public IndexQueryManager.QueryIndexCoverage getIndexMode()
Returns the IndexMode usage mode to use for current QueryQueryIndexMode.ALL: if all filter and sort attributes are indexed QueryIndexMode.PARTIAL: if at least one filter attribute is indexed, all sort attributes indexed QueryIndexMode.NONE: If no one of previous conditions are accomplished
- Returns:
- QueryIndexMode
-
hasIndex
protected boolean hasIndex(String propertyName)
-
-