Modifier and Type | Method and Description |
---|---|
static FeatureExpressionEvaluator |
createAlwaysAcceptEvaluator()
Returns an evaluator that always returns
true |
static FeatureExpressionEvaluator |
createEvaluator(Expression expression)
Create an evaluator for the given expression.
|
static FeatureExpressionEvaluator |
createEvaluator(FeatureQuery query)
Create an evaluator for the given query.
|
static FeatureExpressionEvaluator |
createEvaluator(List<Long> featureIds)
Returns returns an evaluator that only accepts features that are contained in the given list of feature id's.
|
@NotNull public static FeatureExpressionEvaluator createEvaluator(@NotNull Expression expression)
expression
- the expression for which an evaluator is needed.@NotNull public static FeatureExpressionEvaluator createEvaluator(@NotNull FeatureQuery query)
This method only takes the Query::getBounds() and the Query::getCondition() methods into account.
query
- the query for which an evaluator is needed.@NotNull public static FeatureExpressionEvaluator createEvaluator(@NotNull List<Long> featureIds)
featureIds
- a list of feature id's@NotNull public static FeatureExpressionEvaluator createAlwaysAcceptEvaluator()
true
true