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 Summary
Modifier and TypeMethodDescriptionbuilder(Descriptor descriptor) Returns a new builder which can create instance ofSSTableWriterwith the provided parameters.longestimateSize(SSTableWriter.SSTableSizeParameters parameters) Tries to estimate the size of all the sstable files from the provided parameters.
-
Method Details
-
builder
Returns a new builder which can create instance ofSSTableWriterwith the provided parameters. Similarly to the loading builder, it should open the required resources when theSSTableWriter.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
Tries to estimate the size of all the sstable files from the provided parameters.
-