public class ColumnIdentifier extends Selectable implements IMeasurableMemory, java.lang.Comparable<ColumnIdentifier>
| Modifier and Type | Class and Description |
|---|---|
static class |
ColumnIdentifier.Raw
Because Thrift-created tables may have a non-text comparator, we cannot determine the proper 'key' until
we know the comparator.
|
Selectable.WithFieldSelection, Selectable.WithFunction, Selectable.WritetimeOrTTL| Modifier and Type | Field and Description |
|---|---|
java.nio.ByteBuffer |
bytes |
| Constructor and Description |
|---|
ColumnIdentifier(java.nio.ByteBuffer bytes,
AbstractType<?> type) |
ColumnIdentifier(java.lang.String rawText,
boolean keepCase) |
| Modifier and Type | Method and Description |
|---|---|
ColumnIdentifier |
clone(AbstractAllocator allocator) |
int |
compareTo(ColumnIdentifier that) |
boolean |
equals(java.lang.Object o) |
static ColumnIdentifier |
getInterned(java.nio.ByteBuffer bytes,
AbstractType<?> type) |
static ColumnIdentifier |
getInterned(java.nio.ByteBuffer bytes,
java.lang.String text) |
static ColumnIdentifier |
getInterned(java.lang.String rawText,
boolean keepCase) |
int |
hashCode() |
boolean |
isInterned() |
Selector.Factory |
newSelectorFactory(CFMetaData cfm,
java.util.List<ColumnDefinition> defs) |
java.lang.String |
toString() |
long |
unsharedHeapSize() |
long |
unsharedHeapSizeExcludingData() |
addAndGetIndexpublic ColumnIdentifier(java.lang.String rawText,
boolean keepCase)
public ColumnIdentifier(java.nio.ByteBuffer bytes,
AbstractType<?> type)
public static ColumnIdentifier getInterned(java.nio.ByteBuffer bytes, AbstractType<?> type)
public static ColumnIdentifier getInterned(java.lang.String rawText, boolean keepCase)
public static ColumnIdentifier getInterned(java.nio.ByteBuffer bytes, java.lang.String text)
public boolean isInterned()
public final int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemorypublic long unsharedHeapSizeExcludingData()
public ColumnIdentifier clone(AbstractAllocator allocator)
public Selector.Factory newSelectorFactory(CFMetaData cfm, java.util.List<ColumnDefinition> defs) throws InvalidRequestException
newSelectorFactory in class SelectableInvalidRequestExceptionpublic int compareTo(ColumnIdentifier that)
compareTo in interface java.lang.Comparable<ColumnIdentifier>Copyright © 2015 The Apache Software Foundation