org.apache.cassandra.db.compaction
Class AbstractCompactionIterable
java.lang.Object
org.apache.cassandra.db.compaction.AbstractCompactionIterable
- All Implemented Interfaces:
- java.lang.Iterable<AbstractCompactedRow>, CompactionInfo.Holder
- Direct Known Subclasses:
- CompactionIterable, ParallelCompactionIterable
public abstract class AbstractCompactionIterable
- extends java.lang.Object
- implements java.lang.Iterable<AbstractCompactedRow>, CompactionInfo.Holder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected final OperationType type
controller
protected final CompactionController controller
totalBytes
protected long totalBytes
bytesRead
protected volatile long bytesRead
throttle
protected final Throttle throttle
AbstractCompactionIterable
public AbstractCompactionIterable(CompactionController controller,
OperationType type)
getScanners
protected static java.util.List<SSTableScanner> getScanners(java.lang.Iterable<SSTableReader> sstables)
throws java.io.IOException
- Throws:
java.io.IOException
getCompactionInfo
public CompactionInfo getCompactionInfo()
- Specified by:
getCompactionInfo
in interface CompactionInfo.Holder
iterator
public abstract CloseableIterator<AbstractCompactedRow> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<AbstractCompactedRow>
Copyright © 2011 The Apache Software Foundation