public final class SearchArgumentImpl extends Object implements SearchArgument
Modifier and Type | Class and Description |
---|---|
static class |
SearchArgumentImpl.PredicateLeafImpl |
SearchArgument.Builder, SearchArgument.TruthValue
Modifier and Type | Method and Description |
---|---|
SearchArgument.TruthValue |
evaluate(SearchArgument.TruthValue[] leaves)
Evaluate the entire predicate based on the values for the leaf predicates.
|
ExpressionTree |
getExpression()
Get the expression tree.
|
List<PredicateLeaf> |
getLeaves()
Get the leaf predicates that are required to evaluate the predicate.
|
String |
toString() |
public List<PredicateLeaf> getLeaves()
SearchArgument
getLeaves
in interface SearchArgument
public SearchArgument.TruthValue evaluate(SearchArgument.TruthValue[] leaves)
SearchArgument
evaluate
in interface SearchArgument
leaves
- the value of each leaf predicatepublic ExpressionTree getExpression()
SearchArgument
getExpression
in interface SearchArgument
Copyright © 2016 The Apache Software Foundation. All rights reserved.