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(Composite rowPrefix,
ColumnFamily current,
long now)
Validates whether this condition applies to
current . |
protected java.util.Iterator<Cell> |
collectionColumns(CellName collection,
ColumnFamily cf,
long now) |
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,
long now) |
public final ColumnDefinition column
public final Operator operator
protected Bound(ColumnDefinition column, Operator operator)
public abstract boolean appliesTo(Composite rowPrefix, ColumnFamily current, long now) throws InvalidRequestException
current
.InvalidRequestException
public java.nio.ByteBuffer getCollectionElementValue()
protected boolean isSatisfiedByValue(java.nio.ByteBuffer value, Cell c, AbstractType<?> type, Operator operator, long now) throws InvalidRequestException
InvalidRequestException
protected boolean compareWithOperator(Operator operator, AbstractType<?> type, java.nio.ByteBuffer value, java.nio.ByteBuffer otherValue) throws InvalidRequestException
InvalidRequestException
protected java.util.Iterator<Cell> collectionColumns(CellName collection, ColumnFamily cf, long now)
Copyright © 2018 The Apache Software Foundation