Package org.apache.cassandra.db
Class ArrayClusteringBound
java.lang.Object
org.apache.cassandra.db.AbstractOnHeapClusteringPrefix<byte[]>
org.apache.cassandra.db.AbstractArrayClusteringPrefix
org.apache.cassandra.db.ArrayClusteringBoundOrBoundary
org.apache.cassandra.db.ArrayClusteringBound
- All Implemented Interfaces:
IMeasurableMemory,Clusterable<byte[]>,ClusteringBound<byte[]>,ClusteringBoundOrBoundary<byte[]>,ClusteringPrefix<byte[]>
public class ArrayClusteringBound
extends ArrayClusteringBoundOrBoundary
implements ClusteringBound<byte[]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.db.ClusteringBoundOrBoundary
ClusteringBoundOrBoundary.SerializerNested classes/interfaces inherited from interface org.apache.cassandra.db.ClusteringPrefix
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind, ClusteringPrefix.Serializer -
Field Summary
Fields inherited from class org.apache.cassandra.db.AbstractArrayClusteringPrefix
EMPTY_VALUES_ARRAYFields inherited from class org.apache.cassandra.db.AbstractOnHeapClusteringPrefix
kind, valuesFields inherited from interface org.apache.cassandra.db.ClusteringBound
BOTTOM, MAX_START, MIN_END, TOPFields inherited from interface org.apache.cassandra.db.ClusteringBoundOrBoundary
serializerFields inherited from interface org.apache.cassandra.db.ClusteringPrefix
serializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(ByteBufferCloner cloner) static ArrayClusteringBoundcreate(ClusteringPrefix.Kind kind, byte[][] values) ClusteringBound<byte[]>invert()Returns the inverse of the current bound.longMethods inherited from class org.apache.cassandra.db.AbstractArrayClusteringPrefix
accessor, getBufferArray, retainableMethods inherited from class org.apache.cassandra.db.AbstractOnHeapClusteringPrefix
clustering, equals, get, getRawValues, hashCode, kind, sizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.db.Clusterable
clusteringMethods inherited from interface org.apache.cassandra.db.ClusteringBound
artificialLowerBound, asEndBound, asStartBound, isArtificial, isEnd, isExclusive, isInclusive, isStartMethods inherited from interface org.apache.cassandra.db.ClusteringBoundOrBoundary
isBoundary, isClose, isOpen, toString, toStringMethods inherited from interface org.apache.cassandra.db.ClusteringPrefix
accessor, bufferAt, clusteringString, dataSize, digest, get, getBufferArray, getRawValues, isBottom, isEmpty, isTop, kind, retainable, serializeAsPartitionKey, size, stringAt, validate, validate
-
Constructor Details
-
ArrayClusteringBound
-
-
Method Details
-
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 interfaceClusteringBound<byte[]>- Specified by:
invertin interfaceClusteringBoundOrBoundary<byte[]>- Returns:
- the invert of this bound. For instance, if this bound is an exlusive start, this return an inclusive end with the same values.
-
clone
- Specified by:
clonein interfaceClusteringBound<byte[]>- Specified by:
clonein interfaceClusteringBoundOrBoundary<byte[]>
-
create