public class Scrubber
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Field and Description |
---|---|
ColumnFamilyStore |
cfs |
java.io.File |
destination |
boolean |
skipCorrupted |
SSTableReader |
sstable |
Constructor and Description |
---|
Scrubber(ColumnFamilyStore cfs,
SSTableReader sstable,
boolean skipCorrupted) |
Scrubber(ColumnFamilyStore cfs,
SSTableReader sstable,
boolean skipCorrupted,
OutputHandler outputHandler,
boolean isOffline) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SSTableReader |
getNewInOrderSSTable() |
SSTableReader |
getNewSSTable() |
CompactionInfo.Holder |
getScrubInfo() |
void |
scrub() |
public final ColumnFamilyStore cfs
public final SSTableReader sstable
public final java.io.File destination
public final boolean skipCorrupted
public Scrubber(ColumnFamilyStore cfs, SSTableReader sstable, boolean skipCorrupted) throws java.io.IOException
java.io.IOException
public Scrubber(ColumnFamilyStore cfs, SSTableReader sstable, boolean skipCorrupted, OutputHandler outputHandler, boolean isOffline) throws java.io.IOException
java.io.IOException
public void scrub()
public SSTableReader getNewSSTable()
public SSTableReader getNewInOrderSSTable()
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public CompactionInfo.Holder getScrubInfo()
Copyright © 2014 The Apache Software Foundation