Package | Description |
---|---|
org.apache.cassandra.cql3.restrictions | |
org.apache.cassandra.db | |
org.apache.cassandra.db.rows |
Modifier and Type | Method and Description |
---|---|
java.util.NavigableSet<Slice.Bound> |
TokenRestriction.boundsAsClustering(Bound bound,
QueryOptions options) |
java.util.NavigableSet<Slice.Bound> |
StatementRestrictions.getClusteringColumnsBounds(Bound b,
QueryOptions options)
Returns the bounds (start or end) of the clustering columns.
|
Modifier and Type | Class and Description |
---|---|
static class |
RangeTombstone.Bound
The bound of a range tombstone.
|
Modifier and Type | Field and Description |
---|---|
static Slice.Bound |
Slice.Bound.BOTTOM
The smallest and biggest bound.
|
Slice.Bound |
LegacyLayout.LegacyBound.bound |
static Slice.Bound |
Slice.Bound.TOP |
Modifier and Type | Method and Description |
---|---|
abstract Slice.Bound |
CBuilder.buildBound(boolean isStart,
boolean isInclusive) |
abstract Slice.Bound |
CBuilder.buildBoundWith(java.nio.ByteBuffer value,
boolean isStart,
boolean isInclusive) |
abstract Slice.Bound |
CBuilder.buildBoundWith(java.util.List<java.nio.ByteBuffer> newValues,
boolean isStart,
boolean isInclusive) |
Slice.Bound |
Slice.close(boolean reversed) |
static Slice.Bound |
Slice.Bound.create(ClusteringComparator comparator,
boolean isStart,
boolean isInclusive,
java.lang.Object... values) |
static Slice.Bound |
Slice.Bound.create(ClusteringPrefix.Kind kind,
java.nio.ByteBuffer[] values) |
Slice.Bound |
Slice.Bound.Serializer.deserialize(DataInputPlus in,
int version,
java.util.List<AbstractType<?>> types) |
Slice.Bound |
Slice.Bound.Serializer.deserializeValues(DataInputPlus in,
ClusteringPrefix.Kind kind,
int version,
java.util.List<AbstractType<?>> types) |
Slice.Bound |
Slice.end() |
static Slice.Bound |
Slice.Bound.exclusiveEndOf(java.nio.ByteBuffer... values) |
static Slice.Bound |
Slice.Bound.exclusiveStartOf(java.nio.ByteBuffer... values) |
static Slice.Bound |
Slice.Bound.exclusiveStartOf(ClusteringPrefix prefix) |
static Slice.Bound |
Slice.Bound.inclusiveEndOf(java.nio.ByteBuffer... values) |
static Slice.Bound |
Slice.Bound.inclusiveEndOf(ClusteringPrefix prefix) |
static Slice.Bound |
Slice.Bound.inclusiveStartOf(java.nio.ByteBuffer... values) |
static Slice.Bound |
Slice.Bound.inclusiveStartOf(ClusteringPrefix prefix) |
Slice.Bound |
Slice.Bound.invert()
Returns the inverse of the current bound.
|
Slice.Bound |
Slice.open(boolean reversed) |
Slice.Bound |
Slice.start() |
Slice.Bound |
Slice.Bound.withNewKind(ClusteringPrefix.Kind kind) |
Modifier and Type | Method and Description |
---|---|
java.util.NavigableSet<Slice.Bound> |
MultiCBuilder.buildBound(boolean isStart,
boolean isInclusive) |
java.util.NavigableSet<Slice.Bound> |
MultiCBuilder.buildBoundForSlice(boolean isStart,
boolean isInclusive,
boolean isOtherBoundInclusive,
java.util.List<ColumnDefinition> columnDefs)
Builds the
Slice.Bound s for slice restrictions. |
Modifier and Type | Method and Description |
---|---|
Slices.Builder |
Slices.Builder.add(Slice.Bound start,
Slice.Bound end) |
void |
RangeTombstoneList.add(Slice.Bound start,
Slice.Bound end,
long markedAt,
int delTime)
Adds a new range tombstone.
|
int |
ClusteringPrefix.Deserializer.compareNextTo(Slice.Bound bound) |
abstract int |
UnfilteredDeserializer.compareNextTo(Slice.Bound bound)
Compare the provided bound to the next atom to read on disk.
|
int |
UnfilteredDeserializer.OldFormatDeserializer.compareNextTo(Slice.Bound bound) |
static java.nio.ByteBuffer |
LegacyLayout.encodeBound(CFMetaData metadata,
Slice.Bound bound,
boolean isStart) |
static RangeTombstone.Bound |
RangeTombstone.Bound.fromSliceBound(Slice.Bound sliceBound) |
boolean |
Slice.includes(ClusteringComparator comparator,
Slice.Bound bound)
Returns whether a given bound is included in this slice.
|
static boolean |
Slice.isEmpty(ClusteringComparator comparator,
Slice.Bound start,
Slice.Bound end)
Return whether the slice formed by the two provided bound is empty or not.
|
static Slice |
Slice.make(Slice.Bound start,
Slice.Bound end) |
void |
Slice.Bound.Serializer.serialize(Slice.Bound bound,
DataOutputPlus out,
int version,
java.util.List<AbstractType<?>> types) |
long |
Slice.Bound.Serializer.serializedSize(Slice.Bound bound,
int version,
java.util.List<AbstractType<?>> types) |
Constructor and Description |
---|
LegacyBound(Slice.Bound bound,
boolean isStatic,
ColumnDefinition collectionName) |
Modifier and Type | Method and Description |
---|---|
static RangeTombstoneBoundaryMarker |
RangeTombstoneBoundaryMarker.makeBoundary(boolean reversed,
Slice.Bound close,
Slice.Bound open,
DeletionTime closeDeletion,
DeletionTime openDeletion) |
Constructor and Description |
---|
RangeTombstoneBoundMarker(Slice.Bound bound,
DeletionTime deletion) |
Copyright © 2016 The Apache Software Foundation