public class FeatureTableIndex extends FeatureTableCoreIndex
chunkLimit, EXTENSION_AUTHOR, EXTENSION_DEFINITION, EXTENSION_NAME, EXTENSION_NAME_NO_AUTHOR, progress, toleranceextensionsDao, geoPackage| Constructor and Description |
|---|
FeatureTableIndex(GeoPackage geoPackage,
FeatureDao featureDao)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the table index
|
int |
countFeatures(BoundingBox boundingBox)
Count the Features within the bounding box, projected correctly
|
int |
countFeatures(BoundingBox boundingBox,
Map<String,Object> fieldValues)
Count the Features within the bounding box, projected correctly
|
int |
countFeatures(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection)
Count the Features within the bounding box in the provided projection
|
int |
countFeatures(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection,
Map<String,Object> fieldValues)
Count the Features within the bounding box in the provided projection
|
int |
countFeatures(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection,
String where)
Count the Features within the bounding box in the provided projection
|
int |
countFeatures(BoundingBox boundingBox,
mil.nga.sf.proj.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, projected correctly
|
int |
countFeatures(BoundingBox boundingBox,
String where,
String[] whereArgs)
Count the Features within the bounding box, projected correctly
|
int |
countFeatures(mil.nga.sf.GeometryEnvelope envelope)
Count the Features within the Geometry Envelope
|
int |
countFeatures(mil.nga.sf.GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Count the Features within the Geometry Envelope
|
int |
countFeatures(mil.nga.sf.GeometryEnvelope envelope,
String where)
Count the Features within the Geometry Envelope
|
int |
countFeatures(mil.nga.sf.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 where,
String[] whereArgs)
Count features
|
int |
deleteIndex(FeatureRow row)
Delete the index for the feature row
|
FeatureRow |
getFeatureRow(GeometryIndex geometryIndex)
Get the feature row for the Geometry Index
|
mil.nga.sf.proj.Projection |
getProjection() |
boolean |
index(FeatureRow row)
Index the feature row.
|
protected int |
indexTable(TableIndex tableIndex) |
FeatureCursor |
queryFeatures()
Query for all Features
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox)
Query for Features within the bounding box, projected correctly
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
Map<String,Object> fieldValues)
Query for Features within the bounding box, projected correctly
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection)
Query for Features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection,
Map<String,Object> fieldValues)
Query for Features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection,
String where)
Query for Features within the bounding box in the provided projection
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
mil.nga.sf.proj.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, projected correctly
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
String where,
String[] whereArgs)
Query for Features within the bounding box, projected correctly
|
FeatureCursor |
queryFeatures(mil.nga.sf.GeometryEnvelope envelope)
Query for Features within the Geometry Envelope
|
FeatureCursor |
queryFeatures(mil.nga.sf.GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Query for Features within the Geometry Envelope
|
FeatureCursor |
queryFeatures(mil.nga.sf.GeometryEnvelope envelope,
String where)
Query for Features within the Geometry Envelope
|
FeatureCursor |
queryFeatures(mil.nga.sf.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 where,
String[] whereArgs)
Query for features
|
count, count, count, count, deleteIndex, deleteIndex, getBoundingBox, getBoundingBox, getChunkLimit, getColumnName, getExtension, getFeatureBoundingBox, getGeoPackage, getLastIndexed, getTableIndex, getTableName, getTolerance, index, index, index, isIndexed, query, query, query, query, queryBuilder, queryBuilder, queryIdsSQL, queryIdsSQL, setChunkLimit, setProgress, setTolerance, updateLastIndexedget, getExtensions, getExtensions, getExtensionsDao, getOrCreate, has, has, haspublic FeatureTableIndex(GeoPackage geoPackage, FeatureDao featureDao)
geoPackage - GeoPackagefeatureDao - feature daopublic mil.nga.sf.proj.Projection getProjection()
getProjection in class FeatureTableCoreIndexpublic void close()
public boolean index(FeatureRow row)
row - feature rowprotected int indexTable(TableIndex tableIndex)
indexTable in class FeatureTableCoreIndexpublic int deleteIndex(FeatureRow row)
row - feature rowpublic FeatureRow getFeatureRow(GeometryIndex geometryIndex)
geometryIndex - geometry indexpublic FeatureCursor queryFeatures()
public FeatureCursor queryFeatures(Map<String,Object> fieldValues)
fieldValues - field valuespublic int countFeatures(Map<String,Object> fieldValues)
fieldValues - field valuespublic FeatureCursor queryFeatures(String where)
where - where clausepublic int countFeatures(String where)
where - where clausepublic FeatureCursor queryFeatures(String where, String[] whereArgs)
where - where clausewhereArgs - where argumentspublic int countFeatures(String where, String[] whereArgs)
where - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(BoundingBox boundingBox)
boundingBox - bounding boxpublic int countFeatures(BoundingBox boundingBox)
boundingBox - bounding boxpublic FeatureCursor queryFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)
boundingBox - bounding boxfieldValues - field valuespublic int countFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)
boundingBox - bounding boxfieldValues - field valuespublic FeatureCursor queryFeatures(BoundingBox boundingBox, String where)
boundingBox - bounding boxwhere - where clausepublic int countFeatures(BoundingBox boundingBox, String where)
boundingBox - bounding boxwhere - where clausepublic FeatureCursor queryFeatures(BoundingBox boundingBox, String where, String[] whereArgs)
boundingBox - bounding boxwhere - where clausewhereArgs - where argumentspublic int countFeatures(BoundingBox boundingBox, String where, String[] whereArgs)
boundingBox - bounding boxwhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection)
boundingBox - bounding boxprojection - projection of the provided bounding boxpublic int countFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection)
boundingBox - bounding boxprojection - projection of the provided bounding boxpublic FeatureCursor queryFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, Map<String,Object> fieldValues)
boundingBox - bounding boxprojection - projection of the provided bounding boxfieldValues - field valuespublic int countFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, Map<String,Object> fieldValues)
boundingBox - bounding boxprojection - projection of the provided bounding boxfieldValues - field valuespublic FeatureCursor queryFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, String where)
boundingBox - bounding boxprojection - projection of the provided bounding boxwhere - where clausepublic int countFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, String where)
boundingBox - bounding boxprojection - projection of the provided bounding boxwhere - where clausepublic FeatureCursor queryFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, String where, String[] whereArgs)
boundingBox - bounding boxprojection - projection of the provided bounding boxwhere - where clausewhereArgs - where argumentspublic int countFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, String where, String[] whereArgs)
boundingBox - bounding boxprojection - projection of the provided bounding boxwhere - where clausewhereArgs - where argumentspublic FeatureCursor queryFeatures(mil.nga.sf.GeometryEnvelope envelope)
envelope - geometry envelopepublic int countFeatures(mil.nga.sf.GeometryEnvelope envelope)
envelope - geometry envelopepublic FeatureCursor queryFeatures(mil.nga.sf.GeometryEnvelope envelope, Map<String,Object> fieldValues)
envelope - geometry envelopefieldValues - field valuespublic int countFeatures(mil.nga.sf.GeometryEnvelope envelope,
Map<String,Object> fieldValues)
envelope - geometry envelopefieldValues - field valuespublic FeatureCursor queryFeatures(mil.nga.sf.GeometryEnvelope envelope, String where)
envelope - geometry envelopewhere - where clausepublic int countFeatures(mil.nga.sf.GeometryEnvelope envelope,
String where)
envelope - geometry envelopewhere - where clausepublic FeatureCursor queryFeatures(mil.nga.sf.GeometryEnvelope envelope, String where, String[] whereArgs)
envelope - geometry envelopewhere - where clausewhereArgs - where arguments