Package org.apache.cassandra.db
Interface ClusteringBoundary<V>
-
- All Superinterfaces:
Clusterable<V>,ClusteringBoundOrBoundary<V>,ClusteringPrefix<V>,IMeasurableMemory
- All Known Implementing Classes:
ArrayClusteringBoundary,BufferClusteringBoundary
public interface ClusteringBoundary<V> extends ClusteringBoundOrBoundary<V>
The threshold between two different ranges, i.e. a shortcut for the combination of two ClusteringBounds -- one specifying the end of one of the ranges, and its (implicit) complement specifying the beginning of the other.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.db.ClusteringBoundOrBoundary
ClusteringBoundOrBoundary.Serializer
-
Nested classes/interfaces inherited from interface org.apache.cassandra.db.ClusteringPrefix
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind
-
-
Field Summary
-
Fields inherited from interface org.apache.cassandra.db.ClusteringBoundOrBoundary
serializer
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusteringBound<V>closeBound(boolean reversed)static <V> ClusteringBoundary<V>create(ClusteringPrefix.Kind kind, ClusteringPrefix<V> from)ClusteringBoundary<V>invert()Returns the inverse of the current bound.ClusteringBound<V>openBound(boolean reversed)-
Methods inherited from interface org.apache.cassandra.db.Clusterable
clustering
-
Methods inherited from interface org.apache.cassandra.db.ClusteringBoundOrBoundary
clone, isBoundary, isClose, isOpen, toString, toString
-
Methods inherited from interface org.apache.cassandra.db.ClusteringPrefix
accessor, bufferAt, dataSize, digest, get, getBufferArray, getRawValues, isBottom, isEmpty, isTop, kind, minimize, serializeAsPartitionKey, size, stringAt, validate
-
Methods inherited from interface org.apache.cassandra.cache.IMeasurableMemory
unsharedHeapSize
-
-
-
-
Method Detail
-
invert
ClusteringBoundary<V> invert()
Description copied from interface:ClusteringBoundOrBoundaryReturns the inverse of the current bound.This invert both start into end (and vice-versa) and inclusive into exclusive (and vice-versa).
- Specified by:
invertin interfaceClusteringBoundOrBoundary<V>- Returns:
- the invert of this bound. For instance, if this bound is an exlusive start, this return an inclusive end with the same values.
-
openBound
ClusteringBound<V> openBound(boolean reversed)
-
closeBound
ClusteringBound<V> closeBound(boolean reversed)
-
create
static <V> ClusteringBoundary<V> create(ClusteringPrefix.Kind kind, ClusteringPrefix<V> from)
-
-