|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IColumn
TODO: rename
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.cassandra.db.OnDiskAtom |
|---|
OnDiskAtom.Serializer |
| Field Summary | |
|---|---|
static int |
MAX_NAME_LENGTH
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from interface org.apache.cassandra.db.OnDiskAtom |
|---|
getLocalDeletionTime, name, serializedSize, serializedSizeForSSTable, updateDigest |
| Field Detail |
|---|
static final int MAX_NAME_LENGTH
| Method Detail |
|---|
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)
void addColumn(IColumn column,
Allocator allocator)
IColumn diff(IColumn column)
IColumn reconcile(IColumn column)
IColumn reconcile(IColumn column,
Allocator allocator)
java.lang.String getString(AbstractType<?> comparator)
void validateFields(CFMetaData metadata)
throws MarshalException
validateFields in interface OnDiskAtomMarshalExceptionIColumn localCopy(ColumnFamilyStore cfs)
IColumn localCopy(ColumnFamilyStore cfs,
Allocator allocator)
boolean isLive()
long maxTimestamp()
maxTimestamp in interface OnDiskAtomboolean hasIrrelevantData(int gcBefore)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||