Uses of Class
org.apache.cassandra.db.rows.Cell
-
-
Uses of Cell in org.apache.cassandra.cql3.conditions
Methods in org.apache.cassandra.cql3.conditions that return Cell Modifier and Type Method Description protected static Cell<?>
ColumnCondition. getCell(Row row, ColumnMetadata column)
protected static Cell<?>
ColumnCondition. getCell(Row row, ColumnMetadata column, CellPath path)
Methods in org.apache.cassandra.cql3.conditions that return types with arguments of type Cell Modifier and Type Method Description protected static java.util.Iterator<Cell<?>>
ColumnCondition. getCells(Row row, ColumnMetadata column)
-
Uses of Cell in org.apache.cassandra.cql3.selection
Methods in org.apache.cassandra.cql3.selection with parameters of type Cell Modifier and Type Method Description void
ResultSetBuilder. add(Cell<?> c, int nowInSec)
-
Uses of Cell in org.apache.cassandra.db
Methods in org.apache.cassandra.db with parameters of type Cell Modifier and Type Method Description boolean
DeletionTime. deletes(Cell<?> cell)
boolean
RangeTombstoneList. isDeleted(Clustering<?> clustering, Cell<?> cell)
Returns whether the given name/timestamp pair is deleted by one of the tombstone of this RangeTombstoneList. -
Uses of Cell in org.apache.cassandra.db.context
Methods in org.apache.cassandra.db.context with parameters of type Cell Modifier and Type Method Description <V> long
CounterContext. total(Cell<V> cell)
-
Uses of Cell in org.apache.cassandra.db.marshal
Methods in org.apache.cassandra.db.marshal that return Cell Modifier and Type Method Description Cell<V>
ValueAccessor.ObjectFactory. cell(ColumnMetadata column, long timestamp, int ttl, int localDeletionTime, V value, CellPath path)
Methods in org.apache.cassandra.db.marshal with parameters of type Cell Modifier and Type Method Description <V> void
UserType. validateCell(Cell<V> cell)
Method parameters in org.apache.cassandra.db.marshal with type arguments of type Cell Modifier and Type Method Description protected abstract java.util.List<java.nio.ByteBuffer>
CollectionType. serializedValues(java.util.Iterator<Cell<?>> cells)
java.util.List<java.nio.ByteBuffer>
ListType. serializedValues(java.util.Iterator<Cell<?>> cells)
java.util.List<java.nio.ByteBuffer>
MapType. serializedValues(java.util.Iterator<Cell<?>> cells)
java.util.List<java.nio.ByteBuffer>
SetType. serializedValues(java.util.Iterator<Cell<?>> cells)
java.nio.ByteBuffer
CollectionType. serializeForNativeProtocol(java.util.Iterator<Cell<?>> cells, ProtocolVersion version)
java.nio.ByteBuffer
UserType. serializeForNativeProtocol(java.util.Iterator<Cell<?>> cells, ProtocolVersion protocolVersion)
-
Uses of Cell in org.apache.cassandra.db.partitions
Methods in org.apache.cassandra.db.partitions with parameters of type Cell Modifier and Type Method Description void
PartitionStatisticsCollector. update(Cell<?> cell)
-
Uses of Cell in org.apache.cassandra.db.rows
Subclasses of Cell in org.apache.cassandra.db.rows Modifier and Type Class Description class
AbstractCell<V>
Base abstract class forCell
implementations.class
ArrayCell
class
BufferCell
class
NativeCell
Fields in org.apache.cassandra.db.rows with type parameters of type Cell Modifier and Type Field Description static java.util.Comparator<Cell<?>>
Cell. comparator
Methods in org.apache.cassandra.db.rows that return Cell Modifier and Type Method Description Cell<?>
AbstractCell. copy(AbstractAllocator allocator)
Cell<?>
ArrayCell. copy(AbstractAllocator allocator)
Cell<?>
BufferCell. copy(AbstractAllocator allocator)
abstract Cell<?>
Cell. copy(AbstractAllocator allocator)
Cell<V>
Cell.Factory. create(ColumnMetadata column, long timestamp, int ttl, int localDeletionTime, V value, CellPath path)
Cell<?>
BTreeRow. getCell(ColumnMetadata c)
Cell<?>
BTreeRow. getCell(ColumnMetadata c, CellPath path)
Cell<?>
ComplexColumnData. getCell(CellPath path)
Cell<?>
Row. getCell(ColumnMetadata c)
Returns a cell for a simple column.Cell<?>
Row. getCell(ColumnMetadata c, CellPath path)
Return a cell for a given complex column and cell path.Cell<?>
ComplexColumnData. getCellByIndex(int idx)
Cell<?>
AbstractCell. markCounterLocalToBeCleared()
abstract Cell<?>
Cell. markCounterLocalToBeCleared()
Cell<?>
AbstractCell. purge(DeletionPurger purger, int nowInSec)
abstract Cell<?>
Cell. purge(DeletionPurger purger, int nowInSec)
static Cell<?>
Cells. reconcile(Cell<?> c1, Cell<?> c2)
Reconciles/merge two cells.Cell<?>
AbstractCell. updateAllTimestamp(long newTimestamp)
Cell<?>
ArrayCell. withSkippedValue()
Cell<?>
BufferCell. withSkippedValue()
abstract Cell<?>
Cell. withSkippedValue()
Used to apply the same optimization as inCell.Serializer.deserialize(org.apache.cassandra.io.util.DataInputPlus, org.apache.cassandra.db.LivenessInfo, org.apache.cassandra.schema.ColumnMetadata, org.apache.cassandra.db.SerializationHeader, org.apache.cassandra.db.rows.DeserializationHelper, org.apache.cassandra.db.marshal.ValueAccessor<V>)
when the column is not queried but eventhough it's used for digest calculation.Cell
NativeCell. withSkippedValue()
Cell<?>
ArrayCell. withUpdatedColumn(ColumnMetadata newColumn)
Cell<?>
BufferCell. withUpdatedColumn(ColumnMetadata newColumn)
abstract Cell<?>
Cell. withUpdatedColumn(ColumnMetadata newColumn)
Cell<?>
NativeCell. withUpdatedColumn(ColumnMetadata column)
Cell<?>
ArrayCell. withUpdatedTimestampAndLocalDeletionTime(long newTimestamp, int newLocalDeletionTime)
Cell<?>
BufferCell. withUpdatedTimestampAndLocalDeletionTime(long newTimestamp, int newLocalDeletionTime)
abstract Cell<?>
Cell. withUpdatedTimestampAndLocalDeletionTime(long newTimestamp, int newLocalDeletionTime)
Cell<?>
NativeCell. withUpdatedTimestampAndLocalDeletionTime(long newTimestamp, int newLocalDeletionTime)
Cell<?>
ArrayCell. withUpdatedValue(java.nio.ByteBuffer newValue)
Cell<?>
BufferCell. withUpdatedValue(java.nio.ByteBuffer newValue)
abstract Cell<?>
Cell. withUpdatedValue(java.nio.ByteBuffer newValue)
Cell<?>
NativeCell. withUpdatedValue(java.nio.ByteBuffer newValue)
Methods in org.apache.cassandra.db.rows that return types with arguments of type Cell Modifier and Type Method Description java.lang.Iterable<Cell<?>>
BTreeRow. cells()
java.lang.Iterable<Cell<?>>
Row. cells()
An iterable over the cells of this row.java.lang.Iterable<Cell<?>>
BTreeRow. cellsInLegacyOrder(TableMetadata metadata, boolean reversed)
java.lang.Iterable<Cell<?>>
Row. cellsInLegacyOrder(TableMetadata metadata, boolean reversed)
An iterable over the cells of this row that return cells in "legacy order".java.util.Iterator<Cell<?>>
ComplexColumnData. iterator()
java.util.Iterator<Cell<?>>
ComplexColumnData. reverseIterator()
Methods in org.apache.cassandra.db.rows with parameters of type Cell Modifier and Type Method Description void
BTreeRow.Builder. addCell(Cell<?> cell)
void
ComplexColumnData.Builder. addCell(Cell<?> cell)
void
Row.Builder. addCell(Cell<?> cell)
Adds a cell to this builder.static void
Cells. addNonShadowed(Cell<?> existing, Cell<?> update, DeletionTime deletion, Row.Builder builder)
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. collectStats(Cell<?> cell, PartitionStatisticsCollector collector)
Collect statistics ont a given cell.static <T,V>
TCells. composeValue(Cell<V> cell, AbstractType<T> type)
boolean
Row.Deletion. deletes(Cell<?> cell)
static <V1,V2>
booleanAbstractCell. equals(Cell<V1> left, Cell<V2> right)
static <V> boolean
CounterCells. hasLegacyShards(Cell<V> cell)
boolean
DeserializationHelper. includes(Cell<?> cell, LivenessInfo rowLiveness)
boolean
DeserializationHelper. isDropped(Cell<?> cell, boolean isComplex)
void
RowDiffListener. onCell(int i, Clustering<?> clustering, Cell<?> merged, Cell<?> original)
Called for any cell that is either in the merged row or in inputi
.static Cell<?>
Cells. reconcile(Cell<?> c1, Cell<?> c2)
Reconciles/merge two cells.static long
Cells. reconcile(Cell<?> existing, Cell<?> update, DeletionTime deletion, Row.Builder builder)
Reconciles/merges two cells, one being an update to an existing cell, yielding index updates if appropriate.static BTreeRow
BTreeRow. singleCellRow(Clustering<?> clustering, Cell<?> cell)
void
EncodingStats.Collector. update(Cell<?> cell)
static <L,R>
booleanCells. valueEqual(Cell<L> left, Cell<R> right)
static <V> java.lang.String
Cells. valueString(Cell<V> cell)
static <V> java.lang.String
Cells. valueString(Cell<V> cell, AbstractType<?> type)
Method parameters in org.apache.cassandra.db.rows with type arguments of type Cell Modifier and Type Method Description <A> long
ComplexColumnData. accumulate(BiLongAccumulator<A,Cell<?>> accumulator, A arg, long initialValue)
long
ComplexColumnData. accumulate(LongAccumulator<Cell<?>> accumulator, long initialValue)
static void
Cells. addNonShadowedComplex(ColumnMetadata column, java.util.Iterator<Cell<?>> existing, java.util.Iterator<Cell<?>> update, DeletionTime deletion, Row.Builder builder)
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 long
Cells. reconcileComplex(ColumnMetadata column, java.util.Iterator<Cell<?>> existing, java.util.Iterator<Cell<?>> update, DeletionTime deletion, Row.Builder builder)
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.Constructors in org.apache.cassandra.db.rows with parameters of type Cell Constructor Description NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, Cell<?> cell)
-
Uses of Cell in org.apache.cassandra.io.sstable.metadata
Methods in org.apache.cassandra.io.sstable.metadata with parameters of type Cell Modifier and Type Method Description void
MetadataCollector. update(Cell<?> cell)
-
Uses of Cell in org.apache.cassandra.schema
Methods in org.apache.cassandra.schema that return types with arguments of type Cell Modifier and Type Method Description java.util.Comparator<? super Cell<?>>
ColumnMetadata. cellComparator()
Methods in org.apache.cassandra.schema with parameters of type Cell Modifier and Type Method Description <V> void
ColumnMetadata. validateCell(Cell<V> cell)
-