public class MajorLeveledCompactionWriter extends CompactionAwareWriter
Transactional.AbstractTransactional.State
Transactional.AbstractTransactional
cfs, estimatedTotalKeys, maxAge, minRepairedAt, nonExpiredSSTables, sstableWriter
Constructor and Description |
---|
MajorLeveledCompactionWriter(ColumnFamilyStore cfs,
java.util.Set<SSTableReader> allSSTables,
java.util.Set<SSTableReader> nonExpiredSSTables,
long maxSSTableSize,
boolean offline,
OperationType compactionType) |
Modifier and Type | Method and Description |
---|---|
boolean |
append(AbstractCompactedRow row)
Writes a row in an implementation specific way
|
doAbort, doCleanup, doCommit, doPrepare, estimatedKeys, finish, getDirectories, getWriteDirectory
abort, abort, close, commit, commit, prepareToCommit, state
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abort, commit, prepareToCommit
public MajorLeveledCompactionWriter(ColumnFamilyStore cfs, java.util.Set<SSTableReader> allSSTables, java.util.Set<SSTableReader> nonExpiredSSTables, long maxSSTableSize, boolean offline, OperationType compactionType)
public boolean append(AbstractCompactedRow row)
CompactionAwareWriter
append
in class CompactionAwareWriter
row
- the row to appendCopyright © 2015 The Apache Software Foundation