public class FeatureIndexer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
chunkLimit
Query single chunk limit
|
| Constructor and Description |
|---|
FeatureIndexer(Context context,
FeatureDao featureDao)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the database connection in the feature indexer
|
long |
count()
Query for all Geometry Metadata count
|
long |
count(BoundingBox boundingBox)
Query for Geometry Metadata count within the bounding box, projected
correctly
|
long |
count(BoundingBox boundingBox,
Projection projection)
Query for Geometry Metadata count within the bounding box in
the provided projection
|
long |
count(GeometryEnvelope envelope)
Query for Geometry Metadata count within the Geometry Envelope
|
int |
countColumnFeatures(String column)
Count features
|
int |
countFeatures()
Count features
|
int |
countFeatures(boolean distinct,
String column)
Count features
|
int |
countFeatures(boolean distinct,
String column,
BoundingBox boundingBox)
Count the features within the bounding box
|
int |
countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
Map<String,Object> fieldValues)
Count the features within the bounding box
|
int |
countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
Projection projection)
Count the features within the bounding box in the provided projection
|
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
|
int |
countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
Projection projection,
String where)
Count the features within the bounding box in the provided projection
|
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
|
int |
countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
String where)
Count the features within the bounding box
|
int |
countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
String where,
String[] whereArgs)
Count the features within the bounding box
|
int |
countFeatures(boolean distinct,
String column,
GeometryEnvelope envelope)
Count the features within the geometry envelope
|
int |
countFeatures(boolean distinct,
String column,
GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Count the features within the geometry envelope
|
int |
countFeatures(boolean distinct,
String column,
GeometryEnvelope envelope,
String where)
Count the features within the geometry envelope
|
int |
countFeatures(boolean distinct,
String column,
GeometryEnvelope envelope,
String where,
String[] whereArgs)
Count the features within the geometry envelope
|
int |
countFeatures(boolean distinct,
String column,
Map<String,Object> fieldValues)
Count features
|
int |
countFeatures(boolean distinct,
String column,
String where)
Count features
|
int |
countFeatures(boolean distinct,
String column,
String where,
String[] whereArgs)
Count features
|
int |
countFeatures(BoundingBox boundingBox)
Count the features within the bounding box
|
int |
countFeatures(BoundingBox boundingBox,
Map<String,Object> fieldValues)
Count the features within the bounding box
|
int |
countFeatures(BoundingBox boundingBox,
Projection projection)
Count the features within the bounding box in the provided projection
|
int |
countFeatures(BoundingBox boundingBox,
Projection projection,
Map<String,Object> fieldValues)
Count the features within the bounding box in the provided projection
|
int |
countFeatures(BoundingBox boundingBox,
Projection projection,
String where)
Count the features within the bounding box in the provided projection
|
int |
countFeatures(BoundingBox boundingBox,
Projection projection,
String where,
String[] whereArgs)
Count the features within the bounding box in the provided projection
|
int |
countFeatures(BoundingBox boundingBox,
String where)
Count the features within the bounding box
|
int |
countFeatures(BoundingBox boundingBox,
String where,
String[] whereArgs)
Count the features within the bounding box
|
int |
countFeatures(GeometryEnvelope envelope)
Count the features within the geometry envelope
|
int |
countFeatures(GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Count the features within the geometry envelope
|
int |
countFeatures(GeometryEnvelope envelope,
String where)
Count the features within the geometry envelope
|
int |
countFeatures(GeometryEnvelope envelope,
String where,
String[] whereArgs)
Count the features within the geometry envelope
|
int |
countFeatures(Map<String,Object> fieldValues)
Count features
|
int |
countFeatures(String where)
Count features
|
int |
countFeatures(String column,
BoundingBox boundingBox)
Count the features within the bounding box
|
int |
countFeatures(String column,
BoundingBox boundingBox,
Map<String,Object> fieldValues)
Count the features within the bounding box
|
int |
countFeatures(String column,
BoundingBox boundingBox,
Projection projection)
Count the features within the bounding box in the provided projection
|
int |
countFeatures(String column,
BoundingBox boundingBox,
Projection projection,
Map<String,Object> fieldValues)
Count the features within the bounding box in the provided projection
|
int |
countFeatures(String column,
BoundingBox boundingBox,
Projection projection,
String where)
Count the features within the bounding box in the provided projection
|
int |
countFeatures(String column,
BoundingBox boundingBox,
Projection projection,
String where,
String[] whereArgs)
Count the features within the bounding box in the provided projection
|
int |
countFeatures(String column,
BoundingBox boundingBox,
String where)
Count the features within the bounding box
|
int |
countFeatures(String column,
BoundingBox boundingBox,
String where,
String[] whereArgs)
Count the features within the bounding box
|
int |
countFeatures(String column,
GeometryEnvelope envelope)
Count the features within the geometry envelope
|
int |
countFeatures(String column,
GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Count the features within the geometry envelope
|
int |
countFeatures(String column,
GeometryEnvelope envelope,
String where)
Count the features within the geometry envelope
|
int |
countFeatures(String column,
GeometryEnvelope envelope,
String where,
String[] whereArgs)
Count the features within the geometry envelope
|
int |
countFeatures(String column,
Map<String,Object> fieldValues)
Count features
|
int |
countFeatures(String column,
String where)
Count features
|
int |
countFeatures(String where,
String[] whereArgs)
Count features
|
int |
countFeatures(String column,
String where,
String[] whereArgs)
Count features
|
boolean |
deleteIndex()
Delete the feature table index
|
boolean |
deleteIndex(FeatureRow row)
Delete the index for the feature row
|
boolean |
deleteIndex(long geomId)
Delete the index for the geometry id
|
BoundingBox |
getBoundingBox()
Query for the bounds of the feature table index
|
BoundingBox |
getBoundingBox(Projection projection)
Query for the feature index bounds and return in the provided projection
|
int |
getChunkLimit()
Get the SQL query chunk limit
|
FeatureRow |
getFeatureRow(Cursor cursor)
Get the feature row for the current place in the cursor
|
FeatureRow |
getFeatureRow(GeometryMetadata geometryMetadata)
Get the feature row for the Geometry Metadata
|
long |
getGeometryId(Cursor cursor)
Get the Geometry Metadata id for the current place in the cursor
|
GeometryMetadata |
getGeometryMetadata(Cursor cursor)
Get the Geometry Metadata for the current place in the cursor
|
Date |
getLastIndexed()
Get the date last indexed
|
double |
getTolerance()
Get the query range tolerance
|
int |
index()
Index the feature table if needed
|
int |
index(boolean force)
Index the feature table
|
boolean |
index(FeatureRow row)
Index the feature row.
|
boolean |
isIndexed()
Determine if the database table is indexed after database modifications
|
Cursor |
query()
Query for all Geometry Metadata
|
Cursor |
query(BoundingBox boundingBox)
Query for Geometry Metadata within the bounding box, projected
correctly
|
Cursor |
query(BoundingBox boundingBox,
Projection projection)
Query for Geometry Metadata within the bounding box in
the provided projection
|
Cursor |
query(GeometryEnvelope envelope)
Query for Geometry Metadata within the Geometry Envelope
|
Cursor |
query(String[] columns)
Query for all Geometry Metadata
|
Cursor |
query(String[] columns,
BoundingBox boundingBox)
Query for Geometry Metadata within the bounding box, projected
correctly
|
Cursor |
query(String[] columns,
BoundingBox boundingBox,
Projection projection)
Query for Geometry Metadata within the bounding box in
the provided projection
|
Cursor |
query(String[] columns,
GeometryEnvelope envelope)
Query for Geometry Metadata within the Geometry Envelope
|
FeatureCursor |
queryFeatures()
Query for all features
|
FeatureCursor |
queryFeatures(boolean distinct)
Query for all features
|
FeatureCursor |
queryFeatures(boolean distinct,
BoundingBox boundingBox)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(boolean distinct,
BoundingBox boundingBox,
Map<String,Object> fieldValues)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(boolean distinct,
BoundingBox boundingBox,
Projection projection)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(boolean distinct,
BoundingBox boundingBox,
Projection projection,
Map<String,Object> fieldValues)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(boolean distinct,
BoundingBox boundingBox,
Projection projection,
String where)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(boolean distinct,
BoundingBox boundingBox,
Projection projection,
String where,
String[] whereArgs)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(boolean distinct,
BoundingBox boundingBox,
String where)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(boolean distinct,
BoundingBox boundingBox,
String where,
String[] whereArgs)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(boolean distinct,
GeometryEnvelope envelope)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(boolean distinct,
GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(boolean distinct,
GeometryEnvelope envelope,
String where)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(boolean distinct,
GeometryEnvelope envelope,
String where,
String[] whereArgs)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(boolean distinct,
Map<String,Object> fieldValues)
Query for features
|
FeatureCursor |
queryFeatures(boolean distinct,
String where)
Query for features
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns)
Query for all features
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
BoundingBox boundingBox)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
BoundingBox boundingBox,
Map<String,Object> fieldValues)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
BoundingBox boundingBox,
Projection projection)
Query for features within the bounding box in the provided projection
|
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
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
BoundingBox boundingBox,
Projection projection,
String where)
Query for features within the bounding box in the provided projection
|
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
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
BoundingBox boundingBox,
String where)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
BoundingBox boundingBox,
String where,
String[] whereArgs)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
GeometryEnvelope envelope)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
GeometryEnvelope envelope,
String where)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
GeometryEnvelope envelope,
String where,
String[] whereArgs)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
Map<String,Object> fieldValues)
Query for features
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
String where)
Query for features
|
FeatureCursor |
queryFeatures(boolean distinct,
String[] columns,
String where,
String[] whereArgs)
Query for features
|
FeatureCursor |
queryFeatures(boolean distinct,
String where,
String[] whereArgs)
Query for features
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
Map<String,Object> fieldValues)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
Projection projection)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
Projection projection,
Map<String,Object> fieldValues)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
Projection projection,
String where)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
Projection projection,
String where,
String[] whereArgs)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
String where)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
String where,
String[] whereArgs)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(GeometryEnvelope envelope)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(GeometryEnvelope envelope,
String where)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(GeometryEnvelope envelope,
String where,
String[] whereArgs)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(Map<String,Object> fieldValues)
Query for features
|
FeatureCursor |
queryFeatures(String where)
Query for features
|
FeatureCursor |
queryFeatures(String[] columns)
Query for all features
|
FeatureCursor |
queryFeatures(String[] columns,
BoundingBox boundingBox)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(String[] columns,
BoundingBox boundingBox,
Map<String,Object> fieldValues)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(String[] columns,
BoundingBox boundingBox,
Projection projection)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(String[] columns,
BoundingBox boundingBox,
Projection projection,
Map<String,Object> fieldValues)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(String[] columns,
BoundingBox boundingBox,
Projection projection,
String where)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(String[] columns,
BoundingBox boundingBox,
Projection projection,
String where,
String[] whereArgs)
Query for features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(String[] columns,
BoundingBox boundingBox,
String where)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(String[] columns,
BoundingBox boundingBox,
String where,
String[] whereArgs)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(String[] columns,
GeometryEnvelope envelope)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(String[] columns,
GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(String[] columns,
GeometryEnvelope envelope,
String where)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(String[] columns,
GeometryEnvelope envelope,
String where,
String[] whereArgs)
Query for features within the geometry envelope
|
FeatureCursor |
queryFeatures(String[] columns,
Map<String,Object> fieldValues)
Query for features
|
FeatureCursor |
queryFeatures(String[] columns,
String where)
Query for features
|
FeatureCursor |
queryFeatures(String[] columns,
String where,
String[] whereArgs)
Query for features
|
FeatureCursor |
queryFeatures(String where,
String[] whereArgs)
Query for features
|
Cursor |
queryIds()
Query for all Geometry Metadata ids
|
Cursor |
queryIds(BoundingBox boundingBox)
Query for Geometry Metadata ids within the bounding box, projected
correctly
|
Cursor |
queryIds(BoundingBox boundingBox,
Projection projection)
Query for Geometry Metadata ids within the bounding box in
the provided projection
|
Cursor |
queryIds(GeometryEnvelope envelope)
Query for Geometry Metadata idswithin the Geometry Envelope
|
void |
setChunkLimit(int chunkLimit)
Set the SQL query chunk limit
|
void |
setProgress(GeoPackageProgress progress)
Set the progress tracker
|
void |
setTolerance(double tolerance)
Set the query range tolerance
|
public FeatureIndexer(Context context, FeatureDao featureDao)
context - contextfeatureDao - feature daopublic void close()
public void setProgress(GeoPackageProgress progress)
progress - progress trackerpublic int getChunkLimit()
public void setChunkLimit(int chunkLimit)
chunkLimit - chunk limitpublic int index()
public int index(boolean force)
force - true to force re-indexingpublic boolean index(FeatureRow row)
row - feature rowpublic boolean deleteIndex()
public boolean deleteIndex(FeatureRow row)
row - feature rowpublic boolean deleteIndex(long geomId)
geomId - geometry idpublic boolean isIndexed()
public Date getLastIndexed()
public Cursor query()
public Cursor query(String[] columns)
columns - columnspublic Cursor queryIds()
public long count()
public FeatureCursor queryFeatures()
public FeatureCursor queryFeatures(boolean distinct)
distinct - distinct rowspublic FeatureCursor queryFeatures(String[] columns)
columns - columnspublic FeatureCursor queryFeatures(boolean distinct, String[] columns)
distinct - distinct rowscolumns - columnspublic int countFeatures()
public int countColumnFeatures(String column)
column - count column namepublic int countFeatures(boolean distinct,
String column)
distinct - distinct column valuescolumn - count column namepublic FeatureCursor queryFeatures(Map<String,Object> fieldValues)
fieldValues - field valuespublic FeatureCursor queryFeatures(boolean distinct, Map<String,Object> fieldValues)
distinct - distinct rowsfieldValues - field valuespublic FeatureCursor queryFeatures(String[] columns, Map<String,Object> fieldValues)
columns - columnsfieldValues - field valuespublic FeatureCursor queryFeatures(boolean distinct, String[] columns, Map<String,Object> fieldValues)
distinct - distinct rowscolumns - columnsfieldValues - field valuespublic int countFeatures(Map<String,Object> fieldValues)
fieldValues - field valuespublic int countFeatures(String column, Map<String,Object> fieldValues)
column - count column namefieldValues - field valuespublic int countFeatures(boolean distinct,
String column,
Map<String,Object> fieldValues)
distinct - distinct column valuescolumn - count column namefieldValues - field valuespublic FeatureCursor queryFeatures(String where)
where - where clausepublic FeatureCursor queryFeatures(boolean distinct, String where)
distinct - distinct rowswhere - where clausepublic FeatureCursor queryFeatures(String[] columns, String where)
columns - columnswhere - where clausepublic FeatureCursor queryFeatures(boolean distinct, String[] columns, String where)
distinct - distinct rowscolumns - columnswhere - where clausepublic int countFeatures(String where)
where - where clausepublic int countFeatures(String column, String where)
column - count column namewhere - where clausepublic int countFeatures(boolean distinct,
String column,
String where)
distinct - distinct column valuescolumn - count column namewhere - where clausepublic FeatureCursor queryFeatures(String where, String[] whereArgs)
where - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(boolean distinct, String where, String[] whereArgs)
distinct - distinct rowswhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(String[] columns, String where, String[] whereArgs)
columns - columnswhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(boolean distinct, String[] columns, String where, String[] whereArgs)
distinct - distinct rowscolumns - columnswhere - where clausewhereArgs - where argumentspublic int countFeatures(String where, String[] whereArgs)
where - where clausewhereArgs - where argumentspublic int countFeatures(String column, String where, String[] whereArgs)
column - count column namewhere - where clausewhereArgs - where argumentspublic int countFeatures(boolean distinct,
String column,
String where,
String[] whereArgs)
distinct - distinct column valuescolumn - count column namewhere - where clausewhereArgs - where argumentspublic BoundingBox getBoundingBox()
public BoundingBox getBoundingBox(Projection projection)
projection - desired projectionpublic Cursor query(BoundingBox boundingBox)
boundingBox - bounding boxpublic Cursor query(String[] columns, BoundingBox boundingBox)
columns - columnsboundingBox - bounding boxpublic Cursor queryIds(BoundingBox boundingBox)
boundingBox - bounding boxpublic long count(BoundingBox boundingBox)
boundingBox - bounding boxpublic FeatureCursor queryFeatures(BoundingBox boundingBox)
boundingBox - bounding boxpublic FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox)
distinct - distinct rowsboundingBox - bounding boxpublic FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox)
columns - columnsboundingBox - bounding boxpublic FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox)
distinct - distinct rowscolumns - columnsboundingBox - bounding boxpublic int countFeatures(BoundingBox boundingBox)
boundingBox - bounding boxpublic int countFeatures(String column, BoundingBox boundingBox)
column - count column nameboundingBox - bounding boxpublic int countFeatures(boolean distinct,
String column,
BoundingBox boundingBox)
distinct - distinct column valuescolumn - count column nameboundingBox - bounding boxpublic FeatureCursor queryFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)
boundingBox - bounding boxfieldValues - field valuespublic FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Map<String,Object> fieldValues)
distinct - distinct rowsboundingBox - bounding boxfieldValues - field valuespublic FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)
columns - columnsboundingBox - bounding boxfieldValues - field valuespublic FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)
distinct - distinct rowscolumns - columnsboundingBox - bounding boxfieldValues - field valuespublic int countFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)
boundingBox - bounding boxfieldValues - field valuespublic int countFeatures(String column, BoundingBox boundingBox, Map<String,Object> fieldValues)
column - count column nameboundingBox - bounding boxfieldValues - field valuespublic int countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
Map<String,Object> fieldValues)
distinct - distinct column valuescolumn - count column nameboundingBox - bounding boxfieldValues - field valuespublic FeatureCursor queryFeatures(BoundingBox boundingBox, String where)
boundingBox - bounding boxwhere - where clausepublic FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, String where)
distinct - distinct rowsboundingBox - bounding boxwhere - where clausepublic FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, String where)
columns - columnsboundingBox - bounding boxwhere - where clausepublic FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where)
distinct - distinct rowscolumns - columnsboundingBox - bounding boxwhere - where clausepublic int countFeatures(BoundingBox boundingBox, String where)
boundingBox - bounding boxwhere - where clausepublic int countFeatures(String column, BoundingBox boundingBox, String where)
column - count column nameboundingBox - bounding boxwhere - where clausepublic int countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
String where)
distinct - distinct column valuescolumn - count column nameboundingBox - bounding boxwhere - where clausepublic FeatureCursor queryFeatures(BoundingBox boundingBox, String where, String[] whereArgs)
boundingBox - bounding boxwhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, String where, String[] whereArgs)
distinct - distinct rowsboundingBox - bounding boxwhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)
columns - columnsboundingBox - bounding boxwhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)
distinct - distinct rowscolumns - columnsboundingBox - bounding boxwhere - where clausewhereArgs - where argumentspublic int countFeatures(BoundingBox boundingBox, String where, String[] whereArgs)
boundingBox - bounding boxwhere - where clausewhereArgs - where argumentspublic int countFeatures(String column, BoundingBox boundingBox, String where, String[] whereArgs)
column - count column nameboundingBox - bounding boxwhere - where clausewhereArgs - where argumentspublic int countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
String where,
String[] whereArgs)
distinct - distinct column valuescolumn - count column nameboundingBox - bounding boxwhere - where clausewhereArgs - where argumentspublic Cursor query(BoundingBox boundingBox, Projection projection)
boundingBox - bounding boxprojection - projection of the provided bounding boxpublic Cursor query(String[] columns, BoundingBox boundingBox, Projection projection)
columns - columnsboundingBox - bounding boxprojection - projection of the provided bounding boxpublic Cursor queryIds(BoundingBox boundingBox, Projection projection)
boundingBox - bounding boxprojection - projection of the provided bounding boxpublic long count(BoundingBox boundingBox, Projection projection)
boundingBox - bounding boxprojection - projection of the provided bounding boxpublic FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection)
boundingBox - bounding boxprojection - projectionpublic FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection)
distinct - distinct rowsboundingBox - bounding boxprojection - projectionpublic FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection)
columns - columnsboundingBox - bounding boxprojection - projectionpublic FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection)
distinct - distinct rowscolumns - columnsboundingBox - bounding boxprojection - projectionpublic int countFeatures(BoundingBox boundingBox, Projection projection)
boundingBox - bounding boxprojection - projectionpublic int countFeatures(String column, BoundingBox boundingBox, Projection projection)
column - count column nameboundingBox - bounding boxprojection - projectionpublic int countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
Projection projection)
distinct - distinct column valuescolumn - count column nameboundingBox - bounding boxprojection - projectionpublic FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
boundingBox - bounding boxprojection - projectionfieldValues - field valuespublic FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
distinct - distinct rowsboundingBox - bounding boxprojection - projectionfieldValues - field valuespublic FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
columns - columnsboundingBox - bounding boxprojection - projectionfieldValues - field valuespublic FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
distinct - distinct rowscolumns - columnsboundingBox - bounding boxprojection - projectionfieldValues - field valuespublic int countFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
boundingBox - bounding boxprojection - projectionfieldValues - field valuespublic int countFeatures(String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
column - count column nameboundingBox - bounding boxprojection - projectionfieldValues - field valuespublic int countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
Projection projection,
Map<String,Object> fieldValues)
distinct - distinct column valuescolumn - count column nameboundingBox - bounding boxprojection - projectionfieldValues - field valuespublic FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection, String where)
boundingBox - bounding boxprojection - projectionwhere - where clausepublic FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where)
distinct - distinct rowsboundingBox - bounding boxprojection - projectionwhere - where clausepublic FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where)
columns - columnsboundingBox - bounding boxprojection - projectionwhere - where clausepublic FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where)
distinct - distinct rowscolumns - columnsboundingBox - bounding boxprojection - projectionwhere - where clausepublic int countFeatures(BoundingBox boundingBox, Projection projection, String where)
boundingBox - bounding boxprojection - projectionwhere - where clausepublic int countFeatures(String column, BoundingBox boundingBox, Projection projection, String where)
column - count column nameboundingBox - bounding boxprojection - projectionwhere - where clausepublic int countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
Projection projection,
String where)
distinct - distinct column valuescolumn - count column nameboundingBox - bounding boxprojection - projectionwhere - where clausepublic FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
boundingBox - bounding boxprojection - projectionwhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
distinct - distinct rowsboundingBox - bounding boxprojection - projectionwhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
columns - columnsboundingBox - bounding boxprojection - projectionwhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
distinct - distinct rowscolumns - columnsboundingBox - bounding boxprojection - projectionwhere - where clausewhereArgs - where argumentspublic int countFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
boundingBox - bounding boxprojection - projectionwhere - where clausewhereArgs - where argumentspublic int countFeatures(String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
column - count column nameboundingBox - bounding boxprojection - projectionwhere - where clausewhereArgs - where argumentspublic int countFeatures(boolean distinct,
String column,
BoundingBox boundingBox,
Projection projection,
String where,
String[] whereArgs)
distinct - distinct column valuescolumn - count column nameboundingBox - bounding boxprojection - projectionwhere - where clausewhereArgs - where argumentspublic Cursor query(GeometryEnvelope envelope)
envelope - geometry envelopepublic Cursor query(String[] columns, GeometryEnvelope envelope)
columns - columnsenvelope - geometry envelopepublic Cursor queryIds(GeometryEnvelope envelope)
envelope - geometry envelopepublic long count(GeometryEnvelope envelope)
envelope - geometry envelopepublic FeatureCursor queryFeatures(GeometryEnvelope envelope)
envelope - geometry envelopepublic FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope)
distinct - distinct column valuesenvelope - geometry envelopepublic FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope)
columns - columnsenvelope - geometry envelopepublic FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope)
distinct - distinct column valuescolumns - columnsenvelope - geometry envelopepublic int countFeatures(GeometryEnvelope envelope)
envelope - geometry envelopepublic int countFeatures(String column, GeometryEnvelope envelope)
column - count column nameenvelope - geometry envelopepublic int countFeatures(boolean distinct,
String column,
GeometryEnvelope envelope)
distinct - distinct column valuescolumn - count column nameenvelope - geometry envelopepublic FeatureCursor queryFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)
envelope - geometry envelopefieldValues - field valuespublic FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope, Map<String,Object> fieldValues)
distinct - distinct rowsenvelope - geometry envelopefieldValues - field valuespublic FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)
columns - columnsenvelope - geometry envelopefieldValues - field valuespublic FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)
distinct - distinct rowscolumns - columnsenvelope - geometry envelopefieldValues - field valuespublic int countFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)
envelope - geometry envelopefieldValues - field valuespublic int countFeatures(String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)
column - count column nameenvelope - geometry envelopefieldValues - field valuespublic int countFeatures(boolean distinct,
String column,
GeometryEnvelope envelope,
Map<String,Object> fieldValues)
distinct - distinct column valuescolumn - count column nameenvelope - geometry envelopefieldValues - field valuespublic FeatureCursor queryFeatures(GeometryEnvelope envelope, String where)
envelope - geometry envelopewhere - where clausepublic FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope, String where)
distinct - distinct rowsenvelope - geometry envelopewhere - where clausepublic FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope, String where)
columns - columnsenvelope - geometry envelopewhere - where clausepublic FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where)
distinct - distinct rowscolumns - columnsenvelope - geometry envelopewhere - where clausepublic int countFeatures(GeometryEnvelope envelope, String where)
envelope - geometry envelopewhere - where clausepublic int countFeatures(String column, GeometryEnvelope envelope, String where)
column - count column nameenvelope - geometry envelopewhere - where clausepublic int countFeatures(boolean distinct,
String column,
GeometryEnvelope envelope,
String where)
distinct - distinct column valuescolumn - count column nameenvelope - geometry envelopewhere - where clausepublic FeatureCursor queryFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)
envelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope, String where, String[] whereArgs)
distinct - distinct rowsenvelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)
columns - columnsenvelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)
distinct - distinct rowscolumns - columnsenvelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic int countFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)
envelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic int countFeatures(String column, GeometryEnvelope envelope, String where, String[] whereArgs)
column - count column nameenvelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic int countFeatures(boolean distinct,
String column,
GeometryEnvelope envelope,
String where,
String[] whereArgs)
distinct - distinct column valuescolumn - count column nameenvelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic GeometryMetadata getGeometryMetadata(Cursor cursor)
cursor - cursorpublic long getGeometryId(Cursor cursor)
cursor - cursorpublic FeatureRow getFeatureRow(Cursor cursor)
cursor - cursorpublic FeatureRow getFeatureRow(GeometryMetadata geometryMetadata)
geometryMetadata - geometry metadatapublic double getTolerance()
public void setTolerance(double tolerance)
tolerance - query range tolerance