public interface SearchArgument
Modifier and Type | Interface and Description |
---|---|
static interface |
SearchArgument.Builder
A builder object for contexts outside of Hive where it isn't easy to
get a ExprNodeDesc.
|
static class |
SearchArgument.TruthValue
The potential result sets of logical operations.
|
Modifier and Type | Method and Description |
---|---|
SearchArgument.TruthValue |
evaluate(SearchArgument.TruthValue[] leaves)
Evaluate the entire predicate based on the values for the leaf predicates.
|
List<PredicateLeaf> |
getLeaves()
Get the leaf predicates that are required to evaluate the predicate.
|
parquet.filter2.predicate.FilterPredicate |
toFilterPredicate()
Translate the search argument to the filter predicate parquet used
|
String |
toKryo()
Serialize the SARG as a kyro object and return the base64 string.
|
List<PredicateLeaf> getLeaves()
SearchArgument.TruthValue evaluate(SearchArgument.TruthValue[] leaves)
leaves
- the value of each leaf predicateString toKryo()
parquet.filter2.predicate.FilterPredicate toFilterPredicate()
Copyright © 2017 The Apache Software Foundation. All rights reserved.