public final class KuduPredicateHandler extends Object
Modifier and Type | Method and Description |
---|---|
static HiveStoragePredicateHandler.DecomposedPredicate |
decompose(ExprNodeDesc predicateExpr,
org.apache.kudu.Schema schema)
Analyzes the predicates and return the portion of it which
cannot be evaluated by Kudu during table access.
|
static List<org.apache.kudu.client.KuduPredicate> |
getPredicates(org.apache.hadoop.conf.Configuration conf,
org.apache.kudu.Schema schema)
Returns the list of Kudu predicates from the passed configuration.
|
public static HiveStoragePredicateHandler.DecomposedPredicate decompose(ExprNodeDesc predicateExpr, org.apache.kudu.Schema schema)
predicateExpr
- predicate to be decomposedschema
- the schema of the Kudu tablepublic static List<org.apache.kudu.client.KuduPredicate> getPredicates(org.apache.hadoop.conf.Configuration conf, org.apache.kudu.Schema schema)
conf
- the execution configurationschema
- the schema of the Kudu tableCopyright © 2022 The Apache Software Foundation. All rights reserved.