Class FeatureTableIndex
- java.lang.Object
-
- mil.nga.geopackage.extension.BaseExtension
-
- mil.nga.geopackage.extension.nga.index.FeatureTableCoreIndex
-
- mil.nga.geopackage.extension.nga.index.FeatureTableIndex
-
public class FeatureTableIndex extends FeatureTableCoreIndex
Feature Table Index NGA Extension implementation. This extension is used to index Geometries within a feature table by their minimum bounding box for bounding box queries. This extension is required to provide an index implementation when a SQLite version is used before SpatialLite support (Android). http://ngageoint.github.io/GeoPackage/docs/extensions/geometry-index.html- Since:
- 1.1.0
-
-
Field Summary
-
Fields inherited from class mil.nga.geopackage.extension.nga.index.FeatureTableCoreIndex
chunkLimit, EXTENSION_AUTHOR, EXTENSION_DEFINITION, EXTENSION_NAME, EXTENSION_NAME_NO_AUTHOR, progress, tolerance
-
Fields inherited from class mil.nga.geopackage.extension.BaseExtension
extensionsDao, geoPackage
-
-
Constructor Summary
Constructors Constructor Description FeatureTableIndex(GeoPackage geoPackage, FeatureDao featureDao)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the table indexintcountColumnFeatures(String column)Count featuresintcountFeatures()Count featuresintcountFeatures(boolean distinct, String column)Count featuresintcountFeatures(boolean distinct, String column, String where)Count featuresintcountFeatures(boolean distinct, String column, String where, String[] whereArgs)Count featuresintcountFeatures(boolean distinct, String column, Map<String,Object> fieldValues)Count featuresintcountFeatures(boolean distinct, String column, BoundingBox boundingBox)Count the Features within the bounding box, projected correctlyintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, String where)Count the Features within the bounding box, projected correctlyintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, String where, String[] whereArgs)Count the Features within the bounding box, projected correctlyintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Map<String,Object> fieldValues)Count the Features within the bounding box, projected correctlyintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection)Count the Features within the bounding box in the provided projectionintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where)Count the Features within the bounding box in the provided projectionintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Count the Features within the bounding box in the provided projectionintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Count the Features within the bounding box in the provided projectionintcountFeatures(boolean distinct, String column, GeometryEnvelope envelope)Count the Features within the Geometry EnvelopeintcountFeatures(boolean distinct, String column, GeometryEnvelope envelope, String where)Count the Features within the Geometry EnvelopeintcountFeatures(boolean distinct, String column, GeometryEnvelope envelope, String where, String[] whereArgs)Count the Features within the Geometry EnvelopeintcountFeatures(boolean distinct, String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)Count the Features within the Geometry EnvelopeintcountFeatures(String where)Count featuresintcountFeatures(String column, String where)Count featuresintcountFeatures(String where, String[] whereArgs)Count featuresintcountFeatures(String column, String where, String[] whereArgs)Count featuresintcountFeatures(String column, Map<String,Object> fieldValues)Count featuresintcountFeatures(String column, BoundingBox boundingBox)Count the Features within the bounding box, projected correctlyintcountFeatures(String column, BoundingBox boundingBox, String where)Count the Features within the bounding box, projected correctlyintcountFeatures(String column, BoundingBox boundingBox, String where, String[] whereArgs)Count the Features within the bounding box, projected correctlyintcountFeatures(String column, BoundingBox boundingBox, Map<String,Object> fieldValues)Count the Features within the bounding box, projected correctlyintcountFeatures(String column, BoundingBox boundingBox, Projection projection)Count the Features within the bounding box in the provided projectionintcountFeatures(String column, BoundingBox boundingBox, Projection projection, String where)Count the Features within the bounding box in the provided projectionintcountFeatures(String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Count the Features within the bounding box in the provided projectionintcountFeatures(String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Count the Features within the bounding box in the provided projectionintcountFeatures(String column, GeometryEnvelope envelope)Count the Features within the Geometry EnvelopeintcountFeatures(String column, GeometryEnvelope envelope, String where)Count the Features within the Geometry EnvelopeintcountFeatures(String column, GeometryEnvelope envelope, String where, String[] whereArgs)Count the Features within the Geometry EnvelopeintcountFeatures(String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)Count the Features within the Geometry EnvelopeintcountFeatures(Map<String,Object> fieldValues)Count featuresintcountFeatures(BoundingBox boundingBox)Count the Features within the bounding box, projected correctlyintcountFeatures(BoundingBox boundingBox, String where)Count the Features within the bounding box, projected correctlyintcountFeatures(BoundingBox boundingBox, String where, String[] whereArgs)Count the Features within the bounding box, projected correctlyintcountFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)Count the Features within the bounding box, projected correctlyintcountFeatures(BoundingBox boundingBox, Projection projection)Count the Features within the bounding box in the provided projectionintcountFeatures(BoundingBox boundingBox, Projection projection, String where)Count the Features within the bounding box in the provided projectionintcountFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Count the Features within the bounding box in the provided projectionintcountFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Count the Features within the bounding box in the provided projectionintcountFeatures(GeometryEnvelope envelope)Count the Features within the Geometry EnvelopeintcountFeatures(GeometryEnvelope envelope, String where)Count the Features within the Geometry EnvelopeintcountFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)Count the Features within the Geometry EnvelopeintcountFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)Count the Features within the Geometry EnvelopeintdeleteIndex(FeatureRow row)Delete the index for the feature rowFeatureRowgetFeatureRow(GeometryIndex geometryIndex)Get the feature row for the Geometry IndexProjectiongetProjection()booleanindex(FeatureRow row)Index the feature row.protected intindexTable(TableIndex tableIndex)FeatureCursorqueryFeatures()Query for all FeaturesFeatureCursorqueryFeatures(boolean distinct)Query for all FeaturesFeatureCursorqueryFeatures(boolean distinct, String where)Query for featuresFeatureCursorqueryFeatures(boolean distinct, String[] columns)Query for all FeaturesFeatureCursorqueryFeatures(boolean distinct, String[] columns, String where)Query for featuresFeatureCursorqueryFeatures(boolean distinct, String[] columns, String where, String[] whereArgs)Query for featuresFeatureCursorqueryFeatures(boolean distinct, String[] columns, Map<String,Object> fieldValues)Query for featuresFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(boolean distinct, String where, String[] whereArgs)Query for featuresFeatureCursorqueryFeatures(boolean distinct, Map<String,Object> fieldValues)Query for featuresFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, String where)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, String where, String[] whereArgs)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, GeometryEnvelope envelope)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(boolean distinct, GeometryEnvelope envelope, String where)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(boolean distinct, GeometryEnvelope envelope, String where, String[] whereArgs)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(boolean distinct, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(String where)Query for featuresFeatureCursorqueryFeatures(String[] columns)Query for all FeaturesFeatureCursorqueryFeatures(String[] columns, String where)Query for featuresFeatureCursorqueryFeatures(String[] columns, String where, String[] whereArgs)Query for featuresFeatureCursorqueryFeatures(String[] columns, Map<String,Object> fieldValues)Query for featuresFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, String where)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Projection projection)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(String[] columns, GeometryEnvelope envelope)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(String[] columns, GeometryEnvelope envelope, String where)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(String where, String[] whereArgs)Query for featuresFeatureCursorqueryFeatures(Map<String,Object> fieldValues)Query for featuresFeatureCursorqueryFeatures(BoundingBox boundingBox)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(BoundingBox boundingBox, String where)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(BoundingBox boundingBox, String where, String[] whereArgs)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)Query for Features within the bounding box, projected correctlyFeatureCursorqueryFeatures(BoundingBox boundingBox, Projection projection)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(BoundingBox boundingBox, Projection projection, String where)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for Features within the bounding box in the provided projectionFeatureCursorqueryFeatures(GeometryEnvelope envelope)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(GeometryEnvelope envelope, String where)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)Query for Features within the Geometry EnvelopeFeatureCursorqueryFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for Features within the Geometry Envelope-
Methods inherited from class mil.nga.geopackage.extension.nga.index.FeatureTableCoreIndex
count, count, count, count, createGeometryIndexTable, createTableIndexTable, deleteIndex, deleteIndex, getBoundingBox, getBoundingBox, getChunkLimit, getColumnName, getExtension, getFeatureBoundingBox, getGeometryIndexDao, getGeometryIndexDao, getGeometryIndexDao, getGeoPackage, getLastIndexed, getTableIndex, getTableIndexDao, getTableIndexDao, getTableIndexDao, getTableName, getTolerance, index, index, index, indexGeometryIndexTable, isIndexed, query, query, query, query, queryBuilder, queryBuilder, queryIdsSQL, queryIdsSQL, setChunkLimit, setProgress, setTolerance, unindexGeometryIndexTable, updateLastIndexed
-
Methods inherited from class mil.nga.geopackage.extension.BaseExtension
createDao, get, getExtensions, getExtensions, getExtensionsDao, getOrCreate, has, has, has, verifyWritable
-
-
-
-
Constructor Detail
-
FeatureTableIndex
public FeatureTableIndex(GeoPackage geoPackage, FeatureDao featureDao)
Constructor- Parameters:
geoPackage- GeoPackagefeatureDao- feature dao
-
-
Method Detail
-
getProjection
public Projection getProjection()
- Specified by:
getProjectionin classFeatureTableCoreIndex
-
close
public void close()
Close the table index
-
index
public boolean index(FeatureRow row)
Index the feature row. This method assumes that indexing has been completed and maintained as the last indexed time is updated.- Parameters:
row- feature row- Returns:
- true if indexed
-
indexTable
protected int indexTable(TableIndex tableIndex)
- Specified by:
indexTablein classFeatureTableCoreIndex
-
deleteIndex
public int deleteIndex(FeatureRow row)
Delete the index for the feature row- Parameters:
row- feature row- Returns:
- deleted rows, should be 0 or 1
-
getFeatureRow
public FeatureRow getFeatureRow(GeometryIndex geometryIndex)
Get the feature row for the Geometry Index- Parameters:
geometryIndex- geometry index- Returns:
- feature row
-
queryFeatures
public FeatureCursor queryFeatures()
Query for all Features- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct)
Query for all Features- Parameters:
distinct- distinct rows- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns)
Query for all Features- Parameters:
columns- columns- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns)
Query for all Features- Parameters:
distinct- distinct rowscolumns- columns- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures()
Count features- Returns:
- count
- Since:
- 4.0.0
-
countColumnFeatures
public int countColumnFeatures(String column)
Count features- Parameters:
column- count column name- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column)Count features- Parameters:
distinct- distinct column valuescolumn- count column name- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(Map<String,Object> fieldValues)
Query for features- Parameters:
fieldValues- field values- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, Map<String,Object> fieldValues)
Query for features- Parameters:
distinct- distinct rowsfieldValues- field values- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, Map<String,Object> fieldValues)
Query for features- Parameters:
columns- columnsfieldValues- field values- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, Map<String,Object> fieldValues)
Query for features- Parameters:
distinct- distinct rowscolumns- columnsfieldValues- field values- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(Map<String,Object> fieldValues)
Count features- Parameters:
fieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, Map<String,Object> fieldValues)
Count features- Parameters:
column- count column namefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, Map<String,Object> fieldValues)Count features- Parameters:
distinct- distinct column valuescolumn- count column namefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String where)
Query for features- Parameters:
where- where clause- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String where)
Query for features- Parameters:
distinct- distinct rowswhere- where clause- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, String where)
Query for features- Parameters:
columns- columnswhere- where clause- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, String where)
Query for features- Parameters:
distinct- distinct rowscolumns- columnswhere- where clause- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(String where)
Count features- Parameters:
where- where clause- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, String where)
Count features- Parameters:
column- count column namewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, String where)Count features- Parameters:
column- count column namedistinct- distinct column valueswhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String where, String[] whereArgs)
Query for features- Parameters:
where- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String where, String[] whereArgs)
Query for features- Parameters:
distinct- distinct rowswhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, String where, String[] whereArgs)
Query for features- Parameters:
columns- columnswhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, String where, String[] whereArgs)
Query for features- Parameters:
distinct- distinct rowscolumns- columnswhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(String where, String[] whereArgs)
Count features- Parameters:
where- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, String where, String[] whereArgs)
Count features- Parameters:
column- count column namewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, String where, String[] whereArgs)Count features- Parameters:
distinct- distinct column valuescolumn- count column namewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox)
Query for Features within the bounding box, projected correctly- Parameters:
boundingBox- bounding box- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox)
Query for Features within the bounding box, projected correctly- Parameters:
distinct- distinct rowsboundingBox- bounding box- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox)
Query for Features within the bounding box, projected correctly- Parameters:
columns- columnsboundingBox- bounding box- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox)
Query for Features within the bounding box, projected correctly- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding box- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox)
Count the Features within the bounding box, projected correctly- Parameters:
boundingBox- bounding box- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox)
Count the Features within the bounding box, projected correctly- Parameters:
column- count column nameboundingBox- bounding box- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox)Count the Features within the bounding box, projected correctly- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding box- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for Features within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxfieldValues- field values- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for Features within the bounding box, projected correctly- Parameters:
distinct- distinct rowsboundingBox- bounding boxfieldValues- field values- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for Features within the bounding box, projected correctly- Parameters:
columns- columnsboundingBox- bounding boxfieldValues- field values- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for Features within the bounding box, projected correctly- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxfieldValues- field values- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)
Count the Features within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxfieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Map<String,Object> fieldValues)
Count the Features within the bounding box, projected correctly- Parameters:
column- count columnboundingBox- bounding boxfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Map<String,Object> fieldValues)Count the Features within the bounding box, projected correctly- Parameters:
distinct- distinct column valuescolumn- count columnboundingBox- bounding boxfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, String where)
Query for Features within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxwhere- where clause- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, String where)
Query for Features within the bounding box, projected correctly- Parameters:
distinct- distinct rowsboundingBox- bounding boxwhere- where clause- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, String where)
Query for Features within the bounding box, projected correctly- Parameters:
columns- columnsboundingBox- bounding boxwhere- where clause- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where)
Query for Features within the bounding box, projected correctly- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxwhere- where clause- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, String where)
Count the Features within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxwhere- where clause- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, String where)
Count the Features within the bounding box, projected correctly- Parameters:
column- count column nameboundingBox- bounding boxwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, String where)Count the Features within the bounding box, projected correctly- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, String where, String[] whereArgs)
Query for Features within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, String where, String[] whereArgs)
Query for Features within the bounding box, projected correctly- Parameters:
distinct- distinct rowsboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)
Query for Features within the bounding box, projected correctly- Parameters:
columns- columnsboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)
Query for Features within the bounding box, projected correctly- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, String where, String[] whereArgs)
Count the Features within the bounding box, projected correctly- Parameters:
boundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, String where, String[] whereArgs)
Count the Features within the bounding box, projected correctly- Parameters:
column- count column nameboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, String where, String[] whereArgs)Count the Features within the bounding box, projected correctly- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection)
Query for Features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection)
Query for Features within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection)
Query for Features within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection)
Query for Features within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Projection projection)
Count the Features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Projection projection)
Count the Features within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection)Count the Features within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for Features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding boxfieldValues- field values- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for Features within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projection of the provided bounding boxfieldValues- field values- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for Features within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projection of the provided bounding boxfieldValues- field values- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for Features within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projection of the provided bounding boxfieldValues- field values- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Count the Features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding boxfieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Count the Features within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projection of the provided bounding boxfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Count the Features within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projection of the provided bounding boxfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection, String where)
Query for Features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clause- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where)
Query for Features within the bounding box in the provided projection- Parameters:
distinct- distinct rowboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clause- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where)
Query for Features within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clause- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where)
Query for Features within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clause- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Projection projection, String where)
Count the Features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clause- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Projection projection, String where)
Count the Features within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where)Count the Features within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for Features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for Features within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for Features within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for Features within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Count the Features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Count the Features within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Count the Features within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projection of the provided bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(GeometryEnvelope envelope)
Query for Features within the Geometry Envelope- Parameters:
envelope- geometry envelope- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope)
Query for Features within the Geometry Envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelope- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope)
Query for Features within the Geometry Envelope- Parameters:
columns- columnsenvelope- geometry envelope- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope)
Query for Features within the Geometry Envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelope- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(GeometryEnvelope envelope)
Count the Features within the Geometry Envelope- Parameters:
envelope- geometry envelope- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, GeometryEnvelope envelope)
Count the Features within the Geometry Envelope- Parameters:
column- count column nameenvelope- geometry envelope- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, GeometryEnvelope envelope)Count the Features within the Geometry Envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelope- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for Features within the Geometry Envelope- Parameters:
envelope- geometry envelopefieldValues- field values- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for Features within the Geometry Envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelopefieldValues- field values- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for Features within the Geometry Envelope- Parameters:
columns- columnsenvelope- geometry envelopefieldValues- field values- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for Features within the Geometry Envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelopefieldValues- field values- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)
Count the Features within the Geometry Envelope- Parameters:
envelope- geometry envelopefieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Count the Features within the Geometry Envelope- Parameters:
column- count column namesenvelope- geometry envelopefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)Count the Features within the Geometry Envelope- Parameters:
distinct- distinct column valuescolumn- count column namesenvelope- geometry envelopefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(GeometryEnvelope envelope, String where)
Query for Features within the Geometry Envelope- Parameters:
envelope- geometry envelopewhere- where clause- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope, String where)
Query for Features within the Geometry Envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelopewhere- where clause- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope, String where)
Query for Features within the Geometry Envelope- Parameters:
columns- columnsenvelope- geometry envelopewhere- where clause- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where)
Query for Features within the Geometry Envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelopewhere- where clause- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(GeometryEnvelope envelope, String where)
Count the Features within the Geometry Envelope- Parameters:
envelope- geometry envelopewhere- where clause- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, GeometryEnvelope envelope, String where)
Count the Features within the Geometry Envelope- Parameters:
column- count column nameenvelope- geometry envelopewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, GeometryEnvelope envelope, String where)Count the Features within the Geometry Envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelopewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)
Query for Features within the Geometry Envelope- Parameters:
envelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for Features within the Geometry Envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for Features within the Geometry Envelope- Parameters:
columns- columnsenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for Features within the Geometry Envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature cursor
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)
Count the Features within the Geometry Envelope- Parameters:
envelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, GeometryEnvelope envelope, String where, String[] whereArgs)
Count the Features within the Geometry Envelope- Parameters:
column- count column nameenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, GeometryEnvelope envelope, String where, String[] whereArgs)Count the Features within the Geometry Envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
-