@InterfaceAudience.Private @InterfaceStability.Evolving public interface LoadPredicatePushdown
Modifier and Type | Method and Description |
---|---|
List<String> |
getPredicateFields(String location,
org.apache.hadoop.mapreduce.Job job)
Find what fields of the data can support predicate pushdown.
|
List<Expression.OpType> |
getSupportedExpressionTypes()
Indicate operations on fields supported by the loader for predicate pushdown
|
void |
setPushdownPredicate(Expression predicate)
Push down expression to the loader
|
List<String> getPredicateFields(String location, org.apache.hadoop.mapreduce.Job job) throws IOException
location
- Location as returned by
LoadFunc.relativeToAbsolutePath(String, org.apache.hadoop.fs.Path)
job
- The Job
object - this should be used only to obtain
cluster properties through JobContextImpl.getConfiguration()
and not to set/query
any runtime job information.IOException
- if an exception occurs while retrieving predicate fieldsList<Expression.OpType> getSupportedExpressionTypes()
void setPushdownPredicate(Expression predicate) throws IOException
predicate
- expression to be filtered by the loader.IOException
Copyright © 2007-2017 The Apache Software Foundation