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,
mil.nga.sf.proj.Projection projection)
Manually count the rows within the bounding box in the provided
projection
|
long |
count(double minX,
double minY,
double maxX,
double maxY)
Manually count the rows within the bounds
|
long |
count(mil.nga.sf.GeometryEnvelope envelope)
Manually count the rows within the geometry envelope
|
int |
countWithGeometries()
Get the count of features with non null geometries
|
BoundingBox |
getBoundingBox()
Manually build the bounds of the feature table
|
BoundingBox |
getBoundingBox(mil.nga.sf.proj.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
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox)
Manually query for rows within the bounding box
|
ManualFeatureQueryResults |
query(BoundingBox boundingBox,
mil.nga.sf.proj.Projection projection)
Manually query for rows within the bounding box in the provided
projection
|
ManualFeatureQueryResults |
query(double minX,
double minY,
double maxX,
double maxY)
Manually query for rows within the bounds
|
ManualFeatureQueryResults |
query(mil.nga.sf.GeometryEnvelope envelope)
Manually query for rows within the geometry envelope
|
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 int count()
public int countWithGeometries()
public BoundingBox getBoundingBox()
public BoundingBox getBoundingBox(mil.nga.sf.proj.Projection projection)
projection - desired projectionpublic ManualFeatureQueryResults query(BoundingBox boundingBox)
boundingBox - bounding boxpublic ManualFeatureQueryResults 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 ManualFeatureQueryResults query(mil.nga.sf.GeometryEnvelope envelope)
envelope - geometry envelopepublic long count(mil.nga.sf.GeometryEnvelope envelope)
envelope - geometry envelopepublic ManualFeatureQueryResults 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