public class RTreeIndexTableDao extends UserCustomDao
| Modifier and Type | Field and Description |
|---|---|
protected GeoPackageProgress |
progress
Progress
|
protected double |
tolerance
Query range tolerance
|
userDbprojection| Modifier and Type | Method and Description |
|---|---|
int |
count(BoundingBox boundingBox)
Count the rows within the bounding box
|
int |
count(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection)
Count the rows within the bounding box in the provided projection
|
int |
count(double minX,
double minY,
double maxX,
double maxY)
Count the rows within the bounds
|
int |
count(mil.nga.sf.GeometryEnvelope envelope)
Count the rows within the geometry envelope
|
int |
count(String where,
String[] args) |
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,
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
|
int |
countFeatures(BoundingBox boundingBox,
String where,
String[] whereArgs)
Count the features within the bounding box
|
int |
countFeatures(double minX,
double minY,
double maxX,
double maxY)
Count the features within the bounds
|
int |
countFeatures(double minX,
double minY,
double maxX,
double maxY,
Map<String,Object> fieldValues)
Count the features within the bounds
|
int |
countFeatures(double minX,
double minY,
double maxX,
double maxY,
String where)
Count the features within the bounds
|
int |
countFeatures(double minX,
double minY,
double maxX,
double maxY,
String where,
String[] whereArgs)
Count the features within the bounds
|
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
|
Extensions |
create()
Create the RTree extension for the feature table
|
void |
delete()
Delete the RTree extension for the feature table
|
BoundingBox |
getBoundingBox() |
BoundingBox |
getBoundingBox(mil.nga.sf.proj.Projection projection) |
FeatureDao |
getFeatureDao()
Get the feature DAO
|
FeatureRow |
getFeatureRow(RTreeIndexTableRow row)
Get the feature row from the RTree Index Table row
|
FeatureRow |
getFeatureRow(UserCustomCursor cursor)
Get the feature row from the RTree Index Table row
|
FeatureRow |
getFeatureRow(UserCustomRow row)
Get the feature row from the user custom row
|
RTreeIndexTableRow |
getRow(UserCustomCursor cursor)
Get the RTree Index Table row from the current result set location
|
RTreeIndexTableRow |
getRow(UserCustomRow row)
Get the RTree Index Table row from the user custom row
|
RTreeIndexExtension |
getRTreeIndexExtension()
Get the RTree index extension
|
double |
getTolerance()
Get the query range tolerance
|
boolean |
has()
Determine if this feature table has the RTree extension
|
UserCustomCursor |
query(BoundingBox boundingBox)
Query for rows within the bounding box
|
UserCustomCursor |
query(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection)
Query for rows within the bounding box in the provided projection
|
UserCustomCursor |
query(double minX,
double minY,
double maxX,
double maxY)
Query for rows within the bounds
|
UserCustomCursor |
query(mil.nga.sf.GeometryEnvelope envelope)
Query for rows within the geometry envelope
|
UserCustomCursor |
query(String where,
String[] whereArgs) |
FeatureCursor |
queryFeatures()
Query for all 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,
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
|
FeatureCursor |
queryFeatures(BoundingBox boundingBox,
String where,
String[] whereArgs)
Query for features within the bounding box
|
FeatureCursor |
queryFeatures(double minX,
double minY,
double maxX,
double maxY)
Query for features within the bounds
|
FeatureCursor |
queryFeatures(double minX,
double minY,
double maxX,
double maxY,
Map<String,Object> fieldValues)
Query for features within the bounds
|
FeatureCursor |
queryFeatures(double minX,
double minY,
double maxX,
double maxY,
String where)
Query for features within the bounds
|
FeatureCursor |
queryFeatures(double minX,
double minY,
double maxX,
double maxY,
String where,
String[] whereArgs)
Query for features within the bounds
|
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
|
UserCustomCursor |
queryForAll() |
void |
setProgress(GeoPackageProgress progress)
Set the progress tracker
|
void |
setTolerance(double tolerance)
Set the query range tolerance
|
count, getUserDb, newRow, readTable, registerCursorWrapperbeginTransaction, commit, endTransaction, getDatabaseConnection, getDb, insert, insert, insertOrThrow, inTransaction, isInvalidRequery, prepareResult, query, query, queryForIdRow, renameTableColumn, setInvalidRequery, setUseBindings, update, updateaddColumn, alterColumn, alterColumns, buildColumnsAs, buildColumnsAs, buildColumnsAs, buildColumnsAs, buildColumnsAs, buildColumnsAsNull, buildColumnsAsNull, buildLimit, buildValueWhere, buildValueWhereArgs, buildWhere, buildWhere, buildWhere, buildWhere, buildWhereArgs, buildWhereArgs, buildWhereArgs, buildWhereArgs, buildWhereIn, buildWhereInArgs, buildWhereLike, buildWhereLike, count, count, countIn, countIn, countIn, countIn, countIn, countIn, countIn, countIn, create, delete, delete, delete, deleteAll, deleteById, dropColumn, dropColumn, dropColumn, dropColumnIndexes, dropColumnNames, dropColumns, dropTable, endAndBeginTransaction, endTransaction, failTransaction, getContents, getDatabase, getPkWhere, getPkWhereArgs, getProjection, getTable, getTableName, getZoomLevel, max, min, projectBoundingBox, query, query, query, queryForAll, queryForChunk, queryForChunk, queryForChunk, queryForChunk, queryForChunk, queryForEq, queryForEq, queryForEq, queryForFieldValues, queryForId, queryForLike, queryForLike, queryForLike, queryForValueFieldValues, queryIdsSQL, queryIdsSQL, queryIn, queryIn, queryIn, queryIn, queryIn, queryIn, queryIn, queryIn, queryResults, queryResults, queryResults, queryResults, querySingleColumnResults, querySingleColumnResults, querySingleColumnResults, querySingleColumnResults, querySingleColumnResults, querySingleColumnResults, querySingleColumnTypedResults, querySingleColumnTypedResults, querySingleColumnTypedResults, querySingleColumnTypedResults, querySingleColumnTypedResults, querySingleColumnTypedResults, querySingleResult, querySingleResult, querySingleResult, querySingleResult, querySingleRowResults, querySingleRowResults, querySingleRowTypedResults, querySingleRowTypedResults, querySingleTypedResult, querySingleTypedResult, querySingleTypedResult, querySingleTypedResult, querySQL, querySQL, querySQL, querySQL, queryTypedResults, queryTypedResults, queryTypedResults, queryTypedResults, renameColumn, renameColumn, renameColumnprotected GeoPackageProgress progress
protected double tolerance
public void setProgress(GeoPackageProgress progress)
progress - progress trackerpublic double getTolerance()
public void setTolerance(double tolerance)
tolerance - query range tolerancepublic boolean has()
public Extensions create()
public void delete()
public RTreeIndexExtension getRTreeIndexExtension()
public FeatureDao getFeatureDao()
public RTreeIndexTableRow getRow(UserCustomCursor cursor)
cursor - result cursorpublic RTreeIndexTableRow getRow(UserCustomRow row)
row - custom rowpublic FeatureRow getFeatureRow(RTreeIndexTableRow row)
row - RTree Index Table rowpublic FeatureRow getFeatureRow(UserCustomCursor cursor)
cursor - result cursorpublic FeatureRow getFeatureRow(UserCustomRow row)
row - custom rowpublic UserCustomCursor queryForAll()
queryForAll in class UserCoreDao<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>public UserCustomCursor query(String where, String[] whereArgs)
query in class UserCoreDao<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>public int count(String where, String[] args)
count in class UserCoreDao<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>public 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 BoundingBox getBoundingBox()
getBoundingBox in class UserCustomDaopublic BoundingBox getBoundingBox(mil.nga.sf.proj.Projection projection)
getBoundingBox in class UserCustomDaopublic UserCustomCursor query(BoundingBox boundingBox)
boundingBox - bounding boxpublic int count(BoundingBox boundingBox)
boundingBox - bounding boxpublic 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 UserCustomCursor query(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection)
boundingBox - bounding boxprojection - projectionpublic int count(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection)
boundingBox - bounding boxprojection - projectionpublic FeatureCursor queryFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection)
boundingBox - bounding boxprojection - projectionpublic int countFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection)
boundingBox - bounding boxprojection - projectionpublic FeatureCursor queryFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, Map<String,Object> fieldValues)
boundingBox - bounding boxprojection - projectionfieldValues - field valuespublic int countFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, Map<String,Object> fieldValues)
boundingBox - bounding boxprojection - projectionfieldValues - field valuespublic FeatureCursor queryFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, String where)
boundingBox - bounding boxprojection - projectionwhere - where clausepublic int countFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, String where)
boundingBox - bounding boxprojection - projectionwhere - where clausepublic FeatureCursor queryFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, String where, String[] whereArgs)
boundingBox - bounding boxprojection - projectionwhere - where clausewhereArgs - where argumentspublic int countFeatures(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection, String where, String[] whereArgs)
boundingBox - bounding boxprojection - projectionwhere - where clausewhereArgs - where argumentspublic UserCustomCursor query(mil.nga.sf.GeometryEnvelope envelope)
envelope - geometry envelopepublic int count(mil.nga.sf.GeometryEnvelope envelope)
envelope - geometry envelopepublic 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 argumentspublic int countFeatures(mil.nga.sf.GeometryEnvelope envelope,
String where,
String[] whereArgs)
envelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic UserCustomCursor query(double minX, double minY, double maxX, double maxY)
minX - min xminY - min ymaxX - max xmaxY - max ypublic int count(double minX,
double minY,
double maxX,
double maxY)
minX - min xminY - min ymaxX - max xmaxY - max ypublic FeatureCursor queryFeatures(double minX, double minY, double maxX, double maxY)
minX - min xminY - min ymaxX - max xmaxY - max ypublic int countFeatures(double minX,
double minY,
double maxX,
double maxY)
minX - min xminY - min ymaxX - max xmaxY - max ypublic FeatureCursor queryFeatures(double minX, double minY, double maxX, double maxY, Map<String,Object> fieldValues)
minX - min xminY - min ymaxX - max xmaxY - max yfieldValues - field valuespublic int countFeatures(double minX,
double minY,
double maxX,
double maxY,
Map<String,Object> fieldValues)
minX - min xminY - min ymaxX - max xmaxY - max yfieldValues - field valuespublic FeatureCursor queryFeatures(double minX, double minY, double maxX, double maxY, String where)
minX - min xminY - min ymaxX - max xmaxY - max ywhere - where clausepublic int countFeatures(double minX,
double minY,
double maxX,
double maxY,
String where)
minX - min xminY - min ymaxX - max xmaxY - max ywhere - where clausepublic FeatureCursor queryFeatures(double minX, double minY, double maxX, double maxY, String where, String[] whereArgs)
minX - min xminY - min ymaxX - max xmaxY - max ywhere - where clausewhereArgs - where argumentspublic int countFeatures(double minX,
double minY,
double maxX,
double maxY,
String where,
String[] whereArgs)
minX - min xminY - min ymaxX - max xmaxY - max ywhere - where clausewhereArgs - where arguments