@InterfaceAudience.Private @InterfaceStability.Evolving public interface LoadPredicatePushdown
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getPredicateFields(java.lang.String location,
org.apache.hadoop.mapreduce.Job job)
Find what fields of the data can support predicate pushdown.
|
java.util.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
|
java.util.List<java.lang.String> getPredicateFields(java.lang.String location,
org.apache.hadoop.mapreduce.Job job)
throws java.io.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 JobContext.getConfiguration() and not to set/query
any runtime job information.java.io.IOException - if an exception occurs while retrieving predicate fieldsjava.util.List<Expression.OpType> getSupportedExpressionTypes()
void setPushdownPredicate(Expression predicate) throws java.io.IOException
predicate - expression to be filtered by the loader.java.io.IOExceptionCopyright © 2007-2012 The Apache Software Foundation