Package | Description |
---|---|
org.apache.cassandra.db | |
org.apache.cassandra.db.partitions | |
org.apache.cassandra.db.rows | |
org.apache.cassandra.io.sstable.metadata |
Modifier and Type | Field and Description |
---|---|
static LivenessInfo |
LivenessInfo.EMPTY |
Modifier and Type | Method and Description |
---|---|
static LivenessInfo |
LivenessInfo.create(CFMetaData metadata,
long timestamp,
int nowInSec) |
static LivenessInfo |
LivenessInfo.create(CFMetaData metadata,
long timestamp,
int ttl,
int nowInSec) |
static LivenessInfo |
LivenessInfo.create(long timestamp,
int ttl,
int localExpirationTime) |
static LivenessInfo |
LivenessInfo.expiring(long timestamp,
int ttl,
int nowInSec) |
LivenessInfo |
LivenessInfo.withUpdatedTimestamp(long newTimestamp)
Returns a copy of this liveness info updated with the provided timestamp.
|
LivenessInfo |
LivenessInfo.withUpdatedTimestampAndLocalDeletionTime(long newTimestamp,
int newLocalDeletionTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
DeletionTime.deletes(LivenessInfo info) |
default boolean |
DeletionPurger.shouldPurge(LivenessInfo liveness,
int nowInSec) |
boolean |
LivenessInfo.supersedes(LivenessInfo other)
Whether this liveness information supersedes another one (that is
whether is has a greater timestamp than the other or not).
|
Modifier and Type | Method and Description |
---|---|
void |
PartitionStatisticsCollector.update(LivenessInfo info) |
Modifier and Type | Field and Description |
---|---|
protected LivenessInfo |
BTreeRow.Builder.primaryKeyLivenessInfo |
Modifier and Type | Method and Description |
---|---|
LivenessInfo |
BTreeRow.primaryKeyLivenessInfo() |
LivenessInfo |
Row.primaryKeyLivenessInfo()
Liveness information for the primary key columns of this row.
|
Modifier and Type | Method and Description |
---|---|
void |
BTreeRow.Builder.addPrimaryKeyLivenessInfo(LivenessInfo info) |
void |
Row.Builder.addPrimaryKeyLivenessInfo(LivenessInfo info)
Adds the liveness information for the primary key columns of this row.
|
static BTreeRow |
BTreeRow.create(Clustering clustering,
LivenessInfo primaryKeyLivenessInfo,
Row.Deletion deletion,
java.lang.Object[] btree) |
boolean |
Row.Deletion.deletes(LivenessInfo info) |
Cell |
Cell.Serializer.deserialize(DataInputPlus in,
LivenessInfo rowLiveness,
ColumnDefinition column,
SerializationHeader header,
SerializationHelper helper) |
boolean |
Row.Deletion.isShadowedBy(LivenessInfo primaryKeyLivenessInfo) |
static BTreeRow |
BTreeRow.noCellLiveRow(Clustering clustering,
LivenessInfo primaryKeyLivenessInfo) |
void |
RowDiffListener.onPrimaryKeyLivenessInfo(int i,
Clustering clustering,
LivenessInfo merged,
LivenessInfo original)
Called for the row primary key liveness info of input
i . |
void |
Cell.Serializer.serialize(Cell cell,
ColumnDefinition column,
DataOutputPlus out,
LivenessInfo rowLiveness,
SerializationHeader header) |
long |
Cell.Serializer.serializedSize(Cell cell,
ColumnDefinition column,
LivenessInfo rowLiveness,
SerializationHeader header) |
void |
EncodingStats.Collector.update(LivenessInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataCollector.update(LivenessInfo newInfo) |
Copyright © 2018 The Apache Software Foundation