KuduPredicate class instead.@InterfaceAudience.Public @Deprecated public class ColumnRangePredicate extends Object
| Constructor and Description | 
|---|
| ColumnRangePredicate(ColumnSchema column)Deprecated.  Create the predicate on the specified column | 
| Modifier and Type | Method and Description | 
|---|---|
| ColumnSchema | getColumn()Deprecated.  Get the column used by this predicate | 
| byte[] | getLowerBound()Deprecated.  Get the lower bound in its raw representation | 
| byte[] | getUpperBound()Deprecated.  Get the upper bound in its raw representation | 
| void | setLowerBound(BigDecimal lowerBound)Deprecated.  Set a BigDecimal for the lower bound | 
| void | setLowerBound(boolean lowerBound)Deprecated.  Set a boolean for the lower bound | 
| void | setLowerBound(byte lowerBound)Deprecated.  Set a byte for the lower bound | 
| void | setLowerBound(byte[] lowerBound)Deprecated.  Set a binary value for the lower bound | 
| void | setLowerBound(double lowerBound)Deprecated.  Set a double for the lower bound | 
| void | setLowerBound(float lowerBound)Deprecated.  Set a float for the lower bound | 
| void | setLowerBound(int lowerBound)Deprecated.  Set an int for the lower bound | 
| void | setLowerBound(long lowerBound)Deprecated.  Set a long for the lower bound
 If 'lowerBound' is a timestamp see  PartialRow.addLong(String, long)for the
 format. | 
| void | setLowerBound(short lowerBound)Deprecated.  Set a short for the lower bound | 
| void | setLowerBound(String lowerBound)Deprecated.  Set a string for the lower bound | 
| void | setUpperBound(BigDecimal upperBound)Deprecated.  Set a BigDecimal for the upper bound | 
| void | setUpperBound(boolean upperBound)Deprecated.  Set a boolean for the upper bound | 
| void | setUpperBound(byte upperBound)Deprecated.  Set a byte for the upper bound | 
| void | setUpperBound(byte[] upperBound)Deprecated.  Set a binary value for the upper bound | 
| void | setUpperBound(double upperBound)Deprecated.  Set a double for the upper bound | 
| void | setUpperBound(float upperBound)Deprecated.  Set a float for the upper bound | 
| void | setUpperBound(int upperBound)Deprecated.  Set an int for the upper bound | 
| void | setUpperBound(long upperBound)Deprecated.  Set a long for the upper bound
 If 'upperBound' is a timestamp see  PartialRow.addLong(String, long)for the
 format. | 
| void | setUpperBound(short upperBound)Deprecated.  Set a short for the upper bound | 
| void | setUpperBound(String upperBound)Deprecated.  Set a string for the upper bound | 
| static byte[] | toByteArray(List<ColumnRangePredicate> predicates)Deprecated.  Converts a list of predicates into an opaque byte array. | 
| KuduPredicate | toKuduPredicate()Deprecated.  Convert this column range predicate into a  KuduPredicate. | 
public ColumnRangePredicate(ColumnSchema column)
column - public KuduPredicate toKuduPredicate()
KuduPredicate.public void setLowerBound(boolean lowerBound)
lowerBound - value for the lower boundpublic void setLowerBound(byte lowerBound)
lowerBound - value for the lower boundpublic void setLowerBound(short lowerBound)
lowerBound - value for the lower boundpublic void setLowerBound(int lowerBound)
lowerBound - value for the lower boundpublic void setLowerBound(long lowerBound)
PartialRow.addLong(String, long) for the
 format.lowerBound - value for the lower boundpublic void setLowerBound(String lowerBound)
lowerBound - value for the lower boundpublic void setLowerBound(byte[] lowerBound)
lowerBound - value for the lower boundpublic void setLowerBound(float lowerBound)
lowerBound - value for the lower boundpublic void setLowerBound(double lowerBound)
lowerBound - value for the lower boundpublic void setLowerBound(BigDecimal lowerBound)
lowerBound - value for the lower boundpublic void setUpperBound(boolean upperBound)
upperBound - value for the upper boundpublic void setUpperBound(byte upperBound)
upperBound - value for the upper boundpublic void setUpperBound(short upperBound)
upperBound - value for the upper boundpublic void setUpperBound(int upperBound)
upperBound - value for the upper boundpublic void setUpperBound(long upperBound)
PartialRow.addLong(String, long) for the
 format.upperBound - value for the upper boundpublic void setUpperBound(String upperBound)
upperBound - value for the upper boundpublic void setUpperBound(byte[] upperBound)
upperBound - value for the upper boundpublic void setUpperBound(float upperBound)
upperBound - value for the upper boundpublic void setUpperBound(double upperBound)
upperBound - value for the upper boundpublic void setUpperBound(BigDecimal upperBound)
upperBound - value for the upper boundpublic ColumnSchema getColumn()
public byte[] getLowerBound()
public byte[] getUpperBound()
public static byte[] toByteArray(List<ColumnRangePredicate> predicates)
predicates - a list of predicatesCopyright © 2018 The Apache Software Foundation. All rights reserved.