Package | Description |
---|---|
org.apache.cassandra.cql3 | |
org.apache.cassandra.cql3.restrictions | |
org.apache.cassandra.cql3.statements |
Modifier and Type | Method and Description |
---|---|
protected Restriction |
MultiColumnRelation.newSliceRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive) |
protected abstract Restriction |
Relation.newSliceRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive)
Creates a new Slice restriction instance.
|
protected Restriction |
SingleColumnRelation.newSliceRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive) |
protected Restriction |
TokenRelation.newSliceRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive) |
Modifier and Type | Method and Description |
---|---|
CompositesBuilder |
MultiColumnRestriction.Slice.appendBoundTo(CFMetaData cfm,
CompositesBuilder builder,
Bound bound,
QueryOptions options) |
CompositesBuilder |
Restriction.appendBoundTo(CFMetaData cfm,
CompositesBuilder builder,
Bound bound,
QueryOptions options)
Appends the values of the
Restriction for the specified bound to the specified builder. |
CompositesBuilder |
SingleColumnRestriction.Slice.appendBoundTo(CFMetaData cfm,
CompositesBuilder builder,
Bound bound,
QueryOptions options) |
CompositesBuilder |
SingleColumnRestriction.Contains.appendBoundTo(CFMetaData cfm,
CompositesBuilder builder,
Bound bound,
QueryOptions options) |
boolean |
StatementRestrictions.areRequestedBoundsInclusive(Bound bound)
Checks if the bounds (start or end) of the clustering columns are inclusive.
|
java.util.List<java.nio.ByteBuffer> |
TokenRestriction.Slice.bounds(CFMetaData cfm,
Bound b,
QueryOptions options) |
java.util.List<Composite> |
TokenRestriction.boundsAsComposites(CFMetaData cfm,
Bound bound,
QueryOptions options) |
java.util.List<java.nio.ByteBuffer> |
StatementRestrictions.getClusteringColumnsBounds(Bound b,
QueryOptions options)
Returns the bounds (start or end) of the clustering columns.
|
java.util.List<Composite> |
StatementRestrictions.getClusteringColumnsBoundsAsComposites(Bound b,
QueryOptions options)
Returns the bounds (start or end) of the clustering columns as
Composites . |
boolean |
MultiColumnRestriction.Slice.hasBound(Bound bound) |
boolean |
Restriction.hasBound(Bound b)
Checks if the specified bound is set or not.
|
boolean |
SingleColumnRestriction.Slice.hasBound(Bound b) |
boolean |
SingleColumnRestriction.Contains.hasBound(Bound b) |
boolean |
TokenRestriction.Slice.hasBound(Bound b) |
boolean |
MultiColumnRestriction.Slice.isInclusive(Bound bound) |
boolean |
Restriction.isInclusive(Bound b)
Checks if the specified bound is inclusive or not.
|
boolean |
SingleColumnRestriction.Slice.isInclusive(Bound b) |
boolean |
SingleColumnRestriction.Contains.isInclusive(Bound b) |
boolean |
TokenRestriction.Slice.isInclusive(Bound b) |
Constructor and Description |
---|
Slice(ColumnDefinition columnDef,
Bound bound,
boolean inclusive,
Term term) |
Slice(CType ctype,
java.util.List<ColumnDefinition> columnDefs,
Bound bound,
boolean inclusive,
Term term) |
Slice(java.util.List<ColumnDefinition> columnDefs,
Bound bound,
boolean inclusive,
Term term) |
Modifier and Type | Method and Description |
---|---|
Bound |
Bound.reverse() |
static Bound |
Bound.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bound[] |
Bound.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018 The Apache Software Foundation