Class ColumnCondition.Bound
- java.lang.Object
-
- org.apache.cassandra.cql3.conditions.ColumnCondition.Bound
-
- Enclosing class:
- ColumnCondition
public abstract static class ColumnCondition.Bound extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description ColumnMetadatacolumnOperatorcomparisonOperator
-
Constructor Summary
Constructors Modifier Constructor Description protectedBound(ColumnMetadata column, Operator operator)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanappliesTo(Row row)Validates whether this condition applies tocurrent.protected static booleancompareWithOperator(Operator operator, AbstractType<?> type, java.nio.ByteBuffer value, java.nio.ByteBuffer otherValue)Returns true if the operator is satisfied (i.e.java.nio.ByteBuffergetCollectionElementValue()
-
-
-
Field Detail
-
column
public final ColumnMetadata column
-
comparisonOperator
public final Operator comparisonOperator
-
-
Constructor Detail
-
Bound
protected Bound(ColumnMetadata column, Operator operator)
-
-
Method Detail
-
appliesTo
public abstract boolean appliesTo(Row row)
Validates whether this condition applies tocurrent.
-
getCollectionElementValue
public java.nio.ByteBuffer getCollectionElementValue()
-
compareWithOperator
protected static boolean compareWithOperator(Operator operator, AbstractType<?> type, java.nio.ByteBuffer value, java.nio.ByteBuffer otherValue)
Returns true if the operator is satisfied (i.e. "otherValue operator value == true"), false otherwise.
-
-