|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.feature.persistence.query.Query
public class Query
Encapsulates the parameter of a query to a FeatureStore.
| Nested Class Summary | |
|---|---|
static class |
Query.QueryHint
Names for hints and additional parameters that a FeatureStore implementation may take into account to
increase efficient query processing. |
| Constructor Summary | |
|---|---|
Query(IdFilter filter,
String featureVersion,
CRS srsName,
SortProperty[] sortBy)
Creates a new Query instance that selects features based on an IdFilter. |
|
Query(QName ftName,
Envelope looseBbox,
Filter filter,
boolean withGeometries,
int scale)
Creates a new Query instance. |
|
Query(TypeName[] typeNames,
Filter filter,
String featureVersion,
CRS srsName,
SortProperty[] sortBy)
Creates a new Query instance. |
|
| Method Summary | |
|---|---|
Filter |
getFilter()
|
Object |
getHint(Query.QueryHint code)
|
SortProperty[] |
getSortProperties()
|
TypeName[] |
getTypeNames()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Query(QName ftName,
Envelope looseBbox,
Filter filter,
boolean withGeometries,
int scale)
Query instance.
ftName - name of the requested feature type, must not be nulllooseBbox - bounding box used for pre-filtering the features, can be null (no pre-filtering)
Query.QueryHint.HINT_LOOSE_BBOXfilter - additional filter constraints, may be nullwithGeometries - if false, the feature store may omit the geometry property values in the result
Query.QueryHint.HINT_NO_GEOMETRIESscale - if scale is positive, a scale query hint will be used
public Query(TypeName[] typeNames,
Filter filter,
String featureVersion,
CRS srsName,
SortProperty[] sortBy)
Query instance.
typeNames - feature type names to be queried, must not be null and contain at least one entryfilter - filter to be applied, can be nullfeatureVersion - specific feature version to be returned, can be nullsrsName - SRS for the returned geometries, can be nullsortBy - sort criteria to be applied, can be null
public Query(IdFilter filter,
String featureVersion,
CRS srsName,
SortProperty[] sortBy)
Query instance that selects features based on an IdFilter.
filter - filter to be applied, must not be nullfeatureVersion - specific feature version to be returned, can be nullsrsName - SRS for the returned geometries, can be nullsortBy - sort criteria to be applied, can be null| Method Detail |
|---|
public Object getHint(Query.QueryHint code)
public TypeName[] getTypeNames()
public Filter getFilter()
public SortProperty[] getSortProperties()
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||