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 | Field and Description |
---|---|
Bound |
SingleColumnRestriction.SuperColumnMultiSliceRestriction.bound |
Modifier and Type | Method and Description |
---|---|
MultiCBuilder |
MultiColumnRestriction.SliceRestriction.appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options) |
MultiCBuilder |
SingleColumnRestriction.SliceRestriction.appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options) |
MultiCBuilder |
SingleColumnRestriction.ContainsRestriction.appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options) |
MultiCBuilder |
SingleColumnRestriction.SuperColumnMultiSliceRestriction.appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options) |
MultiCBuilder |
SingleColumnRestriction.SuperColumnKeyEQRestriction.appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options) |
MultiCBuilder |
SingleColumnRestriction.SuperColumnKeySliceRestriction.appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options) |
default MultiCBuilder |
SingleRestriction.appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options)
Appends the values of the
SingleRestriction for the specified bound to the specified builder. |
Term |
TermSlice.bound(Bound bound)
Returns the boundary value.
|
java.util.List<java.nio.ByteBuffer> |
TokenRestriction.EQRestriction.bounds(Bound b,
QueryOptions options) |
java.util.List<java.nio.ByteBuffer> |
TokenRestriction.SliceRestriction.bounds(Bound b,
QueryOptions options) |
java.util.NavigableSet<ClusteringBound> |
StatementRestrictions.getClusteringColumnsBounds(Bound b,
QueryOptions options)
Returns the bounds (start or end) of the clustering columns.
|
Operator |
TermSlice.getIndexOperator(Bound b)
Returns the index operator corresponding to the specified boundary.
|
boolean |
MultiColumnRestriction.SliceRestriction.hasBound(Bound bound) |
boolean |
SingleColumnRestriction.SliceRestriction.hasBound(Bound b) |
boolean |
SingleColumnRestriction.ContainsRestriction.hasBound(Bound b) |
default boolean |
SingleRestriction.hasBound(Bound b)
Checks if the specified bound is set or not.
|
boolean |
TermSlice.hasBound(Bound b)
Checks if this slice has a boundary for the specified type.
|
boolean |
TokenRestriction.EQRestriction.hasBound(Bound b) |
boolean |
TokenRestriction.SliceRestriction.hasBound(Bound b) |
boolean |
MultiColumnRestriction.SliceRestriction.isInclusive(Bound bound) |
boolean |
SingleColumnRestriction.SliceRestriction.isInclusive(Bound b) |
boolean |
SingleColumnRestriction.ContainsRestriction.isInclusive(Bound b) |
default boolean |
SingleRestriction.isInclusive(Bound b)
Checks if the specified bound is inclusive or not.
|
boolean |
TermSlice.isInclusive(Bound b)
Checks if this slice boundary is inclusive for the specified type.
|
boolean |
TokenRestriction.EQRestriction.isInclusive(Bound b) |
boolean |
TokenRestriction.SliceRestriction.isInclusive(Bound b) |
static TermSlice |
TermSlice.newInstance(Bound bound,
boolean include,
Term term)
Creates a new
TermSlice with the specified boundary. |
Constructor and Description |
---|
SliceRestriction(CFMetaData cfm,
java.util.List<ColumnDefinition> columnDefs,
Bound bound,
boolean inclusive,
Term term) |
SliceRestriction(ColumnDefinition columnDef,
Bound bound,
boolean inclusive,
Term term) |
SliceRestriction(java.util.List<ColumnDefinition> columnDefs,
Bound bound,
boolean inclusive,
Term term) |
SuperColumnKeySliceRestriction(ColumnDefinition columnDef,
Bound bound,
boolean inclusive,
Term term) |
SuperColumnMultiSliceRestriction(ColumnDefinition columnDef,
Bound bound,
boolean inclusive,
Term term) |
Modifier and Type | Method and Description |
---|---|
Bound |
Bound.reverse() |
Bound |
Bound.reverseIfNeeded(ColumnDefinition columnDefinition)
Reverses the bound if the column type is a reversed one.
|
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