Package | Description |
---|---|
org.apache.kudu.client |
Modifier and Type | Method and Description |
---|---|
static KuduPredicate |
KuduPredicate.fromPB(Schema schema,
org.apache.kudu.Common.ColumnPredicatePB pb)
Convert a column predicate protobuf message into a predicate.
|
static KuduPredicate |
KuduPredicate.newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
BigDecimal value)
Creates a new comparison predicate on a Decimal column.
|
static KuduPredicate |
KuduPredicate.newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
boolean value)
Creates a new
KuduPredicate on a boolean column. |
static KuduPredicate |
KuduPredicate.newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
byte[] value)
Creates a new comparison predicate on a binary column.
|
static KuduPredicate |
KuduPredicate.newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
double value)
Creates a new comparison predicate on a double column.
|
static KuduPredicate |
KuduPredicate.newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
float value)
Creates a new comparison predicate on a float column.
|
static KuduPredicate |
KuduPredicate.newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
long value)
Creates a new comparison predicate on an integer or timestamp column.
|
static KuduPredicate |
KuduPredicate.newComparisonPredicate(ColumnSchema column,
KuduPredicate.ComparisonOp op,
String value)
Creates a new comparison predicate on a string column.
|
static <T> KuduPredicate |
KuduPredicate.newInListPredicate(ColumnSchema column,
List<T> values)
Creates a new IN list predicate.
|
static KuduPredicate |
KuduPredicate.newIsNotNullPredicate(ColumnSchema column)
Creates a new
IS NOT NULL predicate. |
static KuduPredicate |
KuduPredicate.newIsNullPredicate(ColumnSchema column)
Creates a new
IS NULL predicate. |
KuduPredicate |
ColumnRangePredicate.toKuduPredicate()
Deprecated.
Convert this column range predicate into a
KuduPredicate . |
Modifier and Type | Method and Description |
---|---|
S |
AbstractKuduScannerBuilder.addPredicate(KuduPredicate predicate)
Adds a predicate to the scan.
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.