Package | Description |
---|---|
org.apache.cassandra.cql3 | |
org.apache.cassandra.cql3.statements | |
org.apache.cassandra.db.marshal |
Modifier and Type | Field and Description |
---|---|
Relation.Type |
ColumnCondition.operator |
Relation.Type |
ColumnCondition.Bound.operator |
protected Relation.Type |
Relation.relationType |
Modifier and Type | Method and Description |
---|---|
Relation.Type |
Relation.operator() |
static Relation.Type |
Relation.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Relation.Type[] |
Relation.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ColumnCondition.Raw |
ColumnCondition.Raw.collectionCondition(Term.Raw value,
Term.Raw collectionElement,
Relation.Type op)
A condition on a collection element.
|
protected boolean |
ColumnCondition.Bound.compareWithOperator(Relation.Type operator,
AbstractType<?> type,
java.nio.ByteBuffer value,
java.nio.ByteBuffer otherValue)
Returns true if the operator is satisfied (i.e.
|
static ColumnCondition |
ColumnCondition.condition(ColumnDefinition column,
Term value,
Relation.Type op) |
static ColumnCondition |
ColumnCondition.condition(ColumnDefinition column,
Term collectionElement,
Term value,
Relation.Type op) |
static MultiColumnRelation |
MultiColumnRelation.createNonInRelation(java.util.List<ColumnIdentifier> entities,
Relation.Type relationType,
Term.MultiColumnRaw valuesOrMarker)
Creates a multi-column EQ, LT, LTE, GT, or GTE relation.
|
protected boolean |
ColumnCondition.Bound.isSatisfiedByValue(java.nio.ByteBuffer value,
Cell c,
AbstractType<?> type,
Relation.Type operator,
long now) |
static ColumnCondition.Raw |
ColumnCondition.Raw.simpleCondition(Term.Raw value,
Relation.Type op)
A condition on a column.
|
Constructor and Description |
---|
ColumnCondition.Bound(ColumnDefinition column,
Relation.Type operator) |
SingleColumnRelation(ColumnIdentifier entity,
Relation.Type type,
Term.Raw value)
Creates a new relation.
|
SingleColumnRelation(ColumnIdentifier entity,
Relation.Type type,
Term.Raw value,
boolean onToken) |
Modifier and Type | Method and Description |
---|---|
Relation.Type |
Restriction.Slice.getRelation(Bound eocBound,
Bound inclusiveBound) |
Relation.Type |
SingleColumnRestriction.Slice.getRelation(Bound eocBound,
Bound inclusiveBound) |
Modifier and Type | Method and Description |
---|---|
void |
Restriction.Slice.setBound(ColumnIdentifier name,
Relation.Type type,
Term t) |
void |
SingleColumnRestriction.Slice.setBound(ColumnIdentifier name,
Relation.Type type,
Term t) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
CompositeType.Builder.buildForRelation(Relation.Type op) |
Copyright © 2014 The Apache Software Foundation