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() |
long |
count(BoundingBox boundingBox)
Count the rows within the bounding box
|
long |
count(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection)
Count the rows within the bounding box in the provided projection
|
long |
count(double minX,
double minY,
double maxX,
double maxY)
Count the rows within the bounds
|
long |
count(mil.nga.sf.GeometryEnvelope envelope)
Count the rows within the geometry envelope
|
int |
count(String where,
String[] args) |
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) |
UserCustomCursor |
queryForAll() |
UserCustomCursor |
rawQuery(String sql,
String[] selectionArgs)
Perform a raw query
|
void |
setProgress(GeoPackageProgress progress)
Set the progress tracker
|
void |
setTolerance(double tolerance)
Set the query range tolerance
|
count, getUserDb, newRow, readTable, registerCursorWrappergetDatabaseConnection, getDb, insert, insert, insertOrThrow, isInvalidRequery, prepareResult, query, query, queryForIdRow, setInvalidRequery, update, updatebuildColumnsAs, buildColumnsAs, buildColumnsAs, buildColumnsAs, buildColumnsAs, buildColumnsAsNull, buildColumnsAsNull, buildLimit, buildValueWhere, buildValueWhereArgs, buildWhere, buildWhere, buildWhere, buildWhere, buildWhereArgs, buildWhereArgs, buildWhereArgs, buildWhereArgs, buildWhereLike, buildWhereLike, create, delete, delete, delete, deleteAll, deleteById, dropTable, getDatabase, getPkWhere, getPkWhereArgs, getProjection, getTable, getTableName, getZoomLevel, max, min, projectBoundingBox, query, query, queryForAll, queryForChunk, queryForChunk, queryForEq, queryForEq, queryForEq, queryForFieldValues, queryForId, queryForLike, queryForLike, queryForLike, queryForValueFieldValues, 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, queryTypedResults, queryTypedResults, queryTypedResults, queryTypedResultsprotected 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 rawQuery(String sql, String[] selectionArgs)
sql - sql statementselectionArgs - selection argumentspublic 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()
count in class UserCoreDao<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>public int count(String where, String[] args)
count in class UserCoreDao<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>public 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 UserCustomCursor query(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection)
boundingBox - bounding boxprojection - projectionpublic long count(BoundingBox boundingBox)
boundingBox - bounding boxpublic long count(BoundingBox boundingBox, mil.nga.sf.proj.Projection projection)
boundingBox - bounding boxprojection - projectionpublic UserCustomCursor query(mil.nga.sf.GeometryEnvelope envelope)
envelope - geometry envelopepublic long count(mil.nga.sf.GeometryEnvelope envelope)
envelope - geometry envelopepublic UserCustomCursor query(double minX, double minY, double maxX, double maxY)
minX - min xminY - min ymaxX - max xmaxY - max ypublic long count(double minX,
double minY,
double maxX,
double maxY)
minX - min xminY - min ymaxX - max xmaxY - max y