All Implemented Interfaces:
SSTableFormat<BtiTableReader,BtiTableWriter>

public class BtiFormat extends AbstractSSTableFormat<BtiTableReader,BtiTableWriter>
Bigtable format with trie indices. See BTIFormat.md for the format documentation.
  • Field Details

  • Constructor Details

  • Method Details

    • is

      public static boolean is(SSTableFormat<?,?> format)
    • isSelected

      public static boolean isSelected()
    • getLatestVersion

      public Version getLatestVersion()
    • getVersion

      public Version getVersion(String version)
    • getWriterFactory

      public org.apache.cassandra.io.sstable.format.bti.BtiFormat.BtiTableWriterFactory getWriterFactory()
    • getReaderFactory

      public org.apache.cassandra.io.sstable.format.bti.BtiFormat.BtiTableReaderFactory getReaderFactory()
    • primaryComponents

      public Set<Component> primaryComponents()
    • batchComponents

      public Set<Component> batchComponents()
      Description copied from interface: SSTableFormat
      Returns components required by offline compaction tasks - like splitting sstables.
    • uploadComponents

      public Set<Component> uploadComponents()
      Description copied from interface: SSTableFormat
      Returns the components which should be selected for upload by the sstable loader.
    • mutableComponents

      public Set<Component> mutableComponents()
      Description copied from interface: SSTableFormat
      Returns a set of the components that can be changed after an sstable was written.
    • allComponents

      public Set<Component> allComponents()
      Description copied from interface: SSTableFormat
      All the components that the writter can produce when saving an sstable, as well as all the components that the reader can read.
    • generatedOnLoadComponents

      public Set<Component> generatedOnLoadComponents()
      Description copied from interface: SSTableFormat
      Returns 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: SSTableFormat
      Returns a new scrubber for an sstable. Note that the transaction must contain only one reader and the reader must match the provided cfs.
    • getFormatSpecificMetricsProviders

      public MetricsProviders getFormatSpecificMetricsProviders()
    • deleteOrphanedComponents

      public void deleteOrphanedComponents(Descriptor descriptor, Set<Component> components)
    • delete

      public void delete(Descriptor desc)
      Description copied from interface: SSTableFormat
      Deletes 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.