Interface RecordWriter.SSTableWriterFactory

  • Enclosing class:
    RecordWriter

    public static interface RecordWriter.SSTableWriterFactory
    Functional interface that helps with creating SortedSSTableWriter instances.
    • Method Detail

      • create

        SortedSSTableWriter create​(BulkWriterContext writerContext,
                                   java.nio.file.Path outDir,
                                   DigestAlgorithm digestAlgorithm,
                                   int partitionId)
        Creates a new instance of the SortedSSTableWriter with the provided writerContext, outDir, and digestProvider parameters.
        Parameters:
        writerContext - the context for the bulk writer job
        outDir - an output directory where SSTables components will be written to
        digestAlgorithm - a digest provider to calculate digests for every SSTable component
        partitionId - partition id
        Returns:
        a new SortedSSTableWriter