Package com.luciad.models.features
Class FeatureQuery.Builder
java.lang.Object
com.luciad.models.features.FeatureQuery.Builder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
FeatureQuery
Builder to create a FeatureQuery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the bounds the queried features must interact with.build()Creates theFeatureQueryfor the configured conditions and settings.voidclose()condition(Expression condition) Sets the condition to apply.featureIds(List<Long> featureIds) Sets the feature ids to select.protected voidfinalize()limit(long limit) Sets the maximum number of features to return.scaleLevelIndex(long scaleLevelIndex) Sets the scale level index.sort(FeatureQuery.SortOperator order) Sets the sorting of the features.
-
Constructor Details
-
Builder
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
build
Creates theFeatureQueryfor the configured conditions and settings.- Returns:
- the
FeatureQueryfor the configured conditions and settings.
-
bounds
Sets the bounds the queried features must interact with.- Parameters:
bounds- the bounds the queried features must interact with- Returns:
- this
-
condition
Sets the condition to apply.- Parameters:
condition- the condition to apply- Returns:
- this
-
featureIds
Sets the feature ids to select.- Parameters:
featureIds- the feature ids to select- Returns:
- this
-
sort
Sets the sorting of the features.- Parameters:
order- the sorting of the features- Returns:
- this
-
limit
Sets the maximum number of features to return.- Parameters:
limit- the maximum number of features to return- Returns:
- this
-
scaleLevelIndex
Sets the scale level index.- Parameters:
scaleLevelIndex- the scale level index.- Returns:
- this
- Since:
- 2025.0.04
- See Also:
-