Modifier and Type | Method and Description |
---|---|
boolean |
ColumnCondition.WithOptions.appliesTo(Composite rowPrefix,
ColumnFamily current,
long now)
Validates whether this condition applies to
current . |
void |
Constants.Setter.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Constants.Adder.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Constants.Substracter.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Constants.Deleter.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Lists.Setter.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Lists.SetterByIndex.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Lists.Appender.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Lists.Prepender.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Lists.Discarder.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Lists.DiscarderByIndex.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Maps.Setter.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Maps.SetterByKey.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Maps.Putter.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Maps.DiscarderByKey.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
abstract void |
Operation.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params)
Execute the operation.
|
void |
Sets.Setter.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Sets.Adder.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
void |
Sets.Discarder.execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params) |
static void |
QueryProcessor.validateComposite(Composite name,
CType type) |
Modifier and Type | Method and Description |
---|---|
Composite |
ModificationStatement.createClusteringPrefix(QueryOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
CQL3CasConditions.addConditions(Composite prefix,
java.util.Collection<ColumnCondition> conds,
QueryOptions options) |
void |
CQL3CasConditions.addExist(Composite prefix) |
void |
CQL3CasConditions.addNotExist(Composite prefix) |
void |
DeleteStatement.addUpdateForKey(ColumnFamily cf,
java.nio.ByteBuffer key,
Composite prefix,
UpdateParameters params) |
abstract void |
ModificationStatement.addUpdateForKey(ColumnFamily updates,
java.nio.ByteBuffer key,
Composite prefix,
UpdateParameters params) |
void |
UpdateStatement.addUpdateForKey(ColumnFamily cf,
java.nio.ByteBuffer key,
Composite prefix,
UpdateParameters params) |
void |
ModificationStatement.addUpdatesAndConditions(java.nio.ByteBuffer key,
Composite clusteringPrefix,
ColumnFamily updates,
CQL3CasConditions conditions,
QueryOptions options,
long now) |
UpdateParameters |
ModificationStatement.makeUpdateParameters(java.util.Collection<java.nio.ByteBuffer> keys,
Composite prefix,
QueryOptions options,
boolean local,
long now) |
protected java.util.Map<java.nio.ByteBuffer,CQL3Row> |
ModificationStatement.readRequiredRows(java.util.Collection<java.nio.ByteBuffer> partitionKeys,
Composite clusteringPrefix,
boolean local,
ConsistencyLevel cl) |
protected java.util.Map<java.nio.ByteBuffer,CQL3Row> |
ModificationStatement.readRows(java.util.Collection<java.nio.ByteBuffer> partitionKeys,
Composite rowPrefix,
CFMetaData cfm,
boolean local,
ConsistencyLevel cl) |
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 |
---|---|
Composite |
CFRowAdder.prefix |
Composite |
PagedRangeCommand.start |
Composite |
PagedRangeCommand.stop |
Modifier and Type | Method and Description |
---|---|
Composite |
AbstractNativeCell.end() |
static Composite |
SuperColumns.endOf(java.nio.ByteBuffer scName) |
Composite |
OnDiskAtom.name() |
Composite |
RangeTombstone.name() |
Composite |
AbstractNativeCell.start() |
static Composite |
SuperColumns.startOf(java.nio.ByteBuffer scName) |
Composite |
AbstractNativeCell.withEOC(Composite.EOC eoc) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<Composite> |
RangeTombstoneList.comparator() |
Modifier and Type | Method and Description |
---|---|
void |
RangeTombstoneList.add(Composite start,
Composite end,
long markedAt,
int delTime)
Adds a new range tombstone.
|
int |
AtomDeserializer.compareNextTo(Composite composite)
Compare the provided composite to the next atom to read on disk.
|
void |
Mutation.deleteRange(java.lang.String cfName,
Composite start,
Composite end,
long timestamp) |
DeletionTime |
DeletionInfo.deletionTimeFor(Composite name) |
RangeTombstone |
RangeTombstone.Serializer.deserializeBody(java.io.DataInput in,
Composite min,
Descriptor.Version version) |
ColumnFamily |
ColumnFamilyStore.getColumnFamily(DecoratedKey key,
Composite start,
Composite finish,
boolean reversed,
int limit,
long timestamp) |
boolean |
RangeTombstone.includes(java.util.Comparator<Composite> comparator,
Composite name) |
boolean |
DeletionInfo.isDeleted(Composite name,
long timestamp) |
boolean |
DeletionInfo.InOrderTester.isDeleted(Composite name,
long timestamp) |
boolean |
RangeTombstoneList.isDeleted(Composite name,
long timestamp)
Returns whether the given name/timestamp pair is deleted by one of the tombstone
of this RangeTombstoneList.
|
boolean |
RangeTombstoneList.InOrderTester.isDeleted(Composite name,
long timestamp) |
boolean |
AbstractNativeCell.isPrefixOf(CType type,
Composite c) |
java.util.Iterator<RangeTombstone> |
RangeTombstoneList.iterator(Composite from,
Composite till) |
ExtendedFilter |
ColumnFamilyStore.makeExtendedFilter(AbstractBounds<RowPosition> keyRange,
SliceQueryFilter columnRange,
Composite columnStart,
Composite columnStop,
java.util.List<IndexExpression> rowFilter,
int maxResults,
boolean countCQL3Rows,
long now)
Allows generic range paging with the slice column filter.
|
RangeTombstone |
DeletionInfo.rangeCovering(Composite name) |
java.util.Iterator<RangeTombstone> |
DeletionInfo.rangeIterator(Composite start,
Composite finish) |
static java.nio.ByteBuffer |
SuperColumns.scName(Composite columnName) |
RangeTombstone |
RangeTombstoneList.search(Composite name) |
DeletionTime |
RangeTombstoneList.searchDeletionTime(Composite name)
Returns the DeletionTime for the tombstone overlapping
name (there can't be more than one),
or null if name is not covered by any tombstone. |
static java.nio.ByteBuffer |
SuperColumns.subName(Composite columnName) |
Modifier and Type | Method and Description |
---|---|
void |
DeletionInfo.add(RangeTombstone tombstone,
java.util.Comparator<Composite> comparator) |
boolean |
RangeTombstone.includes(java.util.Comparator<Composite> comparator,
Composite name) |
boolean |
RangeTombstone.supersedes(RangeTombstone rt,
java.util.Comparator<Composite> comparator)
This tombstone supersedes another one if it is more recent and cover a
bigger range than rt.
|
Constructor and Description |
---|
CFRowAdder(ColumnFamily cf,
Composite prefix,
long timestamp) |
DataRange.Paging(AbstractBounds<RowPosition> range,
SliceQueryFilter filter,
Composite columnStart,
Composite columnFinish,
CellNameType comparator) |
DeletionInfo(Composite start,
Composite end,
java.util.Comparator<Composite> comparator,
long markedForDeleteAt,
int localDeletionTime) |
PagedRangeCommand(java.lang.String keyspace,
java.lang.String columnFamily,
long timestamp,
AbstractBounds<RowPosition> keyRange,
SliceQueryFilter predicate,
Composite start,
Composite stop,
java.util.List<IndexExpression> rowFilter,
int limit,
boolean countCQL3Rows) |
RangeTombstone(Composite start,
Composite stop,
DeletionTime delTime) |
RangeTombstone(Composite start,
Composite stop,
long markedForDeleteAt,
int localDeletionTime) |
Constructor and Description |
---|
DeletionInfo(Composite start,
Composite end,
java.util.Comparator<Composite> comparator,
long markedForDeleteAt,
int localDeletionTime) |
DeletionInfo(RangeTombstone rangeTombstone,
java.util.Comparator<Composite> comparator) |
RangeTombstone.Tracker(java.util.Comparator<Composite> comparator) |
RangeTombstoneList(java.util.Comparator<Composite> comparator,
int capacity) |
Modifier and Type | Interface and Description |
---|---|
interface |
CellName
A CellName is a Composite, but for which, for the sake of CQL3, we
distinguish different parts: a CellName has first a number of clustering
components, followed by the CQL3 column name, and then possibly followed by
a collection element part.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractComposite |
class |
BoundedComposite |
class |
CompoundComposite
A "truly-composite" Composite.
|
class |
CompoundDenseCellName |
class |
CompoundSparseCellName |
static class |
CompoundSparseCellName.WithCollection |
class |
SimpleComposite
A "simple" (not-truly-composite) Composite.
|
class |
SimpleDenseCellName |
class |
SimpleSparseCellName |
class |
SimpleSparseInternedCellName |
Modifier and Type | Field and Description |
---|---|
static Composite |
Composites.EMPTY |
Modifier and Type | Method and Description |
---|---|
Composite |
CBuilder.build() |
Composite |
CompoundCType.CompoundCBuilder.build() |
Composite |
SimpleCType.SimpleCBuilder.build() |
Composite |
CBuilder.buildWith(java.nio.ByteBuffer value) |
Composite |
CompoundCType.CompoundCBuilder.buildWith(java.nio.ByteBuffer value) |
Composite |
SimpleCType.SimpleCBuilder.buildWith(java.nio.ByteBuffer value) |
Composite |
BoundedComposite.copy(CFMetaData cfm,
AbstractAllocator allocator) |
Composite |
Composite.copy(CFMetaData cfm,
AbstractAllocator allocator) |
Composite |
CompoundComposite.copy(CFMetaData cfm,
AbstractAllocator allocator) |
Composite |
SimpleComposite.copy(CFMetaData cfm,
AbstractAllocator allocator) |
protected abstract Composite |
AbstractCompoundCellNameType.copyAndMakeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
protected Composite |
CompoundDenseCellNameType.copyAndMakeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
protected Composite |
CompoundSparseCellNameType.copyAndMakeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
protected Composite |
CompoundSparseCellNameType.WithCollection.copyAndMakeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
Composite |
AbstractComposite.end() |
Composite |
Composite.end() |
Composite |
AbstractCompoundCellNameType.fromByteBuffer(java.nio.ByteBuffer bytes) |
Composite |
CType.fromByteBuffer(java.nio.ByteBuffer bb)
Deserialize a Composite from a ByteBuffer.
|
Composite |
CompoundCType.fromByteBuffer(java.nio.ByteBuffer bytes) |
Composite |
SimpleCType.fromByteBuffer(java.nio.ByteBuffer bytes) |
Composite |
SimpleDenseCellNameType.fromByteBuffer(java.nio.ByteBuffer bb) |
Composite |
SimpleSparseCellNameType.fromByteBuffer(java.nio.ByteBuffer bb) |
Composite |
AbstractCType.make(java.lang.Object... components) |
Composite |
AbstractCellNameType.make(java.lang.Object... components) |
Composite |
CType.make(java.lang.Object... components)
Convenience method to build composites from their component.
|
protected abstract Composite |
AbstractCompoundCellNameType.makeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
protected Composite |
CompoundDenseCellNameType.makeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
protected Composite |
CompoundSparseCellNameType.makeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
protected Composite |
CompoundSparseCellNameType.WithCollection.makeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
Composite |
CellNameType.Deserializer.readNext()
Actually consume the next name and return it.
|
Composite |
AbstractComposite.start() |
Composite |
Composite.start() |
Composite |
AbstractCellNameType.staticPrefix() |
Composite |
CellNameType.staticPrefix()
The prefix to use for static columns.
|
Composite |
CompoundSparseCellNameType.staticPrefix() |
Composite |
AbstractComposite.withEOC(Composite.EOC newEoc) |
Composite |
BoundedComposite.withEOC(Composite.EOC eoc) |
Composite |
Composite.withEOC(Composite.EOC eoc) |
Composite |
SimpleComposite.withEOC(Composite.EOC newEoc) |
Composite |
SimpleSparseCellName.withEOC(Composite.EOC newEoc) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<Composite> |
AbstractCType.reverseComparator() |
java.util.Comparator<Composite> |
CType.reverseComparator() |
Modifier and Type | Method and Description |
---|---|
int |
AbstractCType.compare(Composite c1,
Composite c2) |
int |
AbstractSimpleCellNameType.compare(Composite c1,
Composite c2) |
int |
CompoundSparseCellNameType.WithCollection.compare(Composite c1,
Composite c2) |
int |
SimpleCType.compare(Composite c1,
Composite c2) |
int |
CellNameType.Deserializer.compareNextTo(Composite composite)
Comparare the next name to read to the provided Composite.
|
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) |
java.lang.String |
AbstractCType.getString(Composite c) |
java.lang.String |
CType.getString(Composite c)
Converts a composite to a user-readable string.
|
boolean |
AbstractComposite.isPrefixOf(CType type,
Composite c) |
boolean |
Composite.isPrefixOf(CType type,
Composite other) |
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) |
void |
AbstractCType.validate(Composite name) |
void |
CType.validate(Composite name)
Validates a composite.
|
Modifier and Type | Field and Description |
---|---|
Composite |
ColumnSlice.finish |
Composite |
ColumnSlice.start |
Modifier and Type | Method and Description |
---|---|
Composite |
SliceQueryFilter.finish() |
Composite |
SliceQueryFilter.start() |
Modifier and Type | Method and Description |
---|---|
static QueryFilter |
QueryFilter.getSliceFilter(DecoratedKey key,
java.lang.String cfName,
Composite start,
Composite finish,
boolean reversed,
int limit,
long timestamp) |
boolean |
ColumnSlice.includes(java.util.Comparator<Composite> cmp,
Composite name) |
boolean |
ColumnSlice.isBefore(java.util.Comparator<Composite> cmp,
Composite name) |
abstract boolean |
ExtendedFilter.isSatisfiedBy(DecoratedKey rowKey,
ColumnFamily data,
Composite prefix,
java.nio.ByteBuffer collectionElement) |
boolean |
ExtendedFilter.WithClauses.isSatisfiedBy(DecoratedKey rowKey,
ColumnFamily data,
Composite prefix,
java.nio.ByteBuffer collectionElement) |
boolean |
IDiskAtomFilter.maySelectPrefix(CType type,
Composite prefix) |
boolean |
NamesQueryFilter.maySelectPrefix(CType type,
Composite prefix) |
boolean |
SliceQueryFilter.maySelectPrefix(CType type,
Composite prefix) |
void |
SliceQueryFilter.setStart(Composite start) |
SliceQueryFilter |
SliceQueryFilter.withUpdatedSlice(Composite start,
Composite finish) |
SliceQueryFilter |
SliceQueryFilter.withUpdatedStart(Composite newStart,
CellNameType comparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
ColumnSlice.includes(java.util.Comparator<Composite> cmp,
Composite name) |
boolean |
ColumnSlice.isBefore(java.util.Comparator<Composite> cmp,
Composite name) |
Constructor and Description |
---|
ColumnSlice(Composite start,
Composite finish) |
SliceQueryFilter(Composite start,
Composite finish,
boolean reversed,
int count) |
SliceQueryFilter(Composite start,
Composite finish,
boolean reversed,
int count,
int compositesToGroup) |
Modifier and Type | Field and Description |
---|---|
Composite |
CompositesIndex.IndexedEntry.indexedEntryPrefix |
Modifier and Type | Method and Description |
---|---|
protected abstract Composite |
CompositesIndex.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite columnName) |
protected Composite |
CompositesIndexOnClusteringKey.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite columnName) |
protected Composite |
CompositesIndexOnCollectionKey.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite cellName) |
protected Composite |
CompositesIndexOnCollectionValue.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite cellName) |
protected Composite |
CompositesIndexOnPartitionKey.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite columnName) |
protected Composite |
CompositesIndexOnRegular.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite cellName) |
Modifier and Type | Method and Description |
---|---|
protected abstract Composite |
CompositesIndex.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite columnName) |
protected Composite |
CompositesIndexOnClusteringKey.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite columnName) |
protected Composite |
CompositesIndexOnCollectionKey.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite cellName) |
protected Composite |
CompositesIndexOnCollectionValue.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite cellName) |
protected Composite |
CompositesIndexOnPartitionKey.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite columnName) |
protected Composite |
CompositesIndexOnRegular.makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite cellName) |
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 | Field and Description |
---|---|
Composite |
IndexHelper.IndexInfo.firstName |
Composite |
IndexHelper.IndexInfo.lastName |
Modifier and Type | Method and Description |
---|---|
static int |
IndexHelper.indexFor(Composite name,
java.util.List<IndexHelper.IndexInfo> indexList,
CType comparator,
boolean reversed,
int lastIndex)
The index of the IndexInfo in which a scan starting with @name should begin.
|
static java.util.List<java.nio.ByteBuffer> |
ColumnNameHelper.maxComponents(java.util.List<java.nio.ByteBuffer> maxSeen,
Composite candidate,
CellNameType comparator)
finds the max cell name component(s)
Note that this method *can modify maxSeen*.
|
static java.util.List<java.nio.ByteBuffer> |
ColumnNameHelper.minComponents(java.util.List<java.nio.ByteBuffer> minSeen,
Composite candidate,
CellNameType comparator)
finds the min cell name component(s)
Note that this method *can modify maxSeen*.
|
Constructor and Description |
---|
IndexHelper.IndexInfo(Composite firstName,
Composite lastName,
long offset,
long width) |
Copyright © 2014 The Apache Software Foundation