Uses of Class
org.apache.cassandra.db.compaction.OperationType
-
-
Uses of OperationType in org.apache.cassandra.db
Methods in org.apache.cassandra.db with parameters of type OperationType Modifier and Type Method Description long
ColumnFamilyStore. getExpectedCompactedFileSize(java.lang.Iterable<SSTableReader> sstables, OperationType operation)
Calculate expected file size of SSTable after compaction.LifecycleTransaction
ColumnFamilyStore. markAllCompacting(OperationType operationType)
void
ColumnFamilyStore. markObsolete(java.util.Collection<SSTableReader> sstables, OperationType compactionType)
-
Uses of OperationType in org.apache.cassandra.db.compaction
Fields in org.apache.cassandra.db.compaction declared as OperationType Modifier and Type Field Description protected OperationType
AbstractCompactionTask. compactionType
Methods in org.apache.cassandra.db.compaction that return OperationType Modifier and Type Method Description static OperationType
OperationType. fromFileName(java.lang.String fileName)
OperationType
CompactionInfo. getTaskType()
static OperationType
OperationType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OperationType[]
OperationType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.cassandra.db.compaction with parameters of type OperationType Modifier and Type Method Description java.util.Collection<CompactionInfo>
ActiveCompactions. getCompactionsForSSTable(SSTableReader sstable, OperationType compactionType)
Iterates over the active compactions and tries to find CompactionInfos with the given compactionType for the given sstable Number of entries in compactions should be small (< 10) but avoid calling in any time-sensitive contextAbstractCompactionTask
AbstractCompactionTask. setCompactionType(OperationType compactionType)
static CompactionInfo
CompactionInfo. withoutSSTables(TableMetadata metadata, OperationType tasktype, long completed, long total, CompactionInfo.Unit unit, java.util.UUID compactionId)
Special compaction info where we always need to cancel the compaction - for example ViewBuilderTask and AutoSavingCache where we don't know the sstables at constructionConstructors in org.apache.cassandra.db.compaction with parameters of type OperationType Constructor Description CompactionInfo(TableMetadata metadata, OperationType tasktype, long bytesComplete, long totalBytes, java.util.UUID compactionId, java.util.Collection<SSTableReader> sstables)
CompactionIterator(OperationType type, java.util.List<ISSTableScanner> scanners, AbstractCompactionController controller, int nowInSec, java.util.UUID compactionId)
CompactionIterator(OperationType type, java.util.List<ISSTableScanner> scanners, AbstractCompactionController controller, int nowInSec, java.util.UUID compactionId, ActiveCompactionsTracker activeCompactions)
-
Uses of OperationType in org.apache.cassandra.db.lifecycle
Methods in org.apache.cassandra.db.lifecycle that return OperationType Modifier and Type Method Description OperationType
LifecycleNewTracker. opType()
OperationType
LifecycleTransaction. opType()
OperationType
WrappedLifecycleTransaction. opType()
Methods in org.apache.cassandra.db.lifecycle with parameters of type OperationType Modifier and Type Method Description java.lang.Throwable
Tracker. dropSSTables(com.google.common.base.Predicate<SSTableReader> remove, OperationType operationType, java.lang.Throwable accumulate)
removes all sstables that are not busy compacting.static LifecycleTransaction
LifecycleTransaction. offline(OperationType operationType)
construct an empty Transaction with no existing readersstatic LifecycleTransaction
LifecycleTransaction. offline(OperationType operationType, java.lang.Iterable<SSTableReader> readers)
construct a Transaction for use in an offline operationstatic LifecycleTransaction
LifecycleTransaction. offline(OperationType operationType, SSTableReader reader)
construct a Transaction for use in an offline operationLifecycleTransaction
Tracker. tryModify(java.lang.Iterable<SSTableReader> sstables, OperationType operationType)
LifecycleTransaction
Tracker. tryModify(SSTableReader sstable, OperationType operationType)
-
Uses of OperationType in org.apache.cassandra.db.transform
Methods in org.apache.cassandra.db.transform with parameters of type OperationType Modifier and Type Method Description static UnfilteredPartitionIterator
DuplicateRowChecker. duringCompaction(UnfilteredPartitionIterator iterator, OperationType type)
-
Uses of OperationType in org.apache.cassandra.index
Methods in org.apache.cassandra.index with parameters of type OperationType Modifier and Type Method Description default SSTableFlushObserver
Index. getFlushObserver(Descriptor descriptor, OperationType opType)
Get flush observer to observe partition/cell events generated by flushing SSTable (memtable flush or compaction). -
Uses of OperationType in org.apache.cassandra.index.sasi
Methods in org.apache.cassandra.index.sasi with parameters of type OperationType Modifier and Type Method Description SSTableFlushObserver
SASIIndex. getFlushObserver(Descriptor descriptor, OperationType opType)
protected static PerSSTableIndexWriter
SASIIndex. newWriter(AbstractType<?> keyValidator, Descriptor descriptor, java.util.Map<ColumnMetadata,ColumnIndex> indexes, OperationType opType)
-
Uses of OperationType in org.apache.cassandra.index.sasi.disk
Constructors in org.apache.cassandra.index.sasi.disk with parameters of type OperationType Constructor Description PerSSTableIndexWriter(AbstractType<?> keyValidator, Descriptor descriptor, OperationType source, java.util.Map<ColumnMetadata,ColumnIndex> supportedIndexes)
-
Uses of OperationType in org.apache.cassandra.notifications
Fields in org.apache.cassandra.notifications declared as OperationType Modifier and Type Field Description OperationType
SSTableListChangedNotification. compactionType
Constructors in org.apache.cassandra.notifications with parameters of type OperationType Constructor Description SSTableListChangedNotification(java.util.Collection<SSTableReader> added, java.util.Collection<SSTableReader> removed, OperationType compactionType)
-