public abstract static class ColumnCondition.Bound
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ColumnDefinition |
column |
Relation.Type |
operator |
Modifier | Constructor and Description |
---|---|
protected |
ColumnCondition.Bound(ColumnDefinition column,
Relation.Type 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(Relation.Type 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,
Relation.Type operator,
long now) |
public final ColumnDefinition column
public final Relation.Type operator
protected ColumnCondition.Bound(ColumnDefinition column, Relation.Type 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, Relation.Type operator, long now) throws InvalidRequestException
InvalidRequestException
protected boolean compareWithOperator(Relation.Type 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 © 2014 The Apache Software Foundation