public class ManualFeatureQuery extends Object
FeatureIndexManager for performing indexed queries.| Modifier and Type | Field and Description |
|---|---|
protected int |
chunkLimit
Query single chunk limit
|
protected double |
tolerance
Query range tolerance
|
| Constructor and Description |
|---|
ManualFeatureQuery(FeatureDao featureDao)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
count()
Get the count of features
|
long |
count(BoundingBox boundingBox)
Manually count the rows within the bounding box
|
long |
count(BoundingBox boundingBox,
Map<String,Object> fieldValues)
Manually count the rows within the bounding box
|
long |
count(BoundingBox boundingBox,
Projection projection)
Manually count the rows within the bounding box in the provided
projection
|
long |
count(BoundingBox boundingBox,
Projection projection,
Map<String,Object> fieldValues)
Manually count the rows within the bounding box in the provided
projection
|
long |
count(BoundingBox boundingBox,
Projection projection,
String where)
Manually count the rows within the bounding box in the provided
projection
|
long |
count(BoundingBox boundingBox,
Projection projection,
String where,
String[] whereArgs)
Manually count the rows within the bounding box in the provided
projection
|
long |
count(BoundingBox boundingBox,
String where)
Manually count the rows within the bounding box
|
long |
count(BoundingBox boundingBox,
String where,
String[] whereArgs)
Manually count the rows within the bounding box
|
long |
count(double minX,
double minY,
double maxX,
double maxY)
Manually count the rows within the bounds
|
long |
count(double minX,
double minY,
double maxX,
double maxY,
Map<String,Object> fieldValues)
Manually count the rows within the bounds
|
long |
count(double minX,
double minY,
double maxX,
double maxY,
String where)
Manually count the rows within the bounds
|
long |
count(double minX,
double minY,
double maxX,
double maxY,
String where,
String[] whereArgs)
Manually count the rows within the bounds
|
long |
count(GeometryEnvelope envelope)
Manually count the rows within the geometry envelope
|
long |
count(GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Manually count the rows within the geometry envelope
|
long |
count(GeometryEnvelope envelope,
String where)
Manually count the rows within the geometry envelope
|
long |
count(GeometryEnvelope envelope,
String where,
String[] whereArgs)
Manually count the rows within the geometry envelope
|
int |
count(Map<String,Object> fieldValues)
Count features
|
int |
count(String where)
Count features
|
int |
count(String where,
String[] whereArgs)
Count features
|
int |
countWithGeometries()
Get the count of features with non null geometries
|
BoundingBox |
getBoundingBox()
Manually build the bounds of the feature table
|
BoundingBox |
getBoundingBox(Projection projection)
Manually build the bounds of the feature table in the provided projection
|
int |
getChunkLimit()
Get the SQL query chunk limit
|
FeatureDao |
getFeatureDao()
Get the feature DAO
|
double |
getTolerance()
Get the query range tolerance
|
FeatureCursor |
query()
Query for features
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox)
Manually query for rows within the bounding box
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox,
Map<String,Object> fieldValues)
Manually query for rows within the bounding box
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox,
Projection projection)
Manually query for rows within the bounding box in the provided
projection
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox,
Projection projection,
Map<String,Object> fieldValues)
Manually query for rows within the bounding box in the provided
projection
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox,
Projection projection,
String where)
Manually query for rows within the bounding box in the provided
projection
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox,
Projection projection,
String where,
String[] whereArgs)
Manually query for rows within the bounding box in the provided
projection
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox,
String where)
Manually query for rows within the bounding box
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox,
String where,
String[] whereArgs)
Manually query for rows within the bounding box
|
ManualFeatureQueryResults |
query(double minX,
double minY,
double maxX,
double maxY)
Manually query for rows within the bounds
|
ManualFeatureQueryResults |
query(double minX,
double minY,
double maxX,
double maxY,
Map<String,Object> fieldValues)
Manually query for rows within the bounds
|
ManualFeatureQueryResults |
query(double minX,
double minY,
double maxX,
double maxY,
String where)
Manually query for rows within the bounds
|
ManualFeatureQueryResults |
query(double minX,
double minY,
double maxX,
double maxY,
String where,
String[] whereArgs)
Manually query for rows within the bounds
|
ManualFeatureQueryResults |
query(GeometryEnvelope envelope)
Manually query for rows within the geometry envelope
|
ManualFeatureQueryResults |
query(GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Manually query for rows within the geometry envelope
|
ManualFeatureQueryResults |
query(GeometryEnvelope envelope,
String where)
Manually query for rows within the geometry envelope
|
ManualFeatureQueryResults |
query(GeometryEnvelope envelope,
String where,
String[] whereArgs)
Manually query for rows within the geometry envelope
|
FeatureCursor |
query(Map<String,Object> fieldValues)
Query for features
|
FeatureCursor |
query(String where)
Query for features
|
FeatureCursor |
query(String[] columns)
Query for features
|
ManualFeatureQueryResults |
query(String[] columns,
BoundingBox boundingBox)
Manually query for rows within the bounding box
|
ManualFeatureQueryResults |
query(String[] columns,
BoundingBox boundingBox,
Map<String,Object> fieldValues)
Manually query for rows within the bounding box
|
ManualFeatureQueryResults |
query(String[] columns,
BoundingBox boundingBox,
Projection projection)
Manually query for rows within the bounding box in the provided
projection
|
ManualFeatureQueryResults |
query(String[] columns,
BoundingBox boundingBox,
Projection projection,
Map<String,Object> fieldValues)
Manually query for rows within the bounding box in the provided
projection
|
ManualFeatureQueryResults |
query(String[] columns,
BoundingBox boundingBox,
Projection projection,
String where)
Manually query for rows within the bounding box in the provided
projection
|
ManualFeatureQueryResults |
query(String[] columns,
BoundingBox boundingBox,
Projection projection,
String where,
String[] whereArgs)
Manually query for rows within the bounding box in the provided
projection
|
ManualFeatureQueryResults |
query(String[] columns,
BoundingBox boundingBox,
String where)
Manually query for rows within the bounding box
|
ManualFeatureQueryResults |
query(String[] columns,
BoundingBox boundingBox,
String where,
String[] whereArgs)
Manually query for rows within the bounding box
|
ManualFeatureQueryResults |
query(String[] columns,
double minX,
double minY,
double maxX,
double maxY)
Manually query for rows within the bounds
|
ManualFeatureQueryResults |
query(String[] columns,
double minX,
double minY,
double maxX,
double maxY,
Map<String,Object> fieldValues)
Manually query for rows within the bounds
|
ManualFeatureQueryResults |
query(String[] columns,
double minX,
double minY,
double maxX,
double maxY,
String where)
Manually query for rows within the bounds
|
ManualFeatureQueryResults |
query(String[] columns,
double minX,
double minY,
double maxX,
double maxY,
String where,
String[] whereArgs)
Manually query for rows within the bounds
|
ManualFeatureQueryResults |
query(String[] columns,
GeometryEnvelope envelope)
Manually query for rows within the geometry envelope
|
ManualFeatureQueryResults |
query(String[] columns,
GeometryEnvelope envelope,
Map<String,Object> fieldValues)
Manually query for rows within the geometry envelope
|
ManualFeatureQueryResults |
query(String[] columns,
GeometryEnvelope envelope,
String where)
Manually query for rows within the geometry envelope
|
ManualFeatureQueryResults |
query(String[] columns,
GeometryEnvelope envelope,
String where,
String[] whereArgs)
Manually query for rows within the geometry envelope
|
FeatureCursor |
query(String[] columns,
Map<String,Object> fieldValues)
Query for features
|
FeatureCursor |
query(String[] columns,
String where)
Query for features
|
FeatureCursor |
query(String[] columns,
String where,
String[] whereArgs)
Query for features
|
FeatureCursor |
query(String where,
String[] whereArgs)
Query for features
|
void |
setChunkLimit(int chunkLimit)
Set the SQL query chunk limit
|
void |
setTolerance(double tolerance)
Set the query range tolerance
|
protected int chunkLimit
protected double tolerance
public ManualFeatureQuery(FeatureDao featureDao)
featureDao - feature DAOpublic FeatureDao getFeatureDao()
public int getChunkLimit()
public void setChunkLimit(int chunkLimit)
chunkLimit - chunk limitpublic double getTolerance()
public void setTolerance(double tolerance)
tolerance - query range tolerancepublic FeatureCursor query()
public FeatureCursor query(String[] columns)
columns - columnspublic int count()
public int countWithGeometries()
public FeatureCursor query(Map<String,Object> fieldValues)
fieldValues - field valuespublic FeatureCursor query(String[] columns, Map<String,Object> fieldValues)
columns - columnsfieldValues - field valuespublic int count(Map<String,Object> fieldValues)
fieldValues - field valuespublic FeatureCursor query(String where)
where - where clausepublic FeatureCursor query(String[] columns, String where)
columns - columnswhere - where clausepublic int count(String where)
where - where clausepublic FeatureCursor query(String where, String[] whereArgs)
where - where clausewhereArgs - where argumentspublic FeatureCursor query(String[] columns, String where, String[] whereArgs)
columns - columnswhere - where clausewhereArgs - where argumentspublic int count(String where, String[] whereArgs)
where - where clausewhereArgs - where argumentspublic BoundingBox getBoundingBox()
public BoundingBox getBoundingBox(Projection projection)
projection - desired projectionpublic ManualFeatureQueryResults query(BoundingBox boundingBox)
boundingBox - bounding boxpublic ManualFeatureQueryResults query(String[] columns, BoundingBox boundingBox)
columns - columnsboundingBox - bounding boxpublic long count(BoundingBox boundingBox)
boundingBox - bounding boxpublic ManualFeatureQueryResults query(BoundingBox boundingBox, Map<String,Object> fieldValues)
boundingBox - bounding boxfieldValues - field valuespublic ManualFeatureQueryResults query(String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)
columns - columnsboundingBox - bounding boxfieldValues - field valuespublic long count(BoundingBox boundingBox, Map<String,Object> fieldValues)
boundingBox - bounding boxfieldValues - field valuespublic ManualFeatureQueryResults query(BoundingBox boundingBox, String where)
boundingBox - bounding boxwhere - were clausepublic ManualFeatureQueryResults query(String[] columns, BoundingBox boundingBox, String where)
columns - columnsboundingBox - bounding boxwhere - were clausepublic long count(BoundingBox boundingBox, String where)
boundingBox - bounding boxwhere - were clausepublic ManualFeatureQueryResults query(BoundingBox boundingBox, String where, String[] whereArgs)
boundingBox - bounding boxwhere - were clausewhereArgs - where argumentspublic ManualFeatureQueryResults query(String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)
columns - columnsboundingBox - bounding boxwhere - were clausewhereArgs - where argumentspublic long count(BoundingBox boundingBox, String where, String[] whereArgs)
boundingBox - bounding boxwhere - were clausewhereArgs - where argumentspublic ManualFeatureQueryResults query(BoundingBox boundingBox, Projection projection)
boundingBox - bounding boxprojection - projectionpublic ManualFeatureQueryResults query(String[] columns, BoundingBox boundingBox, Projection projection)
columns - columnsboundingBox - bounding boxprojection - projectionpublic long count(BoundingBox boundingBox, Projection projection)
boundingBox - bounding boxprojection - projectionpublic ManualFeatureQueryResults query(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
boundingBox - bounding boxprojection - projectionfieldValues - field valuespublic ManualFeatureQueryResults query(String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
columns - columnsboundingBox - bounding boxprojection - projectionfieldValues - field valuespublic long count(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
boundingBox - bounding boxprojection - projectionfieldValues - field valuespublic ManualFeatureQueryResults query(BoundingBox boundingBox, Projection projection, String where)
boundingBox - bounding boxprojection - projectionwhere - were clausepublic ManualFeatureQueryResults query(String[] columns, BoundingBox boundingBox, Projection projection, String where)
columns - columnsboundingBox - bounding boxprojection - projectionwhere - were clausepublic long count(BoundingBox boundingBox, Projection projection, String where)
boundingBox - bounding boxprojection - projectionwhere - were clausepublic ManualFeatureQueryResults query(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
boundingBox - bounding boxprojection - projectionwhere - were clausewhereArgs - where argumentspublic ManualFeatureQueryResults query(String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
columns - columnsboundingBox - bounding boxprojection - projectionwhere - were clausewhereArgs - where argumentspublic long count(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
boundingBox - bounding boxprojection - projectionwhere - were clausewhereArgs - where argumentspublic ManualFeatureQueryResults query(GeometryEnvelope envelope)
envelope - geometry envelopepublic ManualFeatureQueryResults query(String[] columns, GeometryEnvelope envelope)
columns - columnsenvelope - geometry envelopepublic long count(GeometryEnvelope envelope)
envelope - geometry envelopepublic ManualFeatureQueryResults query(GeometryEnvelope envelope, Map<String,Object> fieldValues)
envelope - geometry envelopefieldValues - field valuespublic ManualFeatureQueryResults query(String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)
columns - columnsenvelope - geometry envelopefieldValues - field valuespublic long count(GeometryEnvelope envelope, Map<String,Object> fieldValues)
envelope - geometry envelopefieldValues - field valuespublic ManualFeatureQueryResults query(GeometryEnvelope envelope, String where)
envelope - geometry envelopewhere - where clausepublic ManualFeatureQueryResults query(String[] columns, GeometryEnvelope envelope, String where)
columns - columnsenvelope - geometry envelopewhere - where clausepublic long count(GeometryEnvelope envelope, String where)
envelope - geometry envelopewhere - where clausepublic ManualFeatureQueryResults query(GeometryEnvelope envelope, String where, String[] whereArgs)
envelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic ManualFeatureQueryResults query(String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)
columns - columnsenvelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic long count(GeometryEnvelope envelope, String where, String[] whereArgs)
envelope - geometry envelopewhere - where clausewhereArgs - where argumentspublic ManualFeatureQueryResults query(double minX, double minY, double maxX, double maxY)
minX - min xminY - min ymaxX - max xmaxY - max ypublic ManualFeatureQueryResults query(String[] columns, double minX, double minY, double maxX, double maxY)
columns - columnsminX - 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 ypublic ManualFeatureQueryResults query(double minX, double minY, double maxX, double maxY, Map<String,Object> fieldValues)
minX - min xminY - min ymaxX - max xmaxY - max yfieldValues - field valuespublic ManualFeatureQueryResults query(String[] columns, double minX, double minY, double maxX, double maxY, Map<String,Object> fieldValues)
columns - columnsminX - min xminY - min ymaxX - max xmaxY - max yfieldValues - field valuespublic long count(double minX,
double minY,
double maxX,
double maxY,
Map<String,Object> fieldValues)
minX - min xminY - min ymaxX - max xmaxY - max yfieldValues - field valuespublic ManualFeatureQueryResults query(double minX, double minY, double maxX, double maxY, String where)
minX - min xminY - min ymaxX - max xmaxY - max ywhere - where clausepublic ManualFeatureQueryResults query(String[] columns, double minX, double minY, double maxX, double maxY, String where)
columns - columnsminX - min xminY - min ymaxX - max xmaxY - max ywhere - where clausepublic long count(double minX,
double minY,
double maxX,
double maxY,
String where)
minX - min xminY - min ymaxX - max xmaxY - max ywhere - where clausepublic ManualFeatureQueryResults query(double minX, double minY, double maxX, double maxY, String where, String[] whereArgs)
minX - min xminY - min ymaxX - max xmaxY - max ywhere - where clausewhereArgs - where argspublic ManualFeatureQueryResults query(String[] columns, double minX, double minY, double maxX, double maxY, String where, String[] whereArgs)
columns - columnsminX - min xminY - min ymaxX - max xmaxY - max ywhere - where clausewhereArgs - where args