Modifier and Type | Field and Description |
---|---|
CellNameType |
CFMetaData.comparator |
Modifier and Type | Method and Description |
---|---|
static CFMetaData |
CFMetaData.newIndexMetadata(CFMetaData parent,
ColumnDefinition info,
CellNameType indexComparator)
Creates CFMetaData for secondary index CF.
|
Constructor and Description |
---|
CFMetaData(java.lang.String keyspace,
java.lang.String name,
ColumnFamilyType type,
CellNameType comp)
Create new ColumnFamily metadata with generated random ID.
|
CFMetaData(java.lang.String keyspace,
java.lang.String name,
ColumnFamilyType type,
CellNameType comp,
java.util.UUID id) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryProcessor.validateCellName(CellName name,
CellNameType type) |
static void |
QueryProcessor.validateCellNames(java.lang.Iterable<CellName> cellNames,
CellNameType type) |
Modifier and Type | Field and Description |
---|---|
CellNameType |
CreateTableStatement.comparator |
Modifier and Type | Field and Description |
---|---|
CellNameType |
Memtable.initialComparator |
Modifier and Type | Method and Description |
---|---|
CellNameType |
ColumnFamily.getComparator() |
CellNameType |
ColumnFamilyStore.getComparator() |
static CellNameType |
SuperColumns.scNameType(CellNameType type) |
Modifier and Type | Method and Description |
---|---|
static IDiskAtomFilter |
SuperColumns.fromSCFilter(CellNameType type,
java.nio.ByteBuffer scName,
IDiskAtomFilter filter) |
static IDiskAtomFilter |
SuperColumns.fromSCNamesFilter(CellNameType type,
java.nio.ByteBuffer scName,
NamesQueryFilter filter) |
static SliceQueryFilter |
SuperColumns.fromSCSliceFilter(CellNameType type,
java.nio.ByteBuffer scName,
SliceQueryFilter filter) |
java.lang.String |
AbstractCell.getString(CellNameType comparator) |
java.lang.String |
BufferCounterCell.getString(CellNameType comparator) |
java.lang.String |
BufferCounterUpdateCell.getString(CellNameType comparator) |
java.lang.String |
BufferExpiringCell.getString(CellNameType comparator) |
java.lang.String |
Cell.getString(CellNameType comparator) |
java.lang.String |
NativeCounterCell.getString(CellNameType comparator) |
java.lang.String |
NativeExpiringCell.getString(CellNameType comparator) |
boolean |
AbstractNativeCell.isSameCQL3RowAs(CellNameType type,
CellName other) |
static java.util.Iterator<OnDiskAtom> |
AbstractCell.onDiskIterator(java.io.DataInput in,
ColumnSerializer.Flag flag,
int expireBefore,
Version version,
CellNameType type) |
static java.util.Iterator<OnDiskAtom> |
SuperColumns.onDiskIterator(java.io.DataInput in,
int superColumnCount,
ColumnSerializer.Flag flag,
int expireBefore,
CellNameType type) |
static CellNameType |
SuperColumns.scNameType(CellNameType type) |
int |
AbstractCell.serializedSize(CellNameType type,
TypeSizes typeSizes) |
int |
BufferCounterCell.serializedSize(CellNameType type,
TypeSizes typeSizes) |
int |
BufferExpiringCell.serializedSize(CellNameType type,
TypeSizes typeSizes) |
int |
Cell.serializedSize(CellNameType type,
TypeSizes typeSizes) |
int |
NativeCounterCell.serializedSize(CellNameType type,
TypeSizes typeSizes) |
int |
NativeExpiringCell.serializedSize(CellNameType type,
TypeSizes typeSizes) |
Constructor and Description |
---|
AtomDeserializer(CellNameType type,
java.io.DataInput in,
ColumnSerializer.Flag flag,
int expireBefore,
Version version) |
ColumnSerializer(CellNameType type) |
Serializer(CellNameType type) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCellNameType |
class |
AbstractCompoundCellNameType |
class |
AbstractSimpleCellNameType |
class |
CompoundDenseCellNameType |
class |
CompoundSparseCellNameType |
static class |
CompoundSparseCellNameType.WithCollection |
class |
SimpleDenseCellNameType |
class |
SimpleSparseCellNameType |
Modifier and Type | Method and Description |
---|---|
CellNameType |
AbstractCellNameType.addOrUpdateCollection(ColumnIdentifier columnName,
CollectionType newCollection) |
CellNameType |
CellNameType.addOrUpdateCollection(ColumnIdentifier columnName,
CollectionType newCollection)
Return the new type obtained by adding/updating to the new collection type for the provided column name
to this type.
|
CellNameType |
CompoundSparseCellNameType.addOrUpdateCollection(ColumnIdentifier columnName,
CollectionType newCollection) |
CellNameType |
CompoundSparseCellNameType.WithCollection.addOrUpdateCollection(ColumnIdentifier columnName,
CollectionType newCollection) |
static CellNameType |
CellNames.fromAbstractType(AbstractType<?> type,
boolean isDense) |
CellNameType |
CellNameType.setSubtype(int position,
AbstractType<?> newType)
Returns a new CellNameType that is equivalent to this one but with one
of the subtype replaced by the provided new type.
|
CellNameType |
CompoundDenseCellNameType.setSubtype(int position,
AbstractType<?> newType) |
CellNameType |
CompoundSparseCellNameType.setSubtype(int position,
AbstractType<?> newType) |
CellNameType |
CompoundSparseCellNameType.WithCollection.setSubtype(int position,
AbstractType<?> newType) |
CellNameType |
SimpleDenseCellNameType.setSubtype(int position,
AbstractType<?> newType) |
CellNameType |
SimpleSparseCellNameType.setSubtype(int position,
AbstractType<?> newType) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
CellNames.getColumnsString(CellNameType type,
java.lang.Iterable<Cell> columns) |
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) |
protected static CQL3Row.Builder |
AbstractCellNameType.makeSparseCQL3RowBuilder(CFMetaData cfMetaData,
CellNameType type,
long now) |
Modifier and Type | Field and Description |
---|---|
protected CellNameType |
ColumnCounter.GroupByPrefix.type |
Modifier and Type | Method and Description |
---|---|
ColumnCounter |
IDiskAtomFilter.columnCounter(CellNameType comparator,
long now) |
ColumnCounter |
NamesQueryFilter.columnCounter(CellNameType comparator,
long now) |
ColumnCounter |
SliceQueryFilter.columnCounter(CellNameType comparator,
long now) |
boolean |
IDiskAtomFilter.countCQL3Rows(CellNameType comparator) |
boolean |
NamesQueryFilter.countCQL3Rows(CellNameType comparator) |
boolean |
SliceQueryFilter.countCQL3Rows(CellNameType comparator) |
java.util.Comparator<Cell> |
IDiskAtomFilter.getColumnComparator(CellNameType comparator) |
java.util.Comparator<Cell> |
NamesQueryFilter.getColumnComparator(CellNameType comparator) |
java.util.Comparator<Cell> |
SliceQueryFilter.getColumnComparator(CellNameType comparator) |
boolean |
ColumnSlice.intersects(java.util.List<java.nio.ByteBuffer> minCellNames,
java.util.List<java.nio.ByteBuffer> maxCellNames,
CellNameType comparator,
boolean reversed) |
boolean |
ColumnSlice.isAlwaysEmpty(CellNameType comparator,
boolean reversed) |
static boolean |
ColumnSlice.validateSlices(ColumnSlice[] slices,
CellNameType type,
boolean reversed)
Validates that the provided slice array contains only non-overlapped slices valid for a query
reversed
or not on a table using comparator . |
Constructor and Description |
---|
GroupByPrefix(long timestamp,
CellNameType type,
int toGroup,
boolean countPartitionsWithOnlyStaticData)
A column counter that count only 1 for all the columns sharing a
given prefix of the key.
|
GroupByPrefixReversed(long timestamp,
CellNameType type,
int toGroup,
boolean countPartitionsWithOnlyStaticData) |
Serializer(CellNameType type) |
Serializer(CellNameType type) |
Modifier and Type | Method and Description |
---|---|
static CellNameType |
SecondaryIndex.getIndexComparator(CFMetaData baseMetadata,
ColumnDefinition cdef)
Returns the index comparator for index backed by CFS, or null.
|
Modifier and Type | Method and Description |
---|---|
static CellNameType |
CompositesIndexIncludingCollectionKey.buildIndexComparator(CFMetaData baseMetadata,
ColumnDefinition columnDef) |
static CellNameType |
CompositesIndexOnClusteringKey.buildIndexComparator(CFMetaData baseMetadata,
ColumnDefinition columnDef) |
static CellNameType |
CompositesIndexOnCollectionValue.buildIndexComparator(CFMetaData baseMetadata,
ColumnDefinition columnDef) |
static CellNameType |
CompositesIndexOnPartitionKey.buildIndexComparator(CFMetaData baseMetadata,
ColumnDefinition columnDef) |
static CellNameType |
CompositesIndexOnRegular.buildIndexComparator(CFMetaData baseMetadata,
ColumnDefinition columnDef) |
protected CellNameType |
CompositesIndex.getIndexComparator() |
static CellNameType |
CompositesIndex.getIndexComparator(CFMetaData baseMetadata,
ColumnDefinition cfDef) |
Modifier and Type | Method and Description |
---|---|
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.mergeMax(java.util.List<java.nio.ByteBuffer> maxColumnNames,
java.util.List<java.nio.ByteBuffer> candidates,
CellNameType comparator)
Merge 2 lists of max cell name components.
|
static java.util.List<java.nio.ByteBuffer> |
ColumnNameHelper.mergeMin(java.util.List<java.nio.ByteBuffer> minColumnNames,
java.util.List<java.nio.ByteBuffer> candidates,
CellNameType comparator)
Merge 2 lists of min cell name components.
|
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*.
|
static boolean |
ColumnNameHelper.overlaps(java.util.List<java.nio.ByteBuffer> minColumnNames1,
java.util.List<java.nio.ByteBuffer> maxColumnNames1,
java.util.List<java.nio.ByteBuffer> minColumnNames2,
java.util.List<java.nio.ByteBuffer> maxColumnNames2,
CellNameType comparator)
Checks if the given min/max column names could overlap (i.e they could share some column names based on the max/min column names in the sstables)
|
Constructor and Description |
---|
MetadataCollector(CellNameType columnNameComparator) |
MetadataCollector(java.lang.Iterable<SSTableReader> sstables,
CellNameType columnNameComparator,
int level) |
MetadataCollector(java.lang.Iterable<SSTableReader> sstables,
CellNameType columnNameComparator,
int level,
boolean skipAncestors) |
Copyright © 2018 The Apache Software Foundation