public interface IColumn extends OnDiskAtom
OnDiskAtom.Serializer
Modifier and Type | Field and Description |
---|---|
static int |
MAX_NAME_LENGTH |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(IColumn column) |
void |
addColumn(IColumn column,
Allocator allocator) |
int |
dataSize()
the size of user-provided data, not including internal overhead
|
IColumn |
diff(IColumn column) |
long |
getMarkedForDeleteAt() |
java.lang.String |
getString(AbstractType<?> comparator) |
IColumn |
getSubColumn(java.nio.ByteBuffer columnName) |
java.util.Collection<IColumn> |
getSubColumns() |
boolean |
hasIrrelevantData(int gcBefore) |
boolean |
isLive()
For a simple column, live == !isMarkedForDelete.
|
boolean |
isMarkedForDelete() |
IColumn |
localCopy(ColumnFamilyStore cfs)
clones the column for the row cache, interning column names and making copies of other underlying byte buffers
|
IColumn |
localCopy(ColumnFamilyStore cfs,
Allocator allocator)
clones the column for the memtable, interning column names and making copies of other underlying byte buffers.
|
long |
maxTimestamp()
For a standard column, this is the same as timestamp().
|
long |
mostRecentLiveChangeAt() |
long |
mostRecentNonGCableChangeAt(int gcbefore) |
IColumn |
reconcile(IColumn column) |
IColumn |
reconcile(IColumn column,
Allocator allocator) |
int |
serializationFlags() |
long |
timestamp() |
void |
validateFields(CFMetaData metadata) |
java.nio.ByteBuffer |
value() |
getLocalDeletionTime, minTimestamp, name, serializedSize, serializedSizeForSSTable, updateDigest
static final int MAX_NAME_LENGTH
boolean isMarkedForDelete()
long getMarkedForDeleteAt()
long mostRecentLiveChangeAt()
long mostRecentNonGCableChangeAt(int gcbefore)
int dataSize()
int serializationFlags()
long timestamp()
java.nio.ByteBuffer value()
java.util.Collection<IColumn> getSubColumns()
IColumn getSubColumn(java.nio.ByteBuffer columnName)
void addColumn(IColumn column)
java.lang.String getString(AbstractType<?> comparator)
void validateFields(CFMetaData metadata) throws MarshalException
validateFields
in interface OnDiskAtom
MarshalException
IColumn localCopy(ColumnFamilyStore cfs)
IColumn localCopy(ColumnFamilyStore cfs, Allocator allocator)
boolean isLive()
long maxTimestamp()
maxTimestamp
in interface OnDiskAtom
boolean hasIrrelevantData(int gcBefore)
Copyright © 2013 The Apache Software Foundation