public class RowIndexEntry<T> extends java.lang.Object implements IMeasurableMemory
| Modifier and Type | Class and Description |
|---|---|
static interface |
RowIndexEntry.IndexSerializer<T> |
static class |
RowIndexEntry.Serializer |
| Modifier and Type | Field and Description |
|---|---|
long |
position |
| Constructor and Description |
|---|
RowIndexEntry(long position) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<T> |
columnsIndex() |
static RowIndexEntry<IndexHelper.IndexInfo> |
create(long position,
DeletionTime deletionTime,
ColumnIndex index) |
DeletionTime |
deletionTime() |
long |
headerLength()
The length of the row header (partition key, partition deletion and static row).
|
long |
headerOffset() |
boolean |
isIndexed() |
protected int |
promotedSize(IndexHelper.IndexInfo.Serializer idxSerializer) |
long |
unsharedHeapSize() |
protected int promotedSize(IndexHelper.IndexInfo.Serializer idxSerializer)
public static RowIndexEntry<IndexHelper.IndexInfo> create(long position, DeletionTime deletionTime, ColumnIndex index)
public boolean isIndexed()
public DeletionTime deletionTime()
public long headerOffset()
public long headerLength()
UnsupportedOperationException if !isIndexed().public java.util.List<T> columnsIndex()
public long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemoryCopyright © 2016 The Apache Software Foundation