Modifier and Type | Method and Description |
---|---|
CFMetaData |
CFMetaData.addAllColumnDefinitions(java.util.Collection<ColumnDefinition> defs) |
CFMetaData |
CFMetaData.addColumnDefinition(ColumnDefinition def) |
CFMetaData |
CFMetaData.addOrReplaceColumnDefinition(ColumnDefinition def) |
CFMetaData |
CFMetaData.bloomFilterFpChance(double prop) |
CFMetaData |
CFMetaData.caching(CachingOptions prop) |
CFMetaData |
CFMetaData.comment(java.lang.String prop) |
CFMetaData |
CFMetaData.compactionStrategyClass(java.lang.Class<? extends AbstractCompactionStrategy> prop) |
CFMetaData |
CFMetaData.compactionStrategyOptions(java.util.Map<java.lang.String,java.lang.String> prop) |
static CFMetaData |
CFMetaData.compile(java.lang.String cql,
java.lang.String keyspace) |
CFMetaData |
CFMetaData.compressionParameters(CompressionParameters prop) |
CFMetaData |
CFMetaData.copy() |
CFMetaData |
CFMetaData.copy(java.util.UUID newCfId)
Clones the CFMetaData, but sets a different cfId
|
static CFMetaData |
CFMetaData.copyOpts(CFMetaData newCFMD,
CFMetaData oldCFMD) |
CFMetaData |
CFMetaData.dcLocalReadRepairChance(double prop) |
CFMetaData |
CFMetaData.defaultTimeToLive(int prop) |
CFMetaData |
CFMetaData.defaultValidator(AbstractType<?> prop) |
static CFMetaData |
CFMetaData.denseCFMetaData(java.lang.String keyspace,
java.lang.String name,
AbstractType<?> comp) |
static CFMetaData |
CFMetaData.denseCFMetaData(java.lang.String keyspace,
java.lang.String name,
AbstractType<?> comp,
AbstractType<?> subcc) |
CFMetaData |
CFMetaData.droppedColumns(java.util.Map<ColumnIdentifier,java.lang.Long> cols) |
CFMetaData |
CFMetaData.gcGraceSeconds(int prop) |
CFMetaData |
Schema.getCFMetaData(Descriptor descriptor) |
CFMetaData |
Schema.getCFMetaData(java.lang.String keyspaceName,
java.lang.String cfName)
Given a keyspace name and column family name, get the column family
meta data.
|
CFMetaData |
Schema.getCFMetaData(java.util.UUID cfId)
Get ColumnFamily metadata by its identifier
|
CFMetaData |
CFMetaData.isDense(java.lang.Boolean prop) |
CFMetaData |
CFMetaData.keyValidator(AbstractType<?> prop) |
CFMetaData |
CFMetaData.maxCompactionThreshold(int prop) |
CFMetaData |
CFMetaData.maxIndexInterval(int prop) |
CFMetaData |
CFMetaData.memtableFlushPeriod(int prop) |
CFMetaData |
CFMetaData.minCompactionThreshold(int prop) |
CFMetaData |
CFMetaData.minIndexInterval(int prop) |
static CFMetaData |
CFMetaData.newIndexMetadata(CFMetaData parent,
ColumnDefinition info,
CellNameType indexComparator)
Creates CFMetaData for secondary index CF.
|
CFMetaData |
CFMetaData.readRepairChance(double prop) |
CFMetaData |
CFMetaData.rebuild() |
CFMetaData |
CFMetaData.reloadSecondaryIndexMetadata(CFMetaData parent) |
static CFMetaData |
CFMetaData.sparseCFMetaData(java.lang.String keyspace,
java.lang.String name,
AbstractType<?> comp) |
CFMetaData |
CFMetaData.speculativeRetry(CFMetaData.SpeculativeRetry prop) |
CFMetaData |
CFMetaData.triggers(java.util.Map<java.lang.String,TriggerDefinition> prop) |
CFMetaData |
CFMetaData.validate() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,CFMetaData> |
KSMetaData.cfMetaData() |
java.util.Map<java.lang.String,CFMetaData> |
Schema.getKeyspaceMetaData(java.lang.String keyspaceName)
Get metadata about keyspace inner ColumnFamilies
|
Modifier and Type | Method and Description |
---|---|
void |
Schema.addTable(CFMetaData cfm) |
boolean |
CFMetaData.apply(CFMetaData cfm)
Updates CFMetaData in-place to match cfm
|
KSMetaData |
KSMetaData.cloneWithTableAdded(CFMetaData table) |
KSMetaData |
KSMetaData.cloneWithTableRemoved(CFMetaData table) |
static ColumnDefinition |
ColumnDefinition.clusteringKeyDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex) |
static ColumnDefinition |
ColumnDefinition.compactValueDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator) |
static CFMetaData |
CFMetaData.copyOpts(CFMetaData newCFMD,
CFMetaData oldCFMD) |
void |
Schema.load(CFMetaData cfm)
Load individual ColumnFamily Definition to the schema
(to make ColumnFamily lookup faster)
|
static CFMetaData |
CFMetaData.newIndexMetadata(CFMetaData parent,
ColumnDefinition info,
CellNameType indexComparator)
Creates CFMetaData for secondary index CF.
|
static ColumnDefinition |
ColumnDefinition.partitionKeyDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex) |
void |
Schema.purge(CFMetaData cfm)
Used for ColumnFamily data eviction out from the schema
|
static ColumnDefinition |
ColumnDefinition.regularDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex) |
CFMetaData |
CFMetaData.reloadSecondaryIndexMetadata(CFMetaData parent) |
static ColumnDefinition |
ColumnDefinition.staticDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex) |
static KSMetaData |
KSMetaData.testMetadata(java.lang.String name,
java.lang.Class<? extends AbstractReplicationStrategy> strategyClass,
java.util.Map<java.lang.String,java.lang.String> strategyOptions,
CFMetaData... cfDefs) |
static KSMetaData |
KSMetaData.testMetadataNotDurable(java.lang.String name,
java.lang.Class<? extends AbstractReplicationStrategy> strategyClass,
java.util.Map<java.lang.String,java.lang.String> strategyOptions,
CFMetaData... cfDefs) |
void |
CFMetaData.validateCompatility(CFMetaData cfm) |
Modifier and Type | Method and Description |
---|---|
KSMetaData |
KSMetaData.cloneWith(java.lang.Iterable<CFMetaData> tables,
UTMetaData types) |
static KSMetaData |
KSMetaData.newKeyspace(java.lang.String name,
java.lang.Class<? extends AbstractReplicationStrategy> strategyClass,
java.util.Map<java.lang.String,java.lang.String> options,
boolean durablesWrites,
java.lang.Iterable<CFMetaData> cfDefs) |
Constructor and Description |
---|
ColumnDefinition(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex,
ColumnDefinition.Kind kind) |
Constructor and Description |
---|
KSMetaData(java.lang.String name,
java.lang.Class<? extends AbstractReplicationStrategy> strategyClass,
java.util.Map<java.lang.String,java.lang.String> strategyOptions,
boolean durableWrites,
java.lang.Iterable<CFMetaData> cfDefs) |
Modifier and Type | Field and Description |
---|---|
CFMetaData |
UpdateParameters.metadata |
Modifier and Type | Method and Description |
---|---|
java.lang.Short[] |
VariableSpecifications.getPartitionKeyBindIndexes(CFMetaData cfm)
Returns an array with the same length as the number of partition key columns for the table corresponding
to cfm.
|
int |
Attributes.getTimeToLive(QueryOptions options,
CFMetaData metadata) |
static void |
Attributes.maybeApplyExpirationDateOverflowPolicy(CFMetaData metadata,
int ttl,
boolean isDefaultTTL) |
protected Restriction |
MultiColumnRelation.newContainsRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
boolean isKey) |
protected abstract Restriction |
Relation.newContainsRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
boolean isKey)
Creates a new Contains restriction instance.
|
protected Restriction |
SingleColumnRelation.newContainsRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
boolean isKey) |
protected Restriction |
TokenRelation.newContainsRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
boolean isKey) |
protected Restriction |
MultiColumnRelation.newEQRestriction(CFMetaData cfm,
VariableSpecifications boundNames) |
protected abstract Restriction |
Relation.newEQRestriction(CFMetaData cfm,
VariableSpecifications boundNames)
Creates a new EQ restriction instance.
|
protected Restriction |
SingleColumnRelation.newEQRestriction(CFMetaData cfm,
VariableSpecifications boundNames) |
protected Restriction |
TokenRelation.newEQRestriction(CFMetaData cfm,
VariableSpecifications boundNames) |
protected Restriction |
MultiColumnRelation.newINRestriction(CFMetaData cfm,
VariableSpecifications boundNames) |
protected abstract Restriction |
Relation.newINRestriction(CFMetaData cfm,
VariableSpecifications boundNames)
Creates a new IN restriction instance.
|
protected Restriction |
SingleColumnRelation.newINRestriction(CFMetaData cfm,
VariableSpecifications boundNames) |
protected Restriction |
TokenRelation.newINRestriction(CFMetaData cfm,
VariableSpecifications boundNames) |
Selector.Factory |
ColumnIdentifier.newSelectorFactory(CFMetaData cfm,
java.util.List<ColumnDefinition> defs) |
protected Restriction |
MultiColumnRelation.newSliceRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive) |
protected abstract Restriction |
Relation.newSliceRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive)
Creates a new Slice restriction instance.
|
protected Restriction |
SingleColumnRelation.newSliceRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive) |
protected Restriction |
TokenRelation.newSliceRestriction(CFMetaData cfm,
VariableSpecifications boundNames,
Bound bound,
boolean inclusive) |
ColumnIdentifier |
ColumnIdentifier.Raw.prepare(CFMetaData cfm) |
Json.Prepared |
Json.Raw.prepareAndCollectMarkers(CFMetaData metadata,
java.util.Collection<ColumnDefinition> receivers,
VariableSpecifications boundNames) |
Json.Prepared |
Json.Literal.prepareAndCollectMarkers(CFMetaData metadata,
java.util.Collection<ColumnDefinition> receivers,
VariableSpecifications boundNames) |
Json.Prepared |
Json.Marker.prepareAndCollectMarkers(CFMetaData metadata,
java.util.Collection<ColumnDefinition> receivers,
VariableSpecifications boundNames) |
protected java.util.List<ColumnDefinition> |
MultiColumnRelation.receivers(CFMetaData cfm) |
protected ColumnDefinition |
Relation.toColumnDefinition(CFMetaData cfm,
ColumnIdentifier.Raw entity)
Converts the specified entity into a column definition.
|
Restriction |
Relation.toRestriction(CFMetaData cfm,
VariableSpecifications boundNames)
Converts this
Relation into a Restriction . |
Constructor and Description |
---|
UpdateParameters(CFMetaData metadata,
QueryOptions options,
long timestamp,
int ttl,
java.util.Map<java.nio.ByteBuffer,CQL3Row> prefetchedLists) |
Constructor and Description |
---|
TokenFct(CFMetaData cfm) |
Modifier and Type | Field and Description |
---|---|
CFMetaData |
StatementRestrictions.cfm
The Column Family meta data
|
Modifier and Type | Method and Description |
---|---|
CompositesBuilder |
MultiColumnRestriction.Slice.appendBoundTo(CFMetaData cfm,
CompositesBuilder builder,
Bound bound,
QueryOptions options) |
CompositesBuilder |
Restriction.appendBoundTo(CFMetaData cfm,
CompositesBuilder builder,
Bound bound,
QueryOptions options)
Appends the values of the
Restriction for the specified bound to the specified builder. |
CompositesBuilder |
SingleColumnRestriction.Slice.appendBoundTo(CFMetaData cfm,
CompositesBuilder builder,
Bound bound,
QueryOptions options) |
CompositesBuilder |
SingleColumnRestriction.Contains.appendBoundTo(CFMetaData cfm,
CompositesBuilder builder,
Bound bound,
QueryOptions options) |
CompositesBuilder |
MultiColumnRestriction.EQ.appendTo(CFMetaData cfm,
CompositesBuilder builder,
QueryOptions options) |
CompositesBuilder |
MultiColumnRestriction.IN.appendTo(CFMetaData cfm,
CompositesBuilder builder,
QueryOptions options)
Appends the values of this
Restriction to the specified builder. |
CompositesBuilder |
MultiColumnRestriction.Slice.appendTo(CFMetaData cfm,
CompositesBuilder builder,
QueryOptions options) |
CompositesBuilder |
Restriction.appendTo(CFMetaData cfm,
CompositesBuilder builder,
QueryOptions options)
Appends the values of this
Restriction to the specified builder. |
CompositesBuilder |
SingleColumnRestriction.EQ.appendTo(CFMetaData cfm,
CompositesBuilder builder,
QueryOptions options) |
CompositesBuilder |
SingleColumnRestriction.IN.appendTo(CFMetaData cfm,
CompositesBuilder builder,
QueryOptions options) |
CompositesBuilder |
SingleColumnRestriction.Slice.appendTo(CFMetaData cfm,
CompositesBuilder builder,
QueryOptions options) |
CompositesBuilder |
SingleColumnRestriction.Contains.appendTo(CFMetaData cfm,
CompositesBuilder builder,
QueryOptions options) |
CompositesBuilder |
TokenRestriction.appendTo(CFMetaData cfm,
CompositesBuilder builder,
QueryOptions options) |
java.util.List<java.nio.ByteBuffer> |
TokenRestriction.Slice.bounds(CFMetaData cfm,
Bound b,
QueryOptions options) |
java.util.List<Composite> |
TokenRestriction.boundsAsComposites(CFMetaData cfm,
Bound bound,
QueryOptions options) |
static StatementRestrictions |
StatementRestrictions.empty(CFMetaData cfm)
Creates a new empty
StatementRestrictions . |
boolean |
MultiColumnRestriction.EQ.isNotReturningAnyRows(CFMetaData cfm,
QueryOptions options) |
boolean |
MultiColumnRestriction.Slice.isNotReturningAnyRows(CFMetaData cfm,
QueryOptions options) |
boolean |
Restriction.isNotReturningAnyRows(CFMetaData cfm,
QueryOptions options)
Checks if this restriction will prevent the query to return any rows.
|
boolean |
SingleColumnRestriction.EQ.isNotReturningAnyRows(CFMetaData cfm,
QueryOptions options) |
boolean |
SingleColumnRestriction.Slice.isNotReturningAnyRows(CFMetaData cfm,
QueryOptions options) |
java.util.List<java.nio.ByteBuffer> |
TokenRestriction.EQ.values(CFMetaData cfm,
QueryOptions options) |
java.util.List<java.nio.ByteBuffer> |
TokenRestriction.Slice.values(CFMetaData cfm,
QueryOptions options) |
java.util.List<Composite> |
TokenRestriction.valuesAsComposites(CFMetaData cfm,
QueryOptions options) |
Constructor and Description |
---|
StatementRestrictions(CFMetaData cfm,
java.util.List<Relation> whereClause,
VariableSpecifications boundNames,
boolean selectsOnlyStaticColumns,
boolean selectACollection,
boolean allowFiltering) |
Modifier and Type | Method and Description |
---|---|
static Selection |
Selection.forColumns(CFMetaData cfm,
java.util.List<ColumnDefinition> columns) |
static Selection |
Selection.fromSelectors(CFMetaData cfm,
java.util.List<RawSelector> rawSelectors) |
ColumnSpecification |
Selector.Factory.getColumnSpecification(CFMetaData cfm)
Returns the column specification corresponding to the output value of the selector instances created by
this factory.
|
abstract Selector.Factory |
Selectable.newSelectorFactory(CFMetaData cfm,
java.util.List<ColumnDefinition> defs) |
Selector.Factory |
Selectable.WritetimeOrTTL.newSelectorFactory(CFMetaData cfm,
java.util.List<ColumnDefinition> defs) |
Selector.Factory |
Selectable.WithFunction.newSelectorFactory(CFMetaData cfm,
java.util.List<ColumnDefinition> defs) |
Selector.Factory |
Selectable.WithFieldSelection.newSelectorFactory(CFMetaData cfm,
java.util.List<ColumnDefinition> defs) |
Selectable |
Selectable.Raw.prepare(CFMetaData cfm) |
Selectable.WritetimeOrTTL |
Selectable.WritetimeOrTTL.Raw.prepare(CFMetaData cfm) |
Selectable.WithFunction |
Selectable.WithFunction.Raw.prepare(CFMetaData cfm) |
Selectable.WithFieldSelection |
Selectable.WithFieldSelection.Raw.prepare(CFMetaData cfm) |
static java.util.List<Selectable> |
RawSelector.toSelectables(java.util.List<RawSelector> raws,
CFMetaData cfm)
Converts the specified list of
RawSelector s into a list of Selectable s. |
static Selection |
Selection.wildcard(CFMetaData cfm) |
Constructor and Description |
---|
Selection(CFMetaData cfm,
java.util.List<ColumnDefinition> columns,
SelectionColumnMapping columnMapping,
boolean collectTimestamps,
boolean collectTTLs) |
Modifier and Type | Field and Description |
---|---|
CFMetaData |
ModificationStatement.cfm |
CFMetaData |
SelectStatement.cfm |
Modifier and Type | Method and Description |
---|---|
CFMetaData |
CreateTableStatement.getCFMetaData()
Returns a CFMetaData instance based on the parameters parsed from this
CREATE statement, or defaults where applicable. |
Constructor and Description |
---|
CQL3CasRequest(CFMetaData cfm,
java.nio.ByteBuffer key,
boolean isBatch) |
ModificationStatement(ModificationStatement.StatementType type,
int boundTerms,
CFMetaData cfm,
Attributes attrs) |
SelectStatement(CFMetaData cfm,
int boundTerms,
SelectStatement.Parameters parameters,
Selection selection,
StatementRestrictions restrictions,
boolean isReversed,
java.util.Comparator<java.util.List<java.nio.ByteBuffer>> orderingComparator,
Term limit) |
Modifier and Type | Field and Description |
---|---|
static CFMetaData |
SystemKeyspace.Batchlog |
static CFMetaData |
SystemKeyspace.BuiltIndexes |
static CFMetaData |
SystemKeyspace.Hints |
protected CFMetaData |
ColumnFamily.metadata |
CFMetaData |
ColumnFamilyStore.metadata |
Modifier and Type | Method and Description |
---|---|
CFMetaData |
ColumnFamily.metadata() |
Modifier and Type | Method and Description |
---|---|
ColumnFamily |
Mutation.addOrGet(CFMetaData cfm) |
CellName |
AbstractNativeCell.copy(CFMetaData cfm,
AbstractAllocator allocator) |
ColumnIdentifier |
AbstractNativeCell.cql3ColumnName(CFMetaData metadata) |
static Cell |
AbstractCell.create(CellName name,
java.nio.ByteBuffer value,
long timestamp,
int ttl,
CFMetaData metadata) |
T |
ColumnFamily.Factory.create(CFMetaData metadata) |
T |
ColumnFamily.Factory.create(CFMetaData metadata,
boolean insertReversed) |
abstract T |
ColumnFamily.Factory.create(CFMetaData metadata,
boolean insertReversed,
int initialCapacity)
Returns a (initially empty) column map whose columns are sorted
according to the provided comparator.
|
static ColumnFamilyStore |
ColumnFamilyStore.createColumnFamilyStore(Keyspace keyspace,
CFMetaData metadata,
boolean loadSSTables) |
static ColumnFamilyStore |
ColumnFamilyStore.createColumnFamilyStore(Keyspace keyspace,
java.lang.String columnFamily,
IPartitioner partitioner,
CFMetaData metadata,
boolean loadSSTables) |
static AbstractType<?> |
SuperColumns.getComparatorFor(CFMetaData metadata,
boolean subColumn) |
static AbstractType<?> |
SuperColumns.getComparatorFor(CFMetaData metadata,
java.nio.ByteBuffer superColumn) |
void |
Keyspace.initCf(CFMetaData metadata,
boolean loadSSTables)
adds a cf to internal structures, ends up creating disk files).
|
static PaxosState |
SystemKeyspace.loadPaxosState(java.nio.ByteBuffer key,
CFMetaData metadata,
long now) |
Cell |
BufferCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
CounterCell |
BufferCounterCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
Cell |
BufferCounterUpdateCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
DeletedCell |
BufferDeletedCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
ExpiringCell |
BufferExpiringCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
Cell |
Cell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
CounterCell |
CounterCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
DeletedCell |
DeletedCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
ExpiringCell |
ExpiringCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
Cell |
NativeCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
CounterCell |
NativeCounterCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
DeletedCell |
NativeDeletedCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
ExpiringCell |
NativeExpiringCell.localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
Cell |
BufferCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
CounterCell |
BufferCounterCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
Cell |
BufferCounterUpdateCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
DeletedCell |
BufferDeletedCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
ExpiringCell |
BufferExpiringCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
Cell |
Cell.localCopy(CFMetaData metaData,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
CounterCell |
CounterCell.localCopy(CFMetaData metaData,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
DeletedCell |
DeletedCell.localCopy(CFMetaData metaData,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
ExpiringCell |
ExpiringCell.localCopy(CFMetaData metaData,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
Cell |
NativeCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
CounterCell |
NativeCounterCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
DeletedCell |
NativeDeletedCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
ExpiringCell |
NativeExpiringCell.localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
static int |
SystemKeyspace.paxosTtl(CFMetaData metadata) |
static void |
ColumnFamilyStore.removeUnfinishedCompactionLeftovers(CFMetaData metadata,
java.util.Map<java.lang.Integer,java.util.UUID> unfinishedCompactions)
Replacing compacted sstables is atomic as far as observers of Tracker are concerned, but not on the
filesystem: first the new sstables are renamed to "live" status (i.e., the tmp marker is removed), then
their ancestors are removed.
|
static void |
ColumnFamilyStore.scrubDataDirectories(CFMetaData metadata)
Removes unnecessary files from the cf directory at startup: these include temp files, orphans, zero-length files
and compacted sstables.
|
void |
ConsistencyLevel.validateCounterForWrite(CFMetaData metadata) |
void |
AbstractCell.validateFields(CFMetaData metadata) |
void |
BufferCounterCell.validateFields(CFMetaData metadata) |
void |
BufferDeletedCell.validateFields(CFMetaData metadata) |
void |
BufferExpiringCell.validateFields(CFMetaData metadata) |
void |
NativeCounterCell.validateFields(CFMetaData metadata) |
void |
NativeDeletedCell.validateFields(CFMetaData metadata) |
void |
NativeExpiringCell.validateFields(CFMetaData metadata) |
void |
OnDiskAtom.validateFields(CFMetaData metadata) |
void |
RangeTombstone.validateFields(CFMetaData metadata) |
void |
AbstractCell.validateName(CFMetaData metadata) |
Constructor and Description |
---|
ArrayBackedSortedColumns(CFMetaData metadata,
boolean reversed) |
ColumnFamily(CFMetaData metadata) |
ColumnFamilyStore(Keyspace keyspace,
java.lang.String columnFamilyName,
IPartitioner partitioner,
int generation,
CFMetaData metadata,
Directories directories,
boolean loadSSTables) |
ColumnFamilyStore(Keyspace keyspace,
java.lang.String columnFamilyName,
IPartitioner partitioner,
int generation,
CFMetaData metadata,
Directories directories,
boolean loadSSTables,
boolean registerBookkeeping) |
Directories(CFMetaData metadata)
Create Directories of given ColumnFamily.
|
Memtable(CFMetaData metadata) |
Paging(AbstractBounds<RowPosition> range,
SliceQueryFilter filter,
Composite columnStart,
Composite columnFinish,
CFMetaData cfm) |
Modifier and Type | Method and Description |
---|---|
CFMetaData |
CompactionInfo.getCFMetaData() |
Modifier and Type | Method and Description |
---|---|
void |
WrappingCompactionStrategy.maybeReloadCompactionStrategy(CFMetaData metadata) |
void |
WrappingCompactionStrategy.reloadCompactionStrategy(CFMetaData metadata) |
Modifier and Type | Method and Description |
---|---|
void |
CompactionManager.interruptCompactionFor(java.lang.Iterable<CFMetaData> columnFamilies,
boolean interruptValidation)
Try to stop all of the compactions for given ColumnFamilies.
|
Constructor and Description |
---|
CompactionInfo(CFMetaData cfm,
OperationType tasktype,
long completed,
long total,
java.lang.String unit,
java.util.UUID compactionId) |
CompactionInfo(CFMetaData cfm,
OperationType tasktype,
long bytesComplete,
long totalBytes,
java.util.UUID compactionId) |
Modifier and Type | Method and Description |
---|---|
Composite |
BoundedComposite.copy(CFMetaData cfm,
AbstractAllocator allocator) |
CellName |
CellName.copy(CFMetaData cfm,
AbstractAllocator allocator) |
Composite |
Composite.copy(CFMetaData cfm,
AbstractAllocator allocator) |
Composite |
CompoundComposite.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) |
Composite |
SimpleComposite.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) |
ColumnIdentifier |
CellName.cql3ColumnName(CFMetaData metadata)
The name of the CQL3 column this cell represents.
|
ColumnIdentifier |
CompoundDenseCellName.cql3ColumnName(CFMetaData metadata) |
ColumnIdentifier |
CompoundSparseCellName.cql3ColumnName(CFMetaData metadata) |
ColumnIdentifier |
SimpleDenseCellName.cql3ColumnName(CFMetaData metadata) |
ColumnIdentifier |
SimpleSparseCellName.cql3ColumnName(CFMetaData metadata) |
CQL3Row.Builder |
CellNameType.CQL3RowBuilder(CFMetaData metadata,
long now)
Creates a new CQL3Row builder for this type.
|
CQL3Row.Builder |
CompoundDenseCellNameType.CQL3RowBuilder(CFMetaData metadata,
long now) |
CQL3Row.Builder |
CompoundSparseCellNameType.CQL3RowBuilder(CFMetaData metadata,
long now) |
CQL3Row.Builder |
SimpleDenseCellNameType.CQL3RowBuilder(CFMetaData metadata,
long now) |
CQL3Row.Builder |
SimpleSparseCellNameType.CQL3RowBuilder(CFMetaData metadata,
long now) |
protected static CQL3Row.Builder |
AbstractCellNameType.makeSparseCQL3RowBuilder(CFMetaData cfMetaData,
CellNameType type,
long now) |
Modifier and Type | Method and Description |
---|---|
boolean |
SliceQueryFilter.hasStaticSlice(CFMetaData cfm) |
Pair<SliceQueryFilter,SliceQueryFilter> |
SliceQueryFilter.splitOutStaticSlice(CFMetaData cfm)
Splits this filter into two SliceQueryFilters: one that slices only the static columns, and one that slices the
remainder of the normal data.
|
SliceQueryFilter |
SliceQueryFilter.withUpdatedStart(Composite newStart,
CFMetaData cfm) |
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) |
static CellNameType |
CompositesIndex.getIndexComparator(CFMetaData baseMetadata,
ColumnDefinition cfDef) |
Modifier and Type | Method and Description |
---|---|
protected CFMetaData |
CassandraStorage.getCFMetaData(java.lang.String ks,
java.lang.String cf,
Cassandra.Client client)
Deprecated.
get CFMetaData of a column family
|
Modifier and Type | Method and Description |
---|---|
void |
CompressionParameters.setLiveMetadata(CFMetaData liveMetadata) |
Modifier and Type | Field and Description |
---|---|
protected CFMetaData |
AbstractSSTableSimpleWriter.metadata |
CFMetaData |
SSTable.metadata |
Modifier and Type | Method and Description |
---|---|
CFMetaData |
CQLSSTableWriter.getCFMetaData() |
abstract CFMetaData |
SSTableLoader.Client.getTableMetadata(java.lang.String tableName)
Validate that
keyspace is an existing keyspace and cfName one of its existing column family. |
Modifier and Type | Method and Description |
---|---|
void |
SSTableLoader.Client.setTableMetadata(CFMetaData cfm) |
Constructor and Description |
---|
AbstractSSTableSimpleWriter(java.io.File directory,
CFMetaData metadata,
IPartitioner partitioner) |
SSTable(Descriptor descriptor,
CFMetaData metadata,
IPartitioner partitioner) |
SSTable(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner) |
SSTableSimpleUnsortedWriter(java.io.File directory,
CFMetaData metadata,
IPartitioner partitioner,
long bufferSizeInMB)
Deprecated.
|
SSTableSimpleWriter(java.io.File directory,
CFMetaData metadata,
IPartitioner partitioner)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract long |
SSTableWriter.appendFromStream(DecoratedKey key,
CFMetaData metadata,
java.io.DataInput in,
Version version) |
static SSTableWriter |
SSTableWriter.create(CFMetaData metadata,
Descriptor descriptor,
long keyCount,
long repairedAt,
int sstableLevel,
IPartitioner partitioner) |
static SSTableWriter |
SSTableWriter.create(Descriptor descriptor,
java.lang.Long keyCount,
java.lang.Long repairedAt,
CFMetaData metadata,
IPartitioner partitioner,
MetadataCollector metadataCollector) |
RowIndexEntry.IndexSerializer<?> |
SSTableFormat.getIndexSerializer(CFMetaData cfm) |
java.util.Iterator<OnDiskAtom> |
SSTableFormat.getOnDiskIterator(FileDataInput in,
ColumnSerializer.Flag flag,
int expireBefore,
CFMetaData cfm,
Version version) |
static SSTableReader |
SSTableReader.internalOpen(Descriptor desc,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner,
SegmentedFile ifile,
SegmentedFile dfile,
IndexSummary isummary,
IFilter bf,
long maxDataAge,
StatsMetadata sstableMetadata,
SSTableReader.OpenReason openReason)
Open a RowIndexedReader which already has its state initialized (by SSTableWriter).
|
static SSTableReader |
SSTableReader.open(Descriptor desc,
CFMetaData metadata) |
abstract SSTableWriter |
SSTableWriter.Factory.open(Descriptor descriptor,
long keyCount,
long repairedAt,
CFMetaData metadata,
IPartitioner partitioner,
MetadataCollector metadataCollector) |
static SSTableReader |
SSTableReader.open(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner) |
static SSTableReader |
SSTableReader.open(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner,
boolean validate,
boolean trackHotness) |
abstract SSTableReader |
SSTableReader.Factory.open(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner,
java.lang.Long maxDataAge,
StatsMetadata sstableMetadata,
SSTableReader.OpenReason openReason) |
static java.util.Collection<SSTableReader> |
SSTableReader.openAll(java.util.Set<java.util.Map.Entry<Descriptor,java.util.Set<Component>>> entries,
CFMetaData metadata,
IPartitioner partitioner) |
static SSTableReader |
SSTableReader.openForBatch(Descriptor descriptor,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner)
Open SSTable reader to be used in batch mode(such as sstableloader).
|
Constructor and Description |
---|
SSTableReader(Descriptor desc,
java.util.Set<Component> components,
CFMetaData metadata,
IPartitioner partitioner,
long maxDataAge,
StatsMetadata sstableMetadata,
SSTableReader.OpenReason openReason) |
SSTableWriter(Descriptor descriptor,
long keyCount,
long repairedAt,
CFMetaData metadata,
IPartitioner partitioner,
MetadataCollector metadataCollector) |
Modifier and Type | Method and Description |
---|---|
long |
BigTableWriter.appendFromStream(DecoratedKey key,
CFMetaData metadata,
java.io.DataInput in,
Version version) |
RowIndexEntry.IndexSerializer |
BigFormat.getIndexSerializer(CFMetaData cfMetaData) |
java.util.Iterator<OnDiskAtom> |
BigFormat.getOnDiskIterator(FileDataInput in,
ColumnSerializer.Flag flag,
int expireBefore,
CFMetaData cfm,
Version version) |
Modifier and Type | Method and Description |
---|---|
static boolean |
MmappedSegmentedFile.maybeRepair(CFMetaData metadata,
Descriptor descriptor,
IndexSummary indexSummary,
SegmentedFile.Builder ibuilder,
SegmentedFile.Builder dbuilder) |
Modifier and Type | Field and Description |
---|---|
static java.util.List<CFMetaData> |
LegacySchemaTables.All |
Modifier and Type | Method and Description |
---|---|
static CFMetaData |
LegacySchemaTables.createTableFromName(java.lang.String keyspace,
java.lang.String table) |
static CFMetaData |
LegacySchemaTables.createTableFromTablePartitionAndColumnsPartition(Row serializedTable,
Row serializedColumns) |
static CFMetaData |
LegacySchemaTables.createTableFromTableRowAndColumnRows(UntypedResultSet.Row result,
UntypedResultSet serializedColumnDefinitions) |
Modifier and Type | Method and Description |
---|---|
static Mutation |
LegacySchemaTables.makeCreateTableMutation(KSMetaData keyspace,
CFMetaData table,
long timestamp) |
static Mutation |
LegacySchemaTables.makeDropTableMutation(KSMetaData keyspace,
CFMetaData table,
long timestamp) |
static Mutation |
LegacySchemaTables.makeUpdateTableMutation(KSMetaData keyspace,
CFMetaData oldTable,
CFMetaData newTable,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
static void |
MigrationManager.announceColumnFamilyUpdate(CFMetaData cfm) |
static void |
MigrationManager.announceColumnFamilyUpdate(CFMetaData cfm,
boolean announceLocally) |
static void |
MigrationManager.announceNewColumnFamily(CFMetaData cfm) |
static void |
MigrationManager.announceNewColumnFamily(CFMetaData cfm,
boolean announceLocally) |
static void |
MigrationManager.forceAnnounceNewColumnFamily(CFMetaData cfm)
Announces the table even if the definition is already know locally.
|
void |
MigrationManager.notifyCreateColumnFamily(CFMetaData cfm) |
void |
MigrationManager.notifyDropColumnFamily(CFMetaData cfm) |
void |
MigrationManager.notifyUpdateColumnFamily(CFMetaData cfm,
boolean columnsDidChange) |
Modifier and Type | Method and Description |
---|---|
static Commit |
Commit.emptyCommit(java.nio.ByteBuffer key,
CFMetaData metadata) |
static Commit |
Commit.newPrepare(java.nio.ByteBuffer key,
CFMetaData metadata,
java.util.UUID ballot) |
java.lang.Iterable<java.net.InetAddress> |
PrepareCallback.replicasMissingMostRecentCommit(CFMetaData metadata,
long now) |
Constructor and Description |
---|
PaxosState(java.nio.ByteBuffer key,
CFMetaData metadata) |
PrepareCallback(java.nio.ByteBuffer key,
CFMetaData metadata,
int targets,
ConsistencyLevel consistency) |
Modifier and Type | Method and Description |
---|---|
static CFMetaData |
ThriftConversion.fromThrift(CfDef cf_def) |
static CFMetaData |
ThriftConversion.fromThriftCqlRow(CqlRow cf,
CqlResult columnsRes)
Create CFMetaData from thrift
CqlRow that contains columns from schema_columnfamilies. |
static CFMetaData |
ThriftConversion.fromThriftForUpdate(CfDef cf_def,
CFMetaData toUpdate) |
static CFMetaData |
ThriftValidation.validateColumnFamily(java.lang.String keyspaceName,
java.lang.String cfName) |
static CFMetaData |
ThriftValidation.validateColumnFamily(java.lang.String keyspaceName,
java.lang.String cfName,
boolean isCommutativeOp) |
Modifier and Type | Method and Description |
---|---|
static IDiskAtomFilter |
ThriftValidation.asIFilter(SlicePredicate sp,
CFMetaData metadata,
java.nio.ByteBuffer superColumn) |
static KSMetaData |
ThriftConversion.fromThrift(KsDef ksd,
CFMetaData... cfDefs) |
static CFMetaData |
ThriftConversion.fromThriftForUpdate(CfDef cf_def,
CFMetaData toUpdate) |
static CfDef |
ThriftConversion.toThrift(CFMetaData cfm) |
static void |
ThriftValidation.validateColumnData(CFMetaData metadata,
java.nio.ByteBuffer key,
java.nio.ByteBuffer scName,
Column column)
Validates the data part of the column (everything in the column object but the name, which is assumed to be valid)
|
static void |
ThriftValidation.validateColumnNames(CFMetaData metadata,
ColumnParent column_parent,
java.lang.Iterable<java.nio.ByteBuffer> column_names) |
static void |
ThriftValidation.validateColumnOrSuperColumn(CFMetaData metadata,
java.nio.ByteBuffer key,
ColumnOrSuperColumn cosc) |
static void |
ThriftValidation.validateColumnParent(CFMetaData metadata,
ColumnParent column_parent) |
static void |
ThriftValidation.validateColumnPath(CFMetaData metadata,
ColumnPath column_path)
validates all parts of the path to the column, including the column name
|
static void |
ThriftValidation.validateDeletion(CFMetaData metadata,
Deletion del) |
static boolean |
ThriftValidation.validateFilterClauses(CFMetaData metadata,
java.util.List<IndexExpression> index_clause) |
static void |
ThriftValidation.validateIndexClauses(CFMetaData metadata,
IndexClause index_clause) |
static void |
ThriftValidation.validateKey(CFMetaData metadata,
java.nio.ByteBuffer key) |
static void |
ThriftValidation.validateKeyRange(CFMetaData metadata,
java.nio.ByteBuffer superColumn,
KeyRange range) |
static void |
ThriftValidation.validateMutation(CFMetaData metadata,
java.nio.ByteBuffer key,
Mutation mut) |
static void |
ThriftValidation.validatePredicate(CFMetaData metadata,
ColumnParent column_parent,
SlicePredicate predicate) |
static void |
ThriftValidation.validateRange(CFMetaData metadata,
ColumnParent column_parent,
SliceRange range) |
static void |
ThriftValidation.validateSlicePredicate(CFMetaData metadata,
java.nio.ByteBuffer scName,
SlicePredicate predicate) |
Modifier and Type | Method and Description |
---|---|
static void |
SSTableExport.enumeratekeys(Descriptor desc,
java.io.PrintStream outs,
CFMetaData metadata)
Enumerate row keys from an SSTableReader and write the result to a PrintStream.
|
static void |
SSTableExport.export(Descriptor desc,
java.io.PrintStream outs,
java.util.Collection<java.lang.String> toExport,
java.lang.String[] excludes,
CFMetaData metadata)
Export specific rows from an SSTable and write the resulting JSON to a PrintStream.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,CFMetaData> |
NativeSSTableLoaderClient.tables |
Modifier and Type | Method and Description |
---|---|
CFMetaData |
NativeSSTableLoaderClient.getTableMetadata(java.lang.String tableName) |
Modifier and Type | Method and Description |
---|---|
void |
NativeSSTableLoaderClient.setTableMetadata(CFMetaData cfm) |
Modifier and Type | Method and Description |
---|---|
abstract Cell |
MemtableAllocator.clone(Cell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
Cell |
MemtableBufferAllocator.clone(Cell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
Cell |
NativeAllocator.clone(Cell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
abstract CounterCell |
MemtableAllocator.clone(CounterCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
CounterCell |
MemtableBufferAllocator.clone(CounterCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
CounterCell |
NativeAllocator.clone(CounterCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
abstract DeletedCell |
MemtableAllocator.clone(DeletedCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
DeletedCell |
MemtableBufferAllocator.clone(DeletedCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
DeletedCell |
NativeAllocator.clone(DeletedCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
abstract ExpiringCell |
MemtableAllocator.clone(ExpiringCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
ExpiringCell |
MemtableBufferAllocator.clone(ExpiringCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
ExpiringCell |
NativeAllocator.clone(ExpiringCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
Copyright © 2018 The Apache Software Foundation