Class FeatureIndexManager
- java.lang.Object
-
- mil.nga.geopackage.features.index.FeatureIndexManager
-
public class FeatureIndexManager extends Object
Feature Index Manager to manage indexing of feature geometries in both Android metadata and within a GeoPackage using the Geometry Index Extension- Since:
- 1.1.0
- See Also:
FeatureIndexer,FeatureTableIndex
-
-
Constructor Summary
Constructors Constructor Description FeatureIndexManager(Context context, GeoPackage geoPackage, String featureTable)ConstructorFeatureIndexManager(Context context, GeoPackage geoPackage, FeatureDao featureDao)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the index connectionslongcount()Query for all feature index countlongcount(boolean distinct, String column)Query for all feature index countlongcount(boolean distinct, String column, String where)Query for feature index countlongcount(boolean distinct, String column, String where, String[] whereArgs)Query for feature index countlongcount(boolean distinct, String column, Map<String,Object> fieldValues)Query for feature index countlongcount(boolean distinct, String column, BoundingBox boundingBox)Query for feature index count within the bounding box, projected correctlylongcount(boolean distinct, String column, BoundingBox boundingBox, String where)Query for feature index count within the bounding box, projected correctlylongcount(boolean distinct, String column, BoundingBox boundingBox, String where, String[] whereArgs)Query for feature index count within the bounding box, projected correctlylongcount(boolean distinct, String column, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for feature index count within the bounding box, projected correctlylongcount(boolean distinct, String column, BoundingBox boundingBox, Projection projection)Query for feature index count within the bounding box in the provided projectionlongcount(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where)Query for feature index count within the bounding box in the provided projectionlongcount(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for feature index count within the bounding box in the provided projectionlongcount(boolean distinct, String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for feature index count within the bounding box in the provided projectionlongcount(boolean distinct, String column, GeometryEnvelope envelope)Query for feature index count within the Geometry Envelopelongcount(boolean distinct, String column, GeometryEnvelope envelope, String where)Query for feature index count within the Geometry Envelopelongcount(boolean distinct, String column, GeometryEnvelope envelope, String where, String[] whereArgs)Query for feature index count within the Geometry Envelopelongcount(boolean distinct, String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for feature index count within the Geometry Envelopelongcount(String where)Query for feature index countlongcount(String column, String where)Query for feature index countlongcount(String where, String[] whereArgs)Query for feature index countlongcount(String column, String where, String[] whereArgs)Query for feature index countlongcount(String column, Map<String,Object> fieldValues)Query for feature index countlongcount(String column, BoundingBox boundingBox)Query for feature index count within the bounding box, projected correctlylongcount(String column, BoundingBox boundingBox, String where)Query for feature index count within the bounding box, projected correctlylongcount(String column, BoundingBox boundingBox, String where, String[] whereArgs)Query for feature index count within the bounding box, projected correctlylongcount(String column, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for feature index count within the bounding box, projected correctlylongcount(String column, BoundingBox boundingBox, Projection projection)Query for feature index count within the bounding box in the provided projectionlongcount(String column, BoundingBox boundingBox, Projection projection, String where)Query for feature index count within the bounding box in the provided projectionlongcount(String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for feature index count within the bounding box in the provided projectionlongcount(String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for feature index count within the bounding box in the provided projectionlongcount(String column, GeometryEnvelope envelope)Query for feature index count within the Geometry Envelopelongcount(String column, GeometryEnvelope envelope, String where)Query for feature index count within the Geometry Envelopelongcount(String column, GeometryEnvelope envelope, String where, String[] whereArgs)Query for feature index count within the Geometry Envelopelongcount(String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for feature index count within the Geometry Envelopelongcount(Map<String,Object> fieldValues)Query for feature index countlongcount(BoundingBox boundingBox)Query for feature index count within the bounding box, projected correctlylongcount(BoundingBox boundingBox, String where)Query for feature index count within the bounding box, projected correctlylongcount(BoundingBox boundingBox, String where, String[] whereArgs)Query for feature index count within the bounding box, projected correctlylongcount(BoundingBox boundingBox, Map<String,Object> fieldValues)Query for feature index count within the bounding box, projected correctlylongcount(BoundingBox boundingBox, Projection projection)Query for feature index count within the bounding box in the provided projectionlongcount(BoundingBox boundingBox, Projection projection, String where)Query for feature index count within the bounding box in the provided projectionlongcount(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for feature index count within the bounding box in the provided projectionlongcount(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for feature index count within the bounding box in the provided projectionlongcount(GeometryEnvelope envelope)Query for feature index count within the Geometry Envelopelongcount(GeometryEnvelope envelope, String where)Query for feature index count within the Geometry Envelopelongcount(GeometryEnvelope envelope, String where, String[] whereArgs)Query for feature index count within the Geometry Envelopelongcount(GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for feature index count within the Geometry EnvelopelongcountColumn(String column)Query for all feature index countbooleandeleteAllIndexes()Delete the feature index from all query order locationsbooleandeleteIndex()Delete the feature indexbooleandeleteIndex(long geomId)Delete the feature index for the geometry idbooleandeleteIndex(long geomId, List<FeatureIndexType> types)Delete the feature index for the geometry id from the index typesbooleandeleteIndex(Collection<FeatureIndexType> types)Delete the feature index from the index typesbooleandeleteIndex(FeatureIndexType type)Delete the feature indexbooleandeleteIndex(FeatureIndexType type, long geomId)Delete the feature index for the geometry idbooleandeleteIndex(FeatureIndexType type, FeatureRow row)Delete the feature index for the feature rowbooleandeleteIndex(FeatureRow row)Delete the feature index for the feature rowbooleandeleteIndex(FeatureRow row, List<FeatureIndexType> types)Delete the feature index for the feature row from the index typesBoundingBoxgetBoundingBox()Query for the feature index boundsBoundingBoxgetBoundingBox(Projection projection)Query for the feature index bounds and return in the provided projectionFeatureDaogetFeatureDao()Get the feature DAOFeatureIndexergetFeatureIndexer()Get the feature indexer, used to index in metadata tablesFeatureTableIndexgetFeatureTableIndex()Get the feature table index, used to index inside the GeoPackage as an extensionFeatureIndexTypegetIndexedType()Get the first ordered indexed typeList<FeatureIndexType>getIndexedTypes()Get the indexed types that are currently indexedFeatureIndexTypegetIndexLocation()Get the index locationSet<FeatureIndexType>getIndexLocationQueryOrder()Get the ordered set of ordered index query locationsDategetLastIndexed()Get the date last indexedDategetLastIndexed(FeatureIndexType type)Get the date last indexedFeatureIndexLocationgetLocation()Get a feature index location to iterate over indexed typesRTreeIndexTableDaogetRTreeIndexTableDao()Get the RTree Index Table DAOintindex()Index the feature table if needed, using the set index locationintindex(boolean force)Index the feature table, using the set index locationintindex(boolean force, List<FeatureIndexType> types)Index the feature tables for the index typesintindex(List<FeatureIndexType> types)Index the feature tables if needed for the index typesintindex(FeatureIndexType type)Index the feature table if neededintindex(FeatureIndexType type, boolean force)Index the feature tablebooleanindex(FeatureIndexType type, FeatureRow row)Index the feature row.booleanindex(FeatureRow row)Index the feature row, using the set index location.booleanindex(FeatureRow row, List<FeatureIndexType> types)Index the feature row for the index types.booleanisContinueOnError()Is the continue on error flag enabledbooleanisIndexed()Determine if the feature table is indexedbooleanisIndexed(FeatureIndexType type)Is the feature table indexed in the provided type locationvoidprioritizeQueryLocation(Collection<FeatureIndexType> types)Prioritize the query location order.voidprioritizeQueryLocation(FeatureIndexType... types)Prioritize the query location order.FeatureIndexResultsquery()Query for all feature index resultsFeatureIndexResultsquery(boolean distinct)Query for all feature index resultsFeatureIndexResultsquery(boolean distinct, String where)Query for feature index resultsFeatureIndexResultsquery(boolean distinct, String[] columns)Query for all feature index resultsFeatureIndexResultsquery(boolean distinct, String[] columns, String where)Query for feature index resultsFeatureIndexResultsquery(boolean distinct, String[] columns, String where, String[] whereArgs)Query for feature index resultsFeatureIndexResultsquery(boolean distinct, String[] columns, Map<String,Object> fieldValues)Query for feature index resultsFeatureIndexResultsquery(boolean distinct, String[] columns, BoundingBox boundingBox)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(boolean distinct, String[] columns, BoundingBox boundingBox, String where)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(boolean distinct, String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(boolean distinct, String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(boolean distinct, String[] columns, GeometryEnvelope envelope)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(boolean distinct, String[] columns, GeometryEnvelope envelope, String where)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(boolean distinct, String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(boolean distinct, String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(boolean distinct, String where, String[] whereArgs)Query for feature index resultsFeatureIndexResultsquery(boolean distinct, Map<String,Object> fieldValues)Query for feature index resultsFeatureIndexResultsquery(boolean distinct, BoundingBox boundingBox)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(boolean distinct, BoundingBox boundingBox, String where)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(boolean distinct, BoundingBox boundingBox, String where, String[] whereArgs)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(boolean distinct, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(boolean distinct, BoundingBox boundingBox, Projection projection)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(boolean distinct, BoundingBox boundingBox, Projection projection, String where)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(boolean distinct, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(boolean distinct, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(boolean distinct, GeometryEnvelope envelope)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(boolean distinct, GeometryEnvelope envelope, String where)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(boolean distinct, GeometryEnvelope envelope, String where, String[] whereArgs)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(boolean distinct, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(String where)Query for feature index resultsFeatureIndexResultsquery(String[] columns)Query for all feature index resultsFeatureIndexResultsquery(String[] columns, String where)Query for feature index resultsFeatureIndexResultsquery(String[] columns, String where, String[] whereArgs)Query for feature index resultsFeatureIndexResultsquery(String[] columns, Map<String,Object> fieldValues)Query for feature index resultsFeatureIndexResultsquery(String[] columns, BoundingBox boundingBox)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(String[] columns, BoundingBox boundingBox, String where)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(String[] columns, BoundingBox boundingBox, Projection projection)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(String[] columns, BoundingBox boundingBox, Projection projection, String where)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(String[] columns, GeometryEnvelope envelope)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(String[] columns, GeometryEnvelope envelope, String where)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(String where, String[] whereArgs)Query for feature index resultsFeatureIndexResultsquery(Map<String,Object> fieldValues)Query for feature index resultsFeatureIndexResultsquery(BoundingBox boundingBox)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(BoundingBox boundingBox, String where)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(BoundingBox boundingBox, String where, String[] whereArgs)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(BoundingBox boundingBox, Map<String,Object> fieldValues)Query for feature index results within the bounding box, projected correctlyFeatureIndexResultsquery(BoundingBox boundingBox, Projection projection)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(BoundingBox boundingBox, Projection projection, String where)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for feature index results within the bounding box in the provided projectionFeatureIndexResultsquery(GeometryEnvelope envelope)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(GeometryEnvelope envelope, String where)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(GeometryEnvelope envelope, String where, String[] whereArgs)Query for feature index results within the Geometry EnvelopeFeatureIndexResultsquery(GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for feature index results within the Geometry EnvelopebooleanretainIndex(Collection<FeatureIndexType> types)Retain the feature index from the index types and delete the othersbooleanretainIndex(FeatureIndexType type)Retain the feature index from the index types and delete the othersvoidsetContinueOnError(boolean continueOnError)Set the continue on error flagvoidsetIndexLocation(FeatureIndexType indexLocation)Set the index locationvoidsetIndexLocationOrder(Collection<FeatureIndexType> types)Set the index location order, overriding all previously set typesvoidsetIndexLocationOrder(FeatureIndexType... types)Set the index location order, overriding all previously set typesvoidsetProgress(GeoPackageProgress progress)Set the GeoPackage Progress
-
-
-
Constructor Detail
-
FeatureIndexManager
public FeatureIndexManager(Context context, GeoPackage geoPackage, String featureTable)
Constructor- Parameters:
context- contextgeoPackage- GeoPackagefeatureTable- feature table- Since:
- 3.1.0
-
FeatureIndexManager
public FeatureIndexManager(Context context, GeoPackage geoPackage, FeatureDao featureDao)
Constructor- Parameters:
context- contextgeoPackage- GeoPackagefeatureDao- feature DAO
-
-
Method Detail
-
close
public void close()
Close the index connections
-
getFeatureDao
public FeatureDao getFeatureDao()
Get the feature DAO- Returns:
- feature DAO
- Since:
- 1.2.5
-
getFeatureTableIndex
public FeatureTableIndex getFeatureTableIndex()
Get the feature table index, used to index inside the GeoPackage as an extension- Returns:
- feature table index
-
getFeatureIndexer
public FeatureIndexer getFeatureIndexer()
Get the feature indexer, used to index in metadata tables- Returns:
- feature indexer
-
getRTreeIndexTableDao
public RTreeIndexTableDao getRTreeIndexTableDao()
Get the RTree Index Table DAO- Returns:
- RTree index table DAO
- Since:
- 3.1.0
-
getIndexLocationQueryOrder
public Set<FeatureIndexType> getIndexLocationQueryOrder()
Get the ordered set of ordered index query locations- Returns:
- set of ordered index types
- Since:
- 3.1.0
-
getIndexLocation
public FeatureIndexType getIndexLocation()
Get the index location- Returns:
- index location or null if not set
-
isContinueOnError
public boolean isContinueOnError()
Is the continue on error flag enabled- Returns:
- continue on error
- Since:
- 3.4.0
-
setContinueOnError
public void setContinueOnError(boolean continueOnError)
Set the continue on error flag- Parameters:
continueOnError- continue on error- Since:
- 3.4.0
-
prioritizeQueryLocation
public void prioritizeQueryLocation(Collection<FeatureIndexType> types)
Prioritize the query location order. All types are placed at the front of the query order in the order they are given. Omitting a location leaves it at it's current priority location.- Parameters:
types- feature index types- Since:
- 3.1.0
-
prioritizeQueryLocation
public void prioritizeQueryLocation(FeatureIndexType... types)
Prioritize the query location order. All types are placed at the front of the query order in the order they are given. Omitting a location leaves it at it's current priority location.- Parameters:
types- feature index types
-
setIndexLocationOrder
public void setIndexLocationOrder(Collection<FeatureIndexType> types)
Set the index location order, overriding all previously set types- Parameters:
types- feature index types- Since:
- 3.1.0
-
setIndexLocationOrder
public void setIndexLocationOrder(FeatureIndexType... types)
Set the index location order, overriding all previously set types- Parameters:
types- feature index types- Since:
- 3.1.0
-
setIndexLocation
public void setIndexLocation(FeatureIndexType indexLocation)
Set the index location- Parameters:
indexLocation- feature index type
-
setProgress
public void setProgress(GeoPackageProgress progress)
Set the GeoPackage Progress- Parameters:
progress- GeoPackage progress
-
index
public int index()
Index the feature table if needed, using the set index location- Returns:
- count
-
index
public int index(List<FeatureIndexType> types)
Index the feature tables if needed for the index types- Parameters:
types- feature index types- Returns:
- largest count of indexed features
- Since:
- 2.0.0
-
index
public int index(FeatureIndexType type)
Index the feature table if needed- Parameters:
type- index location type- Returns:
- count
-
index
public int index(boolean force)
Index the feature table, using the set index location- Parameters:
force- true to force re-indexing- Returns:
- count
-
index
public int index(boolean force, List<FeatureIndexType> types)Index the feature tables for the index types- Parameters:
force- true to force re-indexingtypes- feature index types- Returns:
- largest count of indexed features
- Since:
- 2.0.0
-
index
public int index(FeatureIndexType type, boolean force)
Index the feature table- Parameters:
type- index location typeforce- true to force re-indexing- Returns:
- count
-
index
public boolean index(FeatureRow row)
Index the feature row, using the set index location. This method assumes that indexing has been completed and maintained as the last indexed time is updated.- Parameters:
row- feature row to index- Returns:
- true if indexed
-
index
public boolean index(FeatureRow row, List<FeatureIndexType> types)
Index the feature row for the index types. This method assumes that indexing has been completed and maintained as the last indexed time is updated.- Parameters:
row- feature row to indextypes- feature index types- Returns:
- true if indexed from any type
- Since:
- 2.0.0
-
index
public boolean index(FeatureIndexType type, FeatureRow row)
Index the feature row. This method assumes that indexing has been completed and maintained as the last indexed time is updated.- Parameters:
type- index location typerow- feature row to index- Returns:
- true if indexed
-
deleteIndex
public boolean deleteIndex()
Delete the feature index- Returns:
- true if deleted
-
deleteAllIndexes
public boolean deleteAllIndexes()
Delete the feature index from all query order locations- Returns:
- true if deleted
- Since:
- 3.1.0
-
deleteIndex
public boolean deleteIndex(Collection<FeatureIndexType> types)
Delete the feature index from the index types- Parameters:
types- feature index types- Returns:
- true if deleted from any type
- Since:
- 2.0.0
-
deleteIndex
public boolean deleteIndex(FeatureIndexType type)
Delete the feature index- Parameters:
type- feature index type- Returns:
- true if deleted
-
deleteIndex
public boolean deleteIndex(FeatureRow row)
Delete the feature index for the feature row- Parameters:
row- feature row- Returns:
- true if deleted
-
deleteIndex
public boolean deleteIndex(FeatureRow row, List<FeatureIndexType> types)
Delete the feature index for the feature row from the index types- Parameters:
row- feature rowtypes- feature index types- Returns:
- true if deleted from any type
- Since:
- 2.0.0
-
deleteIndex
public boolean deleteIndex(FeatureIndexType type, FeatureRow row)
Delete the feature index for the feature row- Parameters:
type- feature index typerow- feature row- Returns:
- true if deleted
-
deleteIndex
public boolean deleteIndex(long geomId)
Delete the feature index for the geometry id- Parameters:
geomId- geometry id- Returns:
- true if deleted
-
deleteIndex
public boolean deleteIndex(long geomId, List<FeatureIndexType> types)Delete the feature index for the geometry id from the index types- Parameters:
geomId- geometry idtypes- feature index types- Returns:
- true if deleted from any type
- Since:
- 2.0.0
-
deleteIndex
public boolean deleteIndex(FeatureIndexType type, long geomId)
Delete the feature index for the geometry id- Parameters:
type- feature index typegeomId- geometry id- Returns:
- true if deleted
-
retainIndex
public boolean retainIndex(FeatureIndexType type)
Retain the feature index from the index types and delete the others- Parameters:
type- feature index type to retain- Returns:
- true if deleted from any type
- Since:
- 3.1.0
-
retainIndex
public boolean retainIndex(Collection<FeatureIndexType> types)
Retain the feature index from the index types and delete the others- Parameters:
types- feature index types to retain- Returns:
- true if deleted from any type
- Since:
- 3.1.0
-
isIndexed
public boolean isIndexed()
Determine if the feature table is indexed- Returns:
- true if indexed
-
isIndexed
public boolean isIndexed(FeatureIndexType type)
Is the feature table indexed in the provided type location- Parameters:
type- index location type- Returns:
- true if indexed
-
getIndexedTypes
public List<FeatureIndexType> getIndexedTypes()
Get the indexed types that are currently indexed- Returns:
- indexed types
- Since:
- 2.0.0
-
getLastIndexed
public Date getLastIndexed()
Get the date last indexed- Returns:
- last indexed date or null
-
getLastIndexed
public Date getLastIndexed(FeatureIndexType type)
Get the date last indexed- Parameters:
type- feature index type- Returns:
- last indexed date or null
-
query
public FeatureIndexResults query()
Query for all feature index results- Returns:
- feature index results, close when done
-
query
public FeatureIndexResults query(boolean distinct)
Query for all feature index results- Parameters:
distinct- distinct rows- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns)
Query for all feature index results- Parameters:
columns- columns- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns)
Query for all feature index results- Parameters:
distinct- distinct rowscolumns- columns- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
countColumn
public long countColumn(String column)
Query for all feature index count- Parameters:
column- count column name- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column)Query for all feature index count- Parameters:
distinct- distinct column valuescolumn- count column name- Returns:
- count
- Since:
- 4.0.0
-
count
public long count()
Query for all feature index count- Returns:
- count
-
query
public FeatureIndexResults query(Map<String,Object> fieldValues)
Query for feature index results- Parameters:
fieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, Map<String,Object> fieldValues)
Query for feature index results- Parameters:
distinct- distinct rowsfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, Map<String,Object> fieldValues)
Query for feature index results- Parameters:
columns- columnsfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, Map<String,Object> fieldValues)
Query for feature index results- Parameters:
distinct- distinct rowscolumns- columnsfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(Map<String,Object> fieldValues)
Query for feature index count- Parameters:
fieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
count
public long count(String column, Map<String,Object> fieldValues)
Query for feature index count- Parameters:
column- count column namefieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, Map<String,Object> fieldValues)Query for feature index count- Parameters:
distinct- distinct column valuescolumn- count column namefieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String where)
Query for feature index results- Parameters:
where- where clause- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, String where)
Query for feature index results- Parameters:
distinct- distinct rowswhere- where clause- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, String where)
Query for feature index results- Parameters:
columns- columnswhere- where clause- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, String where)
Query for feature index results- Parameters:
distinct- distinct rowscolumns- columnswhere- where clause- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(String where)
Query for feature index count- Parameters:
where- where clause- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, String where)
Query for feature index count- Parameters:
column- count column namewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, String where)Query for feature index count- Parameters:
distinct- distinct column valuescolumn- count column namewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String where, String[] whereArgs)
Query for feature index results- Parameters:
where- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, String where, String[] whereArgs)
Query for feature index results- Parameters:
distinct- distinct rowswhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, String where, String[] whereArgs)
Query for feature index results- Parameters:
columns- columnswhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, String where, String[] whereArgs)
Query for feature index results- Parameters:
distinct- distinct rowscolumns- columnswhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(String where, String[] whereArgs)
Query for feature index count- Parameters:
where- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, String where, String[] whereArgs)
Query for feature index count- Parameters:
column- count column namewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, String where, String[] whereArgs)Query for feature index count- Parameters:
distinct- distinct column valuescolumn- count column namewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
getBoundingBox
public BoundingBox getBoundingBox()
Query for the feature index bounds- Returns:
- bounding box
-
getBoundingBox
public BoundingBox getBoundingBox(Projection projection)
Query for the feature index bounds and return in the provided projection- Parameters:
projection- desired projection- Returns:
- bounding box
-
query
public FeatureIndexResults query(BoundingBox boundingBox)
Query for feature index results within the bounding box, projected correctly- Parameters:
boundingBox- bounding box- Returns:
- feature index results, close when done
-
query
public FeatureIndexResults query(boolean distinct, BoundingBox boundingBox)
Query for feature index results within the bounding box, projected correctly- Parameters:
distinct- distinct rowsboundingBox- bounding box- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, BoundingBox boundingBox)
Query for feature index results within the bounding box, projected correctly- Parameters:
columns- columnsboundingBox- bounding box- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, BoundingBox boundingBox)
Query for feature index results within the bounding box, projected correctly- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding box- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(BoundingBox boundingBox)
Query for feature index count within the bounding box, projected correctly- Parameters:
boundingBox- bounding box- Returns:
- count
-
count
public long count(String column, BoundingBox boundingBox)
Query for feature index count within the bounding box, projected correctly- Parameters:
column- count column nameboundingBox- bounding box- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, BoundingBox boundingBox)Query for feature index count within the bounding box, projected correctly- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding box- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for feature index results within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for feature index results within the bounding box, projected correctly- Parameters:
distinct- distinct rowsboundingBox- bounding boxfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for feature index results within the bounding box, projected correctly- Parameters:
columns- columnsboundingBox- bounding boxfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for feature index results within the bounding box, projected correctly- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for feature index count within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxfieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for feature index count within the bounding box, projected correctly- Parameters:
column- column nameboundingBox- bounding boxfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for feature index count within the bounding box, projected correctly- Parameters:
distinct- distinct column valuescolumn- column nameboundingBox- bounding boxfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(BoundingBox boundingBox, String where)
Query for feature index results within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxwhere- where clause- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, BoundingBox boundingBox, String where)
Query for feature index results within the bounding box, projected correctly- Parameters:
distinct- distinct rowsboundingBox- bounding boxwhere- where clause- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, BoundingBox boundingBox, String where)
Query for feature index results within the bounding box, projected correctly- Parameters:
columns- columnsboundingBox- bounding boxwhere- where clause- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, BoundingBox boundingBox, String where)
Query for feature index results within the bounding box, projected correctly- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxwhere- where clause- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(BoundingBox boundingBox, String where)
Query for feature index count within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxwhere- where clause- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, BoundingBox boundingBox, String where)
Query for feature index count within the bounding box, projected correctly- Parameters:
column- column nameboundingBox- bounding boxwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, BoundingBox boundingBox, String where)Query for feature index count within the bounding box, projected correctly- Parameters:
distinct- distinct column valuescolumn- column nameboundingBox- bounding boxwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(BoundingBox boundingBox, String where, String[] whereArgs)
Query for feature index results within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, BoundingBox boundingBox, String where, String[] whereArgs)
Query for feature index results within the bounding box, projected correctly- Parameters:
distinct- distinct rowsboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)
Query for feature index results within the bounding box, projected correctly- Parameters:
columns- columnsboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)
Query for feature index results within the bounding box, projected correctly- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(BoundingBox boundingBox, String where, String[] whereArgs)
Query for feature index count within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, BoundingBox boundingBox, String where, String[] whereArgs)
Query for feature index count within the bounding box, projected correctly- Parameters:
column- count column valueboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, BoundingBox boundingBox, String where, String[] whereArgs)Query for feature index count within the bounding box, projected correctly- Parameters:
distinct- distinct column valuescolumn- count column valueboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(GeometryEnvelope envelope)
Query for feature index results within the Geometry Envelope- Parameters:
envelope- geometry envelope- Returns:
- feature index results, close when done
-
query
public FeatureIndexResults query(boolean distinct, GeometryEnvelope envelope)
Query for feature index results within the Geometry Envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelope- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, GeometryEnvelope envelope)
Query for feature index results within the Geometry Envelope- Parameters:
columns- columnsenvelope- geometry envelope- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, GeometryEnvelope envelope)
Query for feature index results within the Geometry Envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelope- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(GeometryEnvelope envelope)
Query for feature index count within the Geometry Envelope- Parameters:
envelope- geometry envelope- Returns:
- count
-
count
public long count(String column, GeometryEnvelope envelope)
Query for feature index count within the Geometry Envelope- Parameters:
column- count column nameenvelope- geometry envelope- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, GeometryEnvelope envelope)Query for feature index count within the Geometry Envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelope- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for feature index results within the Geometry Envelope- Parameters:
envelope- geometry envelopefieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for feature index results within the Geometry Envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelopefieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for feature index results within the Geometry Envelope- Parameters:
columns- columnsenvelope- geometry envelopefieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for feature index results within the Geometry Envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelopefieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for feature index count within the Geometry Envelope- Parameters:
envelope- geometry envelopefieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for feature index count within the Geometry Envelope- Parameters:
column- count column nameenvelope- geometry envelopefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for feature index count within the Geometry Envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelopefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(GeometryEnvelope envelope, String where)
Query for feature index results within the Geometry Envelope- Parameters:
envelope- geometry envelopewhere- where clause- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, GeometryEnvelope envelope, String where)
Query for feature index results within the Geometry Envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelopewhere- where clause- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, GeometryEnvelope envelope, String where)
Query for feature index results within the Geometry Envelope- Parameters:
columns- columnsenvelope- geometry envelopewhere- where clause- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, GeometryEnvelope envelope, String where)
Query for feature index results within the Geometry Envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelopewhere- where clause- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(GeometryEnvelope envelope, String where)
Query for feature index count within the Geometry Envelope- Parameters:
envelope- geometry envelopewhere- where clause- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, GeometryEnvelope envelope, String where)
Query for feature index count within the Geometry Envelope- Parameters:
column- count column nameenvelope- geometry envelopewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, GeometryEnvelope envelope, String where)Query for feature index count within the Geometry Envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelopewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(GeometryEnvelope envelope, String where, String[] whereArgs)
Query for feature index results within the Geometry Envelope- Parameters:
envelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for feature index results within the Geometry Envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for feature index results within the Geometry Envelope- Parameters:
columns- columnsenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for feature index results within the Geometry Envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(GeometryEnvelope envelope, String where, String[] whereArgs)
Query for feature index count within the Geometry Envelope- Parameters:
envelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for feature index count within the Geometry Envelope- Parameters:
column- count column nameenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, GeometryEnvelope envelope, String where, String[] whereArgs)Query for feature index count within the Geometry Envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(BoundingBox boundingBox, Projection projection)
Query for feature index results within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection- Returns:
- feature index results, close when done
-
query
public FeatureIndexResults query(boolean distinct, BoundingBox boundingBox, Projection projection)
Query for feature index results within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projection- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, BoundingBox boundingBox, Projection projection)
Query for feature index results within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projection- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection)
Query for feature index results within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projection- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(BoundingBox boundingBox, Projection projection)
Query for feature index count within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection- Returns:
- count
-
count
public long count(String column, BoundingBox boundingBox, Projection projection)
Query for feature index count within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projection- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, BoundingBox boundingBox, Projection projection)Query for feature index count within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projection- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for feature index results within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for feature index results within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for feature index results within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for feature index results within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for feature index count within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for feature index count within the bounding box in the provided projection- Parameters:
column- count column valueboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for feature index count within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column valueboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(BoundingBox boundingBox, Projection projection, String where)
Query for feature index results within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, BoundingBox boundingBox, Projection projection, String where)
Query for feature index results within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, BoundingBox boundingBox, Projection projection, String where)
Query for feature index results within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where)
Query for feature index results within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(BoundingBox boundingBox, Projection projection, String where)
Query for feature index count within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, BoundingBox boundingBox, Projection projection, String where)
Query for feature index count within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where)Query for feature index count within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for feature index results within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 3.4.0
-
query
public FeatureIndexResults query(boolean distinct, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for feature index results within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
query
public FeatureIndexResults query(String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for feature index results within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 3.5.0
-
query
public FeatureIndexResults query(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for feature index results within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- feature index results, close when done
- Since:
- 4.0.0
-
count
public long count(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for feature index count within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
count
public long count(String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for feature index count within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
count
public long count(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for feature index count within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
getLocation
public FeatureIndexLocation getLocation()
Get a feature index location to iterate over indexed types- Returns:
- feature index location
- Since:
- 3.4.0
-
getIndexedType
public FeatureIndexType getIndexedType()
Get the first ordered indexed type- Returns:
- feature index type
- Since:
- 3.4.0
-
-