Interface SSTableFormat.SSTableWriterFactory<W extends SSTableWriter,B extends SSTableWriter.Builder<W,B>>

Enclosing interface:
SSTableFormat<R extends SSTableReader,W extends SSTableWriter>

public static interface SSTableFormat.SSTableWriterFactory<W extends SSTableWriter,B extends SSTableWriter.Builder<W,B>>
  • Method Details

    • builder

      B builder(Descriptor descriptor)
      Returns a new builder which can create instance of SSTableWriter with the provided parameters. Similarly to the loading builder, it should open the required resources when the SSTableWriter.Builder.build(LifecycleNewTracker, SSTable.Owner) method is called. It should not let the caller passing any closeable resources directly, that is, via setters. If building fails, all the opened resources should be released.
    • estimateSize

      long estimateSize(SSTableWriter.SSTableSizeParameters parameters)
      Tries to estimate the size of all the sstable files from the provided parameters.