Package org.apache.flink.orc
Class OrcFilters
java.lang.Object
org.apache.flink.orc.OrcFilters
Utility class that provides helper methods to work with Orc Filter PushDown.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn AND predicate that can be evaluated by the OrcInputFormat.static classAn BETWEEN predicate that can be evaluated by the OrcInputFormat.static classAn EQUALS predicate that can be evaluated by the OrcInputFormat.static classAn IN predicate that can be evaluated by the OrcInputFormat.static classAn IS_NULL predicate that can be evaluated by the OrcInputFormat.static classA LESS_THAN predicate that can be evaluated by the OrcInputFormat.static classA LESS_THAN_EQUALS predicate that can be evaluated by the OrcInputFormat.static classA NOT predicate to negate a predicate that can be evaluated by the OrcInputFormat.static classAn EQUALS predicate that can be evaluated with Null safety by the OrcInputFormat.static classAn OR predicate that can be evaluated by the OrcInputFormat.static classA filter predicate that can be evaluated by the OrcInputFormat. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OrcFilters.PredicateconvertBinary(org.apache.flink.table.expressions.CallExpression callExp, org.apache.flink.util.function.TriFunction<String, org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf.Type, Serializable, OrcFilters.Predicate> func, org.apache.flink.util.function.TriFunction<String, org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf.Type, Serializable, OrcFilters.Predicate> reverseFunc) static OrcFilters.PredicatetoOrcPredicate(org.apache.flink.table.expressions.Expression expression)
-
Constructor Details
-
OrcFilters
public OrcFilters()
-
-
Method Details
-
convertBinary
public static OrcFilters.Predicate convertBinary(org.apache.flink.table.expressions.CallExpression callExp, org.apache.flink.util.function.TriFunction<String, org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf.Type, Serializable, OrcFilters.Predicate> func, org.apache.flink.util.function.TriFunction<String, org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf.Type, Serializable, OrcFilters.Predicate> reverseFunc) -
toOrcPredicate
public static OrcFilters.Predicate toOrcPredicate(org.apache.flink.table.expressions.Expression expression)
-