Modifier and Type | Method and Description |
---|---|
static CounterCacheKey |
CounterCacheKey.create(java.util.UUID cfId,
java.nio.ByteBuffer partitionKey,
CellName cellName) |
Modifier and Type | Method and Description |
---|---|
ColumnDefinition |
CFMetaData.getColumnDefinition(CellName cellName)
Returns a ColumnDefinition given a cell name.
|
AbstractType<?> |
CFMetaData.getValueValidator(CellName cellName) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryProcessor.validateColumn(CFMetaData metadata,
CellName name,
java.nio.ByteBuffer value) |
static void |
QueryProcessor.validateColumnName(CellName column) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Iterator<Cell> |
ColumnCondition.Bound.collectionColumns(CellName collection,
ColumnFamily cf,
long now) |
Cell |
UpdateParameters.makeColumn(CellName name,
java.nio.ByteBuffer value) |
Cell |
UpdateParameters.makeCounter(CellName name,
long delta) |
Cell |
UpdateParameters.makeTombstone(CellName name) |
static void |
QueryProcessor.validateCellName(CellName name,
CellNameType type) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryProcessor.validateCellNames(java.lang.Iterable<CellName> cellNames,
CellNameType type) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNativeCell
Packs a CellName AND a Cell into one off-heap representation.
|
class |
NativeCell |
class |
NativeCounterCell |
class |
NativeDeletedCell |
class |
NativeExpiringCell |
Modifier and Type | Field and Description |
---|---|
protected CellName |
BufferCell.name |
Modifier and Type | Method and Description |
---|---|
CellName |
AbstractNativeCell.copy(CFMetaData cfm,
AbstractAllocator allocator) |
CellName |
BufferCell.name() |
CellName |
Cell.name() |
CellName |
NativeCell.name() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<CellName,java.nio.ByteBuffer> |
ColumnFamily.asMap() |
java.lang.Iterable<CellName> |
ArrayBackedSortedColumns.getColumnNames() |
java.lang.Iterable<CellName> |
AtomicBTreeColumns.getColumnNames() |
abstract java.lang.Iterable<CellName> |
ColumnFamily.getColumnNames()
Returns an iterable with the names of columns in this column map in the same order
as the underlying columns themselves.
|
Modifier and Type | Method and Description |
---|---|
void |
Mutation.add(java.lang.String cfName,
CellName name,
java.nio.ByteBuffer value,
long timestamp) |
void |
Mutation.add(java.lang.String cfName,
CellName name,
java.nio.ByteBuffer value,
long timestamp,
int timeToLive) |
void |
ColumnFamily.addColumn(CellName name,
java.nio.ByteBuffer value,
long timestamp) |
void |
ColumnFamily.addColumn(CellName name,
java.nio.ByteBuffer value,
long timestamp,
int timeToLive) |
void |
ColumnFamily.addCounter(CellName name,
long value) |
void |
Mutation.addCounter(java.lang.String cfName,
CellName name,
long value) |
void |
ColumnFamily.addTombstone(CellName name,
java.nio.ByteBuffer localDeletionTime,
long timestamp) |
void |
ColumnFamily.addTombstone(CellName name,
int localDeletionTime,
long timestamp) |
static Cell |
AbstractCell.create(CellName name,
java.nio.ByteBuffer value,
long timestamp,
int ttl,
CFMetaData metadata) |
static Cell |
BufferExpiringCell.create(CellName name,
java.nio.ByteBuffer value,
long timestamp,
int timeToLive,
int localExpirationTime,
int expireBefore,
ColumnSerializer.Flag flag) |
static CounterCell |
BufferCounterCell.create(CellName name,
java.nio.ByteBuffer value,
long timestamp,
long timestampOfLastDelete,
ColumnSerializer.Flag flag) |
static CounterCell |
BufferCounterCell.createLocal(CellName name,
long value,
long timestamp,
long timestampOfLastDelete) |
void |
Mutation.delete(java.lang.String cfName,
CellName name,
long timestamp) |
boolean |
AbstractNativeCell.equals(CellName that) |
ClockAndCount |
ColumnFamilyStore.getCachedCounter(java.nio.ByteBuffer partitionKey,
CellName cellName) |
Cell |
ArrayBackedSortedColumns.getColumn(CellName name) |
Cell |
AtomicBTreeColumns.getColumn(CellName name) |
abstract Cell |
ColumnFamily.getColumn(CellName name)
Get a column given its name, returning null if the column is not
present.
|
boolean |
AbstractNativeCell.isSameCQL3RowAs(CellNameType type,
CellName other) |
void |
ColumnFamilyStore.putCachedCounter(java.nio.ByteBuffer partitionKey,
CellName cellName,
ClockAndCount clockAndCount) |
Cell |
AbstractNativeCell.withUpdatedName(CellName newName) |
Cell |
BufferCell.withUpdatedName(CellName newName) |
Cell |
BufferCounterCell.withUpdatedName(CellName newName) |
Cell |
BufferCounterUpdateCell.withUpdatedName(CellName newName) |
Cell |
BufferDeletedCell.withUpdatedName(CellName newName) |
Cell |
BufferExpiringCell.withUpdatedName(CellName newName) |
Cell |
Cell.withUpdatedName(CellName newName) |
Constructor and Description |
---|
BufferCell(CellName name,
java.nio.ByteBuffer value) |
BufferCell(CellName name,
java.nio.ByteBuffer value,
long timestamp) |
BufferCounterCell(CellName name,
java.nio.ByteBuffer value,
long timestamp) |
BufferCounterCell(CellName name,
java.nio.ByteBuffer value,
long timestamp,
long timestampOfLastDelete) |
BufferCounterUpdateCell(CellName name,
java.nio.ByteBuffer value,
long timestamp) |
BufferCounterUpdateCell(CellName name,
long value,
long timestamp) |
BufferDeletedCell(CellName name,
java.nio.ByteBuffer value,
long timestamp) |
BufferDeletedCell(CellName name,
int localDeletionTime,
long timestamp) |
BufferExpiringCell(CellName name,
java.nio.ByteBuffer value,
long timestamp,
int timeToLive) |
BufferExpiringCell(CellName name,
java.nio.ByteBuffer value,
long timestamp,
int timeToLive,
int localExpirationTime) |
Modifier and Type | Field and Description |
---|---|
java.util.SortedSet<CellName> |
SSTableNamesIterator.columns |
Constructor and Description |
---|
SSTableNamesIterator(SSTableReader sstable,
DecoratedKey key,
java.util.SortedSet<CellName> columns) |
SSTableNamesIterator(SSTableReader sstable,
FileDataInput file,
DecoratedKey key,
java.util.SortedSet<CellName> columns,
RowIndexEntry indexEntry) |
Modifier and Type | Class and Description |
---|---|
class |
CompoundDenseCellName |
class |
CompoundSparseCellName |
static class |
CompoundSparseCellName.WithCollection |
class |
SimpleDenseCellName |
class |
SimpleSparseCellName |
class |
SimpleSparseInternedCellName |
Modifier and Type | Method and Description |
---|---|
CellName |
AbstractCellNameType.cellFromByteBuffer(java.nio.ByteBuffer bytes) |
CellName |
CellNameType.cellFromByteBuffer(java.nio.ByteBuffer bb)
Deserialize a Composite from a ByteBuffer.
|
static CellName |
CellNames.compositeDense(java.nio.ByteBuffer... bbs) |
static CellName |
CellNames.compositeSparse(java.nio.ByteBuffer[] bbs,
ColumnIdentifier identifier,
boolean isStatic) |
static CellName |
CellNames.compositeSparseWithCollection(java.nio.ByteBuffer[] bbs,
java.nio.ByteBuffer collectionElement,
ColumnIdentifier identifier,
boolean isStatic) |
CellName |
CellName.copy(CFMetaData cfm,
AbstractAllocator allocator) |
CellName |
CompoundDenseCellName.copy(CFMetaData cfm,
AbstractAllocator allocator) |
CellName |
CompoundSparseCellName.copy(CFMetaData cfm,
AbstractAllocator allocator) |
CellName |
CompoundSparseCellName.WithCollection.copy(CFMetaData cfm,
AbstractAllocator allocator) |
CellName |
SimpleDenseCellName.copy(CFMetaData cfm,
AbstractAllocator allocator) |
CellName |
SimpleSparseCellName.copy(CFMetaData cfm,
AbstractAllocator allocator) |
CellName |
SimpleSparseInternedCellName.copy(CFMetaData cfm,
AbstractAllocator allocator) |
CellName |
CellNameType.create(Composite prefix,
ColumnDefinition column)
Creates a new CellName given a clustering prefix and a CQL3 column.
|
CellName |
CompoundDenseCellNameType.create(Composite prefix,
ColumnDefinition column) |
CellName |
CompoundSparseCellNameType.create(Composite prefix,
ColumnDefinition column) |
CellName |
SimpleDenseCellNameType.create(Composite prefix,
ColumnDefinition column) |
CellName |
SimpleSparseCellNameType.create(Composite prefix,
ColumnDefinition column) |
CellName |
AbstractCellNameType.create(Composite prefix,
ColumnDefinition column,
java.nio.ByteBuffer collectionElement) |
CellName |
CellNameType.create(Composite prefix,
ColumnDefinition column,
java.nio.ByteBuffer collectionElement)
Creates a new collection CellName given a clustering prefix, a CQL3 column and the collection element.
|
CellName |
CompoundSparseCellNameType.WithCollection.create(Composite prefix,
ColumnDefinition column,
java.nio.ByteBuffer collectionElement) |
protected abstract CellName |
AbstractCellNameType.makeCellName(java.nio.ByteBuffer[] components) |
protected CellName |
AbstractCompoundCellNameType.makeCellName(java.nio.ByteBuffer[] components) |
protected CellName |
AbstractSimpleCellNameType.makeCellName(java.nio.ByteBuffer[] components) |
CellName |
AbstractCellNameType.makeCellName(java.lang.Object... components) |
CellName |
CellNameType.makeCellName(java.lang.Object... components)
Convenience method to create cell names given its components.
|
CellName |
AbstractCellNameType.rowMarker(Composite prefix) |
CellName |
CellNameType.rowMarker(Composite prefix)
Creates a row marker for the CQL3 having the provided clustering prefix.
|
CellName |
CompoundSparseCellNameType.rowMarker(Composite prefix) |
static CellName |
CellNames.simpleDense(java.nio.ByteBuffer bb) |
static CellName |
CellNames.simpleSparse(ColumnIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
ISerializer<CellName> |
AbstractCellNameType.cellSerializer() |
ISerializer<CellName> |
CellNameType.cellSerializer() |
Modifier and Type | Method and Description |
---|---|
boolean |
CellName.isSameCQL3RowAs(CellNameType type,
CellName other)
Whether this cell is part of the same CQL3 row as the other cell.
|
boolean |
CompoundDenseCellName.isSameCQL3RowAs(CellNameType type,
CellName other) |
boolean |
CompoundSparseCellName.isSameCQL3RowAs(CellNameType type,
CellName other) |
boolean |
SimpleDenseCellName.isSameCQL3RowAs(CellNameType type,
CellName other) |
boolean |
SimpleSparseCellName.isSameCQL3RowAs(CellNameType type,
CellName other) |
Modifier and Type | Field and Description |
---|---|
java.util.SortedSet<CellName> |
NamesQueryFilter.columns |
Modifier and Type | Method and Description |
---|---|
static QueryFilter |
QueryFilter.getNamesFilter(DecoratedKey key,
java.lang.String cfName,
java.util.SortedSet<CellName> columns,
long timestamp) |
NamesQueryFilter |
NamesQueryFilter.withUpdatedColumns(java.util.SortedSet<CellName> newColumns) |
Constructor and Description |
---|
NamesQueryFilter(java.util.SortedSet<CellName> columns) |
NamesQueryFilter(java.util.SortedSet<CellName> columns,
boolean countCQL3Rows) |
Modifier and Type | Method and Description |
---|---|
protected abstract CellName |
AbstractSimplePerColumnSecondaryIndex.makeIndexColumnName(java.nio.ByteBuffer rowKey,
Cell cell) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
SecondaryIndex.indexes(CellName name)
Returns true if the provided cell name is indexed by this secondary index.
|
boolean |
SecondaryIndexManager.indexes(CellName name) |
boolean |
SecondaryIndexManager.indexes(CellName name,
java.util.Set<SecondaryIndex> indexes) |
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.indexFor(CellName name) |
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.indexFor(CellName name,
java.util.Set<SecondaryIndex> indexes) |
Modifier and Type | Field and Description |
---|---|
CellName |
CompositesIndex.IndexedEntry.indexEntry |
Modifier and Type | Method and Description |
---|---|
protected CellName |
CompositesIndex.makeIndexColumnName(java.nio.ByteBuffer rowKey,
Cell cell) |
Modifier and Type | Method and Description |
---|---|
boolean |
CompositesIndexOnClusteringKey.indexes(CellName name) |
boolean |
CompositesIndexOnCollectionKey.indexes(CellName name) |
boolean |
CompositesIndexOnCollectionValue.indexes(CellName name) |
boolean |
CompositesIndexOnPartitionKey.indexes(CellName name) |
boolean |
CompositesIndexOnRegular.indexes(CellName name) |
Constructor and Description |
---|
CompositesIndex.IndexedEntry(DecoratedKey indexValue,
CellName indexEntry,
long timestamp,
java.nio.ByteBuffer indexedKey,
Composite indexedEntryPrefix) |
CompositesIndex.IndexedEntry(DecoratedKey indexValue,
CellName indexEntry,
long timestamp,
java.nio.ByteBuffer indexedKey,
Composite indexedEntryPrefix,
java.nio.ByteBuffer indexedEntryCollectionKey) |
Modifier and Type | Method and Description |
---|---|
protected CellName |
KeysIndex.makeIndexColumnName(java.nio.ByteBuffer rowKey,
Cell cell) |
Modifier and Type | Method and Description |
---|---|
boolean |
KeysIndex.indexes(CellName name) |
Modifier and Type | Method and Description |
---|---|
static CellName |
Tracing.buildName(CFMetaData meta,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
static void |
Tracing.addColumn(ColumnFamily cf,
CellName name,
java.net.InetAddress address) |
static void |
Tracing.addColumn(ColumnFamily cf,
CellName name,
int value) |
static void |
Tracing.addColumn(ColumnFamily cf,
CellName name,
long value) |
static void |
Tracing.addColumn(ColumnFamily cf,
CellName name,
java.lang.String value) |
Copyright © 2014 The Apache Software Foundation