Package com.luciad.fusion.tilestore
Class TLfnQuery
java.lang.Object
com.luciad.fusion.tilestore.TLfnQuery
A query object.
A query can be created using a query builder.
All fields are optional:
- resource types: selected resource types, defaults to
nullfor all resource types - filter: filters the results, defaults to
nullfor no filtering - sort-by: a criterion to sort the results by, defaults to
nullif unspecified - range offset: defines the start of a range of results to be returned, defaults to
0if unspecified - range length: defines the amount of results to be returned, starting from the start index. Defaults to
-1(all results) if unspecified
- Since:
- 10.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA base class for builder for aTLfnQueryobject.static classA basic builder for aTLfnQueryobject that allows creating common query's without any knowledge about OGC filters.static classA builder for aTLfnQueryobject.static final classThe resource properties that are supported in theTLfnQuery.BasicBuilderfor creating a filter and sort-by. -
Method Summary
Modifier and TypeMethodDescriptionGets the filter used by this query.intGets the length of the desired range of result elements for this query.intGets the offset of the desired range of results for this query.Gets the resource types used by this query.Gets the sort-by criterion used by this query.static TLfnQuery.BasicBuilderCreates a basic builder for a query.static TLfnQuery.BuilderCreates a builder for a query.
-
Method Details
-
getFilter
Gets the filter used by this query.- Returns:
- a filter, possibly
null
-
getSortBy
Gets the sort-by criterion used by this query.- Returns:
- a sort-by criterion, possibly
null
-
getResourceTypes
Gets the resource types used by this query.- Returns:
- the resource types used by this query, possibly
null
-
getRangeOffset
public int getRangeOffset()Gets the offset of the desired range of results for this query.- Returns:
- the offset of the desired range of results for this query
-
getRangeLength
public int getRangeLength()Gets the length of the desired range of result elements for this query. The actual number of returned result elements may be less than the range length, but never more.- Returns:
- the length of the desired range of results for this query
-
newBuilder
Creates a builder for a query. The builder's parameters are initialized to the default values.- Returns:
- a new builder
-
newBasicBuilder
Creates a basic builder for a query. This builder allows creating common query's without any knowledge about OGC filters. The builder's parameters are initialized to the default values.- Returns:
- a new basic builder
-