public interface Clustering<V> extends ClusteringPrefix<V>
Modifier and Type | Interface and Description |
---|---|
static class |
Clustering.Serializer
Serializer for Clustering object.
|
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind
Modifier and Type | Field and Description |
---|---|
static Clustering<java.nio.ByteBuffer> |
EMPTY
Empty clustering for tables having no clustering columns.
|
static Clustering.Serializer |
serializer |
static Clustering<java.nio.ByteBuffer> |
STATIC_CLUSTERING
The special cased clustering used by all static rows.
|
Modifier and Type | Method and Description |
---|---|
default Clustering<?> |
clone(ByteBufferCloner cloner) |
static Clustering<java.nio.ByteBuffer> |
make(java.nio.ByteBuffer... values) |
default java.lang.String |
toCQLString(TableMetadata metadata) |
default java.lang.String |
toString(TableMetadata metadata)
Generates a proper string representation of the prefix.
|
long |
unsharedHeapSizeExcludingData() |
accessor, bufferAt, dataSize, digest, equals, equals, get, getBufferArray, getRawValues, hashCode, isBottom, isEmpty, isTop, kind, minimize, serializeAsPartitionKey, size, stringAt, validate
unsharedHeapSize
clustering
static final Clustering.Serializer serializer
static final Clustering<java.nio.ByteBuffer> STATIC_CLUSTERING
static final Clustering<java.nio.ByteBuffer> EMPTY
long unsharedHeapSizeExcludingData()
default Clustering<?> clone(ByteBufferCloner cloner)
default java.lang.String toString(TableMetadata metadata)
ClusteringPrefix
toString
in interface ClusteringPrefix<V>
metadata
- the metadata for the table the clustering prefix is of.default java.lang.String toCQLString(TableMetadata metadata)
static Clustering<java.nio.ByteBuffer> make(java.nio.ByteBuffer... values)
Copyright © 2009- The Apache Software Foundation