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 longColumnFamilyStore. getExpectedCompactedFileSize(java.lang.Iterable<SSTableReader> sstables, OperationType operation)Calculate expected file size of SSTable after compaction.LifecycleTransactionColumnFamilyStore. markAllCompacting(OperationType operationType)voidColumnFamilyStore. 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 OperationTypeAbstractCompactionTask. compactionTypeMethods in org.apache.cassandra.db.compaction that return OperationType Modifier and Type Method Description static OperationTypeOperationType. fromFileName(java.lang.String fileName)OperationTypeCompactionInfo. getTaskType()static OperationTypeOperationType. 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 contextAbstractCompactionTaskAbstractCompactionTask. setCompactionType(OperationType compactionType)static CompactionInfoCompactionInfo. withoutSSTables(TableMetadata metadata, OperationType tasktype, long completed, long total, CompactionInfo.Unit unit, TimeUUID 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, TimeUUID compactionId, java.util.Collection<SSTableReader> sstables)CompactionIterator(OperationType type, java.util.List<ISSTableScanner> scanners, AbstractCompactionController controller, int nowInSec, TimeUUID compactionId)CompactionIterator(OperationType type, java.util.List<ISSTableScanner> scanners, AbstractCompactionController controller, int nowInSec, TimeUUID compactionId, ActiveCompactionsTracker activeCompactions, TopPartitionTracker.Collector topPartitionCollector) -
Uses of OperationType in org.apache.cassandra.db.lifecycle
Methods in org.apache.cassandra.db.lifecycle that return OperationType Modifier and Type Method Description OperationTypeLifecycleNewTracker. opType()OperationTypeLifecycleTransaction. opType()OperationTypeWrappedLifecycleTransaction. opType()Methods in org.apache.cassandra.db.lifecycle with parameters of type OperationType Modifier and Type Method Description java.lang.ThrowableTracker. dropSSTables(com.google.common.base.Predicate<SSTableReader> remove, OperationType operationType, java.lang.Throwable accumulate)removes all sstables that are not busy compacting.static LifecycleTransactionLifecycleTransaction. offline(OperationType operationType)construct an empty Transaction with no existing readersstatic LifecycleTransactionLifecycleTransaction. offline(OperationType operationType, java.lang.Iterable<SSTableReader> readers)construct a Transaction for use in an offline operationstatic LifecycleTransactionLifecycleTransaction. offline(OperationType operationType, SSTableReader reader)construct a Transaction for use in an offline operationLifecycleTransactionTracker. tryModify(java.lang.Iterable<SSTableReader> sstables, OperationType operationType)LifecycleTransactionTracker. 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 UnfilteredPartitionIteratorDuplicateRowChecker. 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 SSTableFlushObserverIndex. 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 SSTableFlushObserverSASIIndex. getFlushObserver(Descriptor descriptor, OperationType opType)protected static PerSSTableIndexWriterSASIIndex. 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 OperationTypeSSTableListChangedNotification. compactionTypeConstructors 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)
-