Interface RecordWriter.SSTableWriterFactory
-
- Enclosing class:
- RecordWriter
public static interface RecordWriter.SSTableWriterFactoryFunctional interface that helps with creatingSortedSSTableWriterinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SortedSSTableWritercreate(BulkWriterContext writerContext, java.nio.file.Path outDir, DigestAlgorithm digestAlgorithm, int partitionId)Creates a new instance of theSortedSSTableWriterwith the providedwriterContext,outDir, anddigestProviderparameters.
-
-
-
Method Detail
-
create
SortedSSTableWriter create(BulkWriterContext writerContext, java.nio.file.Path outDir, DigestAlgorithm digestAlgorithm, int partitionId)
Creates a new instance of theSortedSSTableWriterwith the providedwriterContext,outDir, anddigestProviderparameters.- Parameters:
writerContext- the context for the bulk writer joboutDir- an output directory where SSTables components will be written todigestAlgorithm- a digest provider to calculate digests for every SSTable componentpartitionId- partition id- Returns:
- a new
SortedSSTableWriter
-
-