public interface Clustering extends ClusteringPrefix
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 |
EMPTY
Empty clustering for tables having no clustering columns.
|
static Clustering.Serializer |
serializer |
static Clustering |
STATIC_CLUSTERING
The special cased clustering used by all static rows.
|
Modifier and Type | Method and Description |
---|---|
default Clustering |
copy(AbstractAllocator allocator) |
static Clustering |
make(java.nio.ByteBuffer... values) |
default java.lang.String |
toCQLString(CFMetaData metadata) |
default java.lang.String |
toString(CFMetaData metadata)
Generates a proper string representation of the prefix.
|
long |
unsharedHeapSizeExcludingData() |
dataSize, digest, get, getRawValues, kind, size
unsharedHeapSize
clustering
static final Clustering.Serializer serializer
static final Clustering STATIC_CLUSTERING
static final Clustering EMPTY
long unsharedHeapSizeExcludingData()
default Clustering copy(AbstractAllocator allocator)
default java.lang.String toString(CFMetaData metadata)
ClusteringPrefix
toString
in interface ClusteringPrefix
metadata
- the metadata for the table the clustering prefix is of.default java.lang.String toCQLString(CFMetaData metadata)
static Clustering make(java.nio.ByteBuffer... values)
Copyright © 2016 The Apache Software Foundation