Package | Description |
---|---|
org.apache.cassandra.db.rows | |
org.apache.cassandra.utils.memory |
Modifier and Type | Class and Description |
---|---|
static class |
BTreeRow.Builder |
Modifier and Type | Method and Description |
---|---|
Row.Builder |
Row.Builder.copy()
Creates a copy of this
Builder . |
static Row.Builder |
Rows.copy(Row row,
Row.Builder builder) |
static Row.Builder |
BTreeRow.sortedBuilder() |
static Row.Builder |
BTreeRow.unsortedBuilder(int nowInSec) |
Modifier and Type | Method and Description |
---|---|
static void |
Cells.addNonShadowed(Cell existing,
Cell update,
DeletionTime deletion,
Row.Builder builder,
int nowInSec)
Adds to the builder a representation of the given existing cell that, when merged/reconciled with the given
update cell, produces the same result as merging the original with the update.
|
static void |
Cells.addNonShadowedComplex(ColumnDefinition column,
java.util.Iterator<Cell> existing,
java.util.Iterator<Cell> update,
DeletionTime deletion,
Row.Builder builder,
int nowInSec)
Adds to the builder a representation of the given existing cell that, when merged/reconciled with the given
update cell, produces the same result as merging the original with the update.
|
static Row.Builder |
Rows.copy(Row row,
Row.Builder builder) |
Unfiltered |
UnfilteredSerializer.deserialize(DataInputPlus in,
SerializationHeader header,
SerializationHelper helper,
Row.Builder builder)
Deserialize an
Unfiltered from the provided input. |
Row |
UnfilteredSerializer.deserializeRowBody(DataInputPlus in,
SerializationHeader header,
SerializationHelper helper,
int flags,
int extendedFlags,
Row.Builder builder) |
static long |
Rows.merge(Row existing,
Row update,
Row.Builder builder,
int nowInSec)
Merges two rows into the given builder, mainly for merging memtable rows.
|
static long |
Cells.reconcile(Cell existing,
Cell update,
DeletionTime deletion,
Row.Builder builder,
int nowInSec)
Reconciles/merges two cells, one being an update to an existing cell,
yielding index updates if appropriate.
|
static long |
Cells.reconcileComplex(ColumnDefinition column,
java.util.Iterator<Cell> existing,
java.util.Iterator<Cell> update,
DeletionTime deletion,
Row.Builder builder,
int nowInSec)
Computes the reconciliation of a complex column given its pre-existing
cells and the ones it is updated with, and generating index update if
appropriate.
|
Modifier and Type | Method and Description |
---|---|
Row.Builder |
AbstractAllocator.cloningBTreeRowBuilder() |
abstract Row.Builder |
MemtableAllocator.rowBuilder(OpOrder.Group opGroup) |
Row.Builder |
MemtableBufferAllocator.rowBuilder(OpOrder.Group writeOp) |
Row.Builder |
NativeAllocator.rowBuilder(OpOrder.Group opGroup) |
Copyright © 2018 The Apache Software Foundation