public static class OrcSplitReader.Between extends OrcSplitReader.Predicate
Constructor and Description |
---|
Between(String columnName,
org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf.Type literalType,
Serializable lowerBound,
Serializable upperBound)
Creates an BETWEEN predicate.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hive.ql.io.sarg.SearchArgument.Builder |
add(org.apache.hadoop.hive.ql.io.sarg.SearchArgument.Builder builder) |
String |
toString() |
public Between(String columnName, org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf.Type literalType, Serializable lowerBound, Serializable upperBound)
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.public org.apache.hadoop.hive.ql.io.sarg.SearchArgument.Builder add(org.apache.hadoop.hive.ql.io.sarg.SearchArgument.Builder builder)
add
in class OrcSplitReader.Predicate
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.