Package org.apache.flink.orc
Class OrcFilters
- java.lang.Object
-
- org.apache.flink.orc.OrcFilters
-
public class OrcFilters extends Object
Utility class that provides helper methods to work with Orc Filter PushDown.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrcFilters.AndAn AND predicate that can be evaluated by the OrcInputFormat.static classOrcFilters.BetweenAn BETWEEN predicate that can be evaluated by the OrcInputFormat.static classOrcFilters.EqualsAn EQUALS predicate that can be evaluated by the OrcInputFormat.static classOrcFilters.InAn IN predicate that can be evaluated by the OrcInputFormat.static classOrcFilters.IsNullAn IS_NULL predicate that can be evaluated by the OrcInputFormat.static classOrcFilters.LessThanA LESS_THAN predicate that can be evaluated by the OrcInputFormat.static classOrcFilters.LessThanEqualsA LESS_THAN_EQUALS predicate that can be evaluated by the OrcInputFormat.static classOrcFilters.NotA NOT predicate to negate a predicate that can be evaluated by the OrcInputFormat.static classOrcFilters.NullSafeEqualsAn EQUALS predicate that can be evaluated with Null safety by the OrcInputFormat.static classOrcFilters.OrAn OR predicate that can be evaluated by the OrcInputFormat.static classOrcFilters.PredicateA filter predicate that can be evaluated by the OrcInputFormat.
-
Constructor Summary
Constructors Constructor Description OrcFilters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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)
-
-