public class ColumnIdentifier extends Selectable implements IMeasurableMemory
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.nio.ByteBuffer bytes,
java.lang.String text) |
ColumnIdentifier(java.lang.String rawText,
boolean keepCase) |
Modifier and Type | Method and Description |
---|---|
ColumnIdentifier |
clone(AbstractAllocator allocator) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Selector.Factory |
newSelectorFactory(CFMetaData cfm,
java.util.List<ColumnDefinition> defs) |
java.lang.String |
toString() |
long |
unsharedHeapSize() |
long |
unsharedHeapSizeExcludingData() |
addAndGetIndex
public ColumnIdentifier(java.lang.String rawText, boolean keepCase)
public ColumnIdentifier(java.nio.ByteBuffer bytes, AbstractType<?> type)
public ColumnIdentifier(java.nio.ByteBuffer bytes, java.lang.String text)
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public long unsharedHeapSize()
unsharedHeapSize
in interface IMeasurableMemory
public long unsharedHeapSizeExcludingData()
public ColumnIdentifier clone(AbstractAllocator allocator)
public Selector.Factory newSelectorFactory(CFMetaData cfm, java.util.List<ColumnDefinition> defs) throws InvalidRequestException
newSelectorFactory
in class Selectable
InvalidRequestException
Copyright © 2020 The Apache Software Foundation