Interface SSTableFormat.Factory

All Known Implementing Classes:
BigFormat.BigFormatFactory, BtiFormat.BtiFormatFactory
Enclosing interface:
SSTableFormat<R extends SSTableReader,W extends SSTableWriter>

public static interface SSTableFormat.Factory
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an instance of the sstable format configured with the provided options.
    Returns a name of the format.
  • Method Details

    • name

      String name()
      Returns a name of the format. Format name must not be empty, must be unique and must consist only of lowercase letters.
    • getInstance

      SSTableFormat<?,?> getInstance(@Nonnull Map<String,String> options)
      Returns an instance of the sstable format configured with the provided options.

      The method is expected to validate the options, and throw ConfigurationException if the validation fails.

      Parameters:
      options - overrides for the default options, can be empty, cannot be null