Package | Description |
---|---|
org.apache.cassandra.config | |
org.apache.cassandra.db | |
org.apache.cassandra.db.context | |
org.apache.cassandra.utils |
Modifier and Type | Method and Description |
---|---|
static Allocator |
DatabaseDescriptor.getMemtableAllocator() |
Modifier and Type | Method and Description |
---|---|
void |
ColumnFamily.addAll(ColumnFamily cf,
Allocator allocator) |
void |
ArrayBackedSortedColumns.addAll(ColumnFamily cm,
Allocator allocator,
com.google.common.base.Function<Column,Column> transformation) |
void |
AtomicSortedColumns.addAll(ColumnFamily cm,
Allocator allocator,
com.google.common.base.Function<Column,Column> transformation) |
abstract void |
ColumnFamily.addAll(ColumnFamily cm,
Allocator allocator,
com.google.common.base.Function<Column,Column> transformation)
Adds all the columns of a given column map to this column map.
|
void |
EmptyColumns.addAll(ColumnFamily cm,
Allocator allocator,
com.google.common.base.Function<Column,Column> transformation) |
void |
TreeMapBackedSortedColumns.addAll(ColumnFamily cm,
Allocator allocator,
com.google.common.base.Function<Column,Column> transformation)
We need to go through each column in the column container and resolve it before adding
|
void |
UnsortedColumns.addAll(ColumnFamily cm,
Allocator allocator,
com.google.common.base.Function<Column,Column> transformation) |
long |
AtomicSortedColumns.addAllWithSizeDelta(ColumnFamily cm,
Allocator allocator,
com.google.common.base.Function<Column,Column> transformation,
SecondaryIndexManager.Updater indexer)
This is only called by Memtable.resolve, so only AtomicSortedColumns needs to implement it.
|
void |
ArrayBackedSortedColumns.addColumn(Column column,
Allocator allocator)
AddColumn throws an exception if the column added does not sort after
the last column in the map.
|
void |
AtomicSortedColumns.addColumn(Column column,
Allocator allocator) |
abstract void |
ColumnFamily.addColumn(Column column,
Allocator allocator)
Adds a column to this column map.
|
void |
EmptyColumns.addColumn(Column column,
Allocator allocator) |
void |
TreeMapBackedSortedColumns.addColumn(Column column,
Allocator allocator) |
void |
UnsortedColumns.addColumn(Column column,
Allocator allocator) |
java.nio.ByteBuffer |
ColumnFamilyStore.internOrCopy(java.nio.ByteBuffer name,
Allocator allocator) |
Column |
Column.localCopy(ColumnFamilyStore cfs,
Allocator allocator) |
Column |
CounterColumn.localCopy(ColumnFamilyStore cfs,
Allocator allocator) |
Column |
CounterUpdateColumn.localCopy(ColumnFamilyStore cfs,
Allocator allocator) |
Column |
DeletedColumn.localCopy(ColumnFamilyStore cfs,
Allocator allocator) |
Column |
ExpiringColumn.localCopy(ColumnFamilyStore cfs,
Allocator allocator) |
Column |
Column.reconcile(Column column,
Allocator allocator) |
Column |
CounterColumn.reconcile(Column column,
Allocator allocator) |
Column |
CounterUpdateColumn.reconcile(Column column,
Allocator allocator) |
Column |
DeletedColumn.reconcile(Column column,
Allocator allocator) |
void |
ColumnFamily.resolve(ColumnFamily cf,
Allocator allocator) |
Modifier and Type | Method and Description |
---|---|
static CounterContext.ContextState |
CounterContext.ContextState.allocate(int globalCount,
int localCount,
int remoteCount,
Allocator allocator)
Allocate a new context big enough for globalCount + localCount + remoteCount elements
and return the initial corresponding ContextState.
|
java.nio.ByteBuffer |
CounterContext.createLocal(long count,
Allocator allocator)
Creates a counter context with a single local shard.
|
java.nio.ByteBuffer |
CounterContext.createRemote(CounterId id,
long clock,
long count,
Allocator allocator)
Creates a counter context with a single remote shard.
|
java.nio.ByteBuffer |
CounterContext.merge(java.nio.ByteBuffer left,
java.nio.ByteBuffer right,
Allocator allocator)
Return a context w/ an aggregated count for each counter id.
|
java.nio.ByteBuffer |
IContext.merge(java.nio.ByteBuffer left,
java.nio.ByteBuffer right,
Allocator allocator)
Return a context w/ an aggregated count for each node id.
|
Modifier and Type | Class and Description |
---|---|
class |
HeapAllocator |
class |
SlabAllocator
The SlabAllocator is a bump-the-pointer allocator that allocates
large (2MB by default) regions and then doles them out to threads that request
slices into the array.
|
Copyright © 2014 The Apache Software Foundation