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(TableMetadata table,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive) |
protected abstract Restriction |
Relation.newSliceRestriction(TableMetadata table,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive)
Creates a new Slice restriction instance.
|
protected Restriction |
SingleColumnRelation.newSliceRestriction(TableMetadata table,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive) |
protected Restriction |
TokenRelation.newSliceRestriction(TableMetadata table,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive) |
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) |
default MultiCBuilder |
SingleRestriction.appendBoundTo(MultiCBuilder builder,
Bound bound,
QueryOptions options)
Appends the values of the
SingleRestriction for the specified bound to the specified builder. |
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.
|
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 |
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 |
TokenRestriction.EQRestriction.isInclusive(Bound b) |
boolean |
TokenRestriction.SliceRestriction.isInclusive(Bound b) |
Constructor and Description |
---|
SliceRestriction(ColumnMetadata columnDef,
Bound bound,
boolean inclusive,
Term term) |
SliceRestriction(java.util.List<ColumnMetadata> columnDefs,
Bound bound,
boolean inclusive,
Term term) |
SliceRestriction(TableMetadata table,
java.util.List<ColumnMetadata> columnDefs,
Bound bound,
boolean inclusive,
Term term) |
Modifier and Type | Method and Description |
---|---|
Bound |
Bound.reverse() |
Bound |
Bound.reverseIfNeeded(ColumnMetadata columnMetadata)
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 © 2009-2022 The Apache Software Foundation