Package org.apache.flink.orc
Class OrcFilters.Between
- java.lang.Object
-
- org.apache.flink.orc.OrcFilters.Predicate
-
- org.apache.flink.orc.OrcFilters.Between
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- OrcFilters
public static class OrcFilters.Between extends OrcFilters.Predicate
An BETWEEN predicate that can be evaluated by the OrcInputFormat.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Between(String columnName, org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf.Type literalType, Serializable lowerBound, Serializable upperBound)
Creates an BETWEEN predicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.hive.ql.io.sarg.SearchArgument.Builder
add(org.apache.hadoop.hive.ql.io.sarg.SearchArgument.Builder builder)
String
toString()
-
-
-
Constructor Detail
-
Between
public Between(String columnName, org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf.Type literalType, Serializable lowerBound, Serializable upperBound)
Creates an BETWEEN predicate.- Parameters:
columnName
- The column to check.literalType
- The type of the literals.lowerBound
- The literal value of the (inclusive) lower bound to check the column against.upperBound
- The literal value of the (inclusive) upper bound to check the column against.
-
-
Method Detail
-
add
public org.apache.hadoop.hive.ql.io.sarg.SearchArgument.Builder add(org.apache.hadoop.hive.ql.io.sarg.SearchArgument.Builder builder)
- Specified by:
add
in classOrcFilters.Predicate
-
-