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.IOExceptionpublic Scrubber(ColumnFamilyStore cfs, SSTableReader sstable, boolean skipCorrupted, OutputHandler outputHandler, boolean isOffline) throws java.io.IOException
java.io.IOExceptionpublic void scrub()
public SSTableReader getNewSSTable()
public SSTableReader getNewInOrderSSTable()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic CompactionInfo.Holder getScrubInfo()
Copyright © 2015 The Apache Software Foundation