public abstract static class ColumnCondition.Bound
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
ColumnDefinition |
column |
Operator |
operator |
| Modifier | Constructor and Description |
|---|---|
protected |
Bound(ColumnDefinition column,
Operator operator) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
appliesTo(Row row)
Validates whether this condition applies to
current. |
protected boolean |
compareWithOperator(Operator operator,
AbstractType<?> type,
java.nio.ByteBuffer value,
java.nio.ByteBuffer otherValue)
Returns true if the operator is satisfied (i.e.
|
java.nio.ByteBuffer |
getCollectionElementValue() |
protected boolean |
isSatisfiedByValue(java.nio.ByteBuffer value,
Cell c,
AbstractType<?> type,
Operator operator) |
public final ColumnDefinition column
public final Operator operator
protected Bound(ColumnDefinition column, Operator operator)
public abstract boolean appliesTo(Row row) throws InvalidRequestException
current.InvalidRequestExceptionpublic java.nio.ByteBuffer getCollectionElementValue()
protected boolean isSatisfiedByValue(java.nio.ByteBuffer value,
Cell c,
AbstractType<?> type,
Operator operator)
throws InvalidRequestException
InvalidRequestExceptionprotected boolean compareWithOperator(Operator operator, AbstractType<?> type, java.nio.ByteBuffer value, java.nio.ByteBuffer otherValue) throws InvalidRequestException
InvalidRequestExceptionCopyright © 2015 The Apache Software Foundation