Class BtiFormat
java.lang.Object
org.apache.cassandra.io.sstable.format.AbstractSSTableFormat<BtiTableReader,BtiTableWriter>
org.apache.cassandra.io.sstable.format.bti.BtiFormat
- All Implemented Interfaces:
SSTableFormat<BtiTableReader,BtiTableWriter>
Bigtable format with trie indices. See BTIFormat.md for the format documentation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface org.apache.cassandra.io.sstable.format.SSTableFormat
SSTableFormat.Factory, SSTableFormat.KeyCacheValueSerializer<R extends SSTableReader,T extends AbstractRowIndexEntry>, SSTableFormat.SSTableReaderFactory<R extends SSTableReader, B extends SSTableReader.Builder<R, B>>, SSTableFormat.SSTableWriterFactory<W extends SSTableWriter, B extends SSTableWriter.Builder<W, B>> -
Field Summary
FieldsFields inherited from class org.apache.cassandra.io.sstable.format.AbstractSSTableFormat
name, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAll the components that the writter can produce when saving an sstable, as well as all the components that the reader can read.Returns components required by offline compaction tasks - like splitting sstables.voiddelete(Descriptor desc) Deletes the existing components of the sstables represented by the provided descriptor.voiddeleteOrphanedComponents(Descriptor descriptor, Set<Component> components) Returns a set of components that can be automatically generated when loading sstable and thus are not mandatory.SSTableFormat.KeyCacheValueSerializer<BtiTableReader,org.apache.cassandra.io.sstable.format.bti.TrieIndexEntry> org.apache.cassandra.io.sstable.format.bti.BtiFormat.BtiTableReaderFactorygetScrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, OutputHandler outputHandler, IScrubber.Options options) Returns a new scrubber for an sstable.getVersion(String version) org.apache.cassandra.io.sstable.format.bti.BtiFormat.BtiTableWriterFactorystatic booleanis(SSTableFormat<?, ?> format) static booleanReturns a set of the components that can be changed after an sstable was written.Returns the components which should be selected for upload by the sstable loader.Methods inherited from class org.apache.cassandra.io.sstable.format.AbstractSSTableFormat
equals, hashCode, name, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
BtiFormat
-
-
Method Details
-
is
-
isSelected
public static boolean isSelected() -
getLatestVersion
-
getVersion
-
getWriterFactory
public org.apache.cassandra.io.sstable.format.bti.BtiFormat.BtiTableWriterFactory getWriterFactory() -
getReaderFactory
public org.apache.cassandra.io.sstable.format.bti.BtiFormat.BtiTableReaderFactory getReaderFactory() -
-
batchComponents
Description copied from interface:SSTableFormatReturns components required by offline compaction tasks - like splitting sstables. -
uploadComponents
Description copied from interface:SSTableFormatReturns the components which should be selected for upload by the sstable loader. -
mutableComponents
Description copied from interface:SSTableFormatReturns a set of the components that can be changed after an sstable was written. -
allComponents
Description copied from interface:SSTableFormatAll the components that the writter can produce when saving an sstable, as well as all the components that the reader can read. -
generatedOnLoadComponents
Description copied from interface:SSTableFormatReturns a set of components that can be automatically generated when loading sstable and thus are not mandatory. -
getKeyCacheValueSerializer
public SSTableFormat.KeyCacheValueSerializer<BtiTableReader,org.apache.cassandra.io.sstable.format.bti.TrieIndexEntry> getKeyCacheValueSerializer() -
getScrubber
public IScrubber getScrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, OutputHandler outputHandler, IScrubber.Options options) Description copied from interface:SSTableFormatReturns a new scrubber for an sstable. Note that the transaction must contain only one reader and the reader must match the provided cfs. -
getFormatSpecificMetricsProviders
-
deleteOrphanedComponents
-
delete
Description copied from interface:SSTableFormatDeletes the existing components of the sstables represented by the provided descriptor. The method is also responsible for cleaning up the in-memory resources occupied by the stuff related to that sstables, such as row key cache entries.
-