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 ColumnMetadata
column
Operator
comparisonOperator
-
Constructor Summary
Constructors Modifier Constructor Description protected
Bound(ColumnMetadata column, Operator operator)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
appliesTo(Row row)
Validates whether this condition applies tocurrent
.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.java.nio.ByteBuffer
getCollectionElementValue()
-
-
-
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.
-
-