Class Verifier
- java.lang.Object
-
- org.apache.cassandra.db.compaction.Verifier
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class Verifier extends java.lang.Object implements java.io.Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Verifier.Options
static class
Verifier.RangeOwnHelper
Use the fact that check(..) is called with sorted tokens - we keep a pointer in to the normalized ranges and only bump the pointer if the key given is out of range.
-
Constructor Summary
Constructors Constructor Description Verifier(ColumnFamilyStore cfs, SSTableReader sstable, boolean isOffline, Verifier.Options options)
Verifier(ColumnFamilyStore cfs, SSTableReader sstable, OutputHandler outputHandler, boolean isOffline, Verifier.Options options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
CompactionInfo.Holder
getVerifyInfo()
static Verifier.Options.Builder
options()
void
verify()
-
-
-
Constructor Detail
-
Verifier
public Verifier(ColumnFamilyStore cfs, SSTableReader sstable, boolean isOffline, Verifier.Options options)
-
Verifier
public Verifier(ColumnFamilyStore cfs, SSTableReader sstable, OutputHandler outputHandler, boolean isOffline, Verifier.Options options)
-
-
Method Detail
-
verify
public void verify()
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
getVerifyInfo
public CompactionInfo.Holder getVerifyInfo()
-
options
public static Verifier.Options.Builder options()
-
-