Package com.luciad.fusion.tilestore
Class TLfnQuery.BasicBuilder
java.lang.Object
com.luciad.fusion.tilestore.TLfnQuery.AbstractBuilder<TLfnQuery.BasicBuilder>
com.luciad.fusion.tilestore.TLfnQuery.BasicBuilder
- Enclosing class:
TLfnQuery
public static class TLfnQuery.BasicBuilder
extends TLfnQuery.AbstractBuilder<TLfnQuery.BasicBuilder>
A basic builder for a
TLfnQuery object that allows creating common query's without any
knowledge about OGC filters.- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionandFilterAllDoNotEqual(TLcdPair<TLfnQuery.Property, ?>... aPropertyValuePairs) Updates the filter to only include resources whose value for each specified property is not equal to its specified value.andFilterAllEqual(TLcdPair<TLfnQuery.Property, ?>... aPropertyValuePairs) Updates the filter to only include resources whose value for each specified property is equal to its specified value.andFilterAnyDoNotEqual(TLcdPair<TLfnQuery.Property, ?>... aPropertyValuePairs) Updates the filter to only include resources whose value for at least 1 specified property is not equal to its specified value.andFilterAnyEqual(TLcdPair<TLfnQuery.Property, ?>... aPropertyValuePairs) Updates the filter to only include resources whose value for at least 1 specified property is equal to its specified value.andFilterDoesNotEqual(TLfnQuery.Property aProperty, Object aValue) Updates the filter to only include resources whose value of a specified property is not equal to a specified value.andFilterEquals(TLfnQuery.Property aProperty, Object aValue) Updates the filter to only include resources whose value for a specified property is equal to a specified value.andFilterOverlaps(ILcdBounds aBounds, ILcdGeoReference aGeoReference) Updates the filter to only include resources that overlap with the specified bounds.setSortBy(TLfnQuery.Property... aProperties) Deprecated.sortBy(TLfnQuery.Property... aProperties) Sets a sort-by criteria that sorts on a list of properties in ascending orderMethods inherited from class com.luciad.fusion.tilestore.TLfnQuery.AbstractBuilder
build, rangeLength, rangeOffset, resourceTypes, setRangeLength, setRangeOffset, setResourceTypes, setSortBy, sortBy
-
Method Details
-
andFilterEquals
Updates the filter to only include resources whose value for a specified property is equal to a specified value.- Parameters:
aProperty- the property as an OGC XPath object, see the predefined constants likeTLfnQuery.Property.RESOURCE_idaValue- the value
-
andFilterAllEqual
public TLfnQuery.BasicBuilder andFilterAllEqual(TLcdPair<TLfnQuery.Property, ?>... aPropertyValuePairs) Updates the filter to only include resources whose value for each specified property is equal to its specified value.- Parameters:
aPropertyValuePairs- the list of property-value pairs, see the predefined constants likeTLfnQuery.Property.RESOURCE_id
-
andFilterAnyEqual
public TLfnQuery.BasicBuilder andFilterAnyEqual(TLcdPair<TLfnQuery.Property, ?>... aPropertyValuePairs) Updates the filter to only include resources whose value for at least 1 specified property is equal to its specified value. In case of empty property-value pairs, this method behaves as if it was never invoked on this builder.- Parameters:
aPropertyValuePairs- the list of property-value pairs, see the predefined constants likeTLfnQuery.Property.RESOURCE_id
-
andFilterDoesNotEqual
Updates the filter to only include resources whose value of a specified property is not equal to a specified value.- Parameters:
aProperty- the property, see the predefined constants likeTLfnQuery.Property.RESOURCE_idaValue- the value
-
andFilterAllDoNotEqual
public TLfnQuery.BasicBuilder andFilterAllDoNotEqual(TLcdPair<TLfnQuery.Property, ?>... aPropertyValuePairs) Updates the filter to only include resources whose value for each specified property is not equal to its specified value.- Parameters:
aPropertyValuePairs- the list of property-value pairs, see the predefined constants likeTLfnQuery.Property.RESOURCE_id
-
andFilterAnyDoNotEqual
public TLfnQuery.BasicBuilder andFilterAnyDoNotEqual(TLcdPair<TLfnQuery.Property, ?>... aPropertyValuePairs) Updates the filter to only include resources whose value for at least 1 specified property is not equal to its specified value.- Parameters:
aPropertyValuePairs- the list of property-value pairs, see the predefined constants likeTLfnQuery.Property.RESOURCE_id
-
andFilterOverlaps
Updates the filter to only include resources that overlap with the specified bounds.- Parameters:
aBounds- the boundsaGeoReference- the geographic reference ofaBounds
-
sortBy
Sets a sort-by criteria that sorts on a list of properties in ascending order- Parameters:
aProperties- the properties- Since:
- 2013.0
-
setSortBy
Deprecated.
-
sortBy(com.luciad.fusion.tilestore.TLfnQuery.Property...)instead