Class SnapshotWriterConfigBuilder
java.lang.Object
io.datarouter.filesystem.snapshot.writer.SnapshotWriterConfigBuilder
public class SnapshotWriterConfigBuilder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description SnapshotWriterConfigBuilder(boolean sorted, int numColumns) -
Method Summary
-
Constructor Details
-
SnapshotWriterConfigBuilder
public SnapshotWriterConfigBuilder(boolean sorted, int numColumns)
-
-
Method Details
-
withBatchQueueLength
-
withNumThreads
-
withLogPeriodThreads
-
withCompressorConcatChunks
-
withPersist
-
withUpdateCache
-
withPathsSupplier
public SnapshotWriterConfigBuilder withPathsSupplier(java.util.function.Supplier<SnapshotPaths> pathsSupplier) -
withLeafEncoderChunkSize
-
withBlockSize
-
withBranchBlockSize
-
withLeafBlockSize
-
withValueBlockSize
-
withBytesPerFile
-
withBranchBytesPerFile
-
withLeafBytesPerFile
-
withValueBytesPerFile
-
withBlocksPerFile
-
withBranchBlocksPerFile
-
withLeafBlocksPerFile
-
withValueBlocksPerFile
-
withRootBlockEncoderFactory
public SnapshotWriterConfigBuilder withRootBlockEncoderFactory(java.util.function.Supplier<RootBlockEncoder> rootBlockEncoderSupplier) -
withBranchBlockEncoderFactory
public SnapshotWriterConfigBuilder withBranchBlockEncoderFactory(java.util.function.Function<java.lang.Integer,BranchBlockEncoder> branchEncoderFactory) -
withLeafBlockEncoderSupplier
public SnapshotWriterConfigBuilder withLeafBlockEncoderSupplier(java.util.function.Supplier<LeafBlockEncoder> leafBlockEncoderSupplier) -
withValueBlockEncoderSupplier
public SnapshotWriterConfigBuilder withValueBlockEncoderSupplier(java.util.function.Supplier<ValueBlockEncoder> valueBlockEncoderSupplier) -
withCompressor
-
withBranchBlockCompressor
public SnapshotWriterConfigBuilder withBranchBlockCompressor(BlockCompressor branchBlockCompressor) -
withLeafBlockCompressor
-
withValueBlockCompressor
-
build
-