public abstract class AbstractClusteringPrefix extends java.lang.Object implements ClusteringPrefix
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind, ClusteringPrefix.Serializer
serializer
Constructor and Description |
---|
AbstractClusteringPrefix() |
Modifier and Type | Method and Description |
---|---|
ClusteringPrefix |
clustering() |
int |
dataSize()
The size of the data hold by this prefix.
|
void |
digest(com.google.common.hash.Hasher hasher)
Adds the data of this clustering prefix to the provided Hasher instance.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
get, getRawValues, kind, serializeAsPartitionKey, size, toString
unsharedHeapSize
public ClusteringPrefix clustering()
clustering
in interface Clusterable
public int dataSize()
ClusteringPrefix
dataSize
in interface ClusteringPrefix
public void digest(com.google.common.hash.Hasher hasher)
ClusteringPrefix
digest
in interface ClusteringPrefix
hasher
- the Hasher instance to which to add this prefix.public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2009-2019 The Apache Software Foundation