@InterfaceAudience.Public @InterfaceStability.Evolving public class KuduPredicate extends Object
Modifier and Type | Class and Description |
---|---|
static class |
KuduPredicate.ComparisonOp
The comparison operator of a predicate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static KuduPredicate |
newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
boolean value)
Creates a new
KuduPredicate on a boolean column. |
static KuduPredicate |
newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
byte[] value)
Creates a new comparison predicate on a binary column.
|
static KuduPredicate |
newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
double value)
Creates a new comparison predicate on a double column.
|
static KuduPredicate |
newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
float value)
Creates a new comparison predicate on a float column.
|
static KuduPredicate |
newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
long value)
Creates a new comparison predicate on an integer or timestamp column.
|
static KuduPredicate |
newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
String value)
Creates a new comparison predicate on a string column.
|
String |
toString() |
public static KuduPredicate newComparisonPredicate(ColumnSchema column, KuduPredicate.ComparisonOp op, boolean value)
KuduPredicate
on a boolean column.column
- the column schemaop
- the comparison operationvalue
- the value to compare againstpublic static KuduPredicate newComparisonPredicate(ColumnSchema column, KuduPredicate.ComparisonOp op, long value)
column
- the column schemaop
- the comparison operationvalue
- the value to compare againstpublic static KuduPredicate newComparisonPredicate(ColumnSchema column, KuduPredicate.ComparisonOp op, float value)
column
- the column schemaop
- the comparison operationvalue
- the value to compare againstpublic static KuduPredicate newComparisonPredicate(ColumnSchema column, KuduPredicate.ComparisonOp op, double value)
column
- the column schemaop
- the comparison operationvalue
- the value to compare againstpublic static KuduPredicate newComparisonPredicate(ColumnSchema column, KuduPredicate.ComparisonOp op, String value)
column
- the column schemaop
- the comparison operationvalue
- the value to compare againstpublic static KuduPredicate newComparisonPredicate(ColumnSchema column, KuduPredicate.ComparisonOp op, byte[] value)
column
- the column schemaop
- the comparison operationvalue
- the value to compare againstCopyright © 2016. All rights reserved.