Class SnapshotWriterConfig
java.lang.Object
io.datarouter.filesystem.snapshot.writer.SnapshotWriterConfig
public class SnapshotWriterConfig extends Object
-
Field Summary
Fields Modifier and Type Field Description intbatchQueueLengthBlockCompressorbranchBlockCompressorFunction<Integer,BranchBlockEncoder>branchBlockEncoderFactoryintbranchBlockSizeintbranchBlocksPerFileintbranchBytesPerFilebooleancompressorConcatChunksBlockCompressorleafBlockCompressorSupplier<LeafBlockEncoder>leafBlockEncoderSupplierintleafBlockSizeintleafBlocksPerFileintleafBytesPerFileintleafEncoderChunkSizelonglogPeriodMsintnumColumnsintnumThreadsSupplier<SnapshotPaths>pathsSupplierbooleanpersistSupplier<RootBlockEncoder>rootBlockEncoderSupplierbooleansortedbooleanupdateCacheBlockCompressorvalueBlockCompressorSupplier<ValueBlockEncoder>valueBlockEncoderSupplierintvalueBlockSizeintvalueBlocksPerFileintvalueBytesPerFile -
Constructor Summary
Constructors Constructor Description SnapshotWriterConfig(boolean sorted, int numColumns, int batchQueueLength, int numThreads, long logPeriodMs, boolean compressorConcatChunks, boolean persist, boolean updateCache, Supplier<SnapshotPaths> pathsSupplier, int leafEncoderChunkSize, int branchBlockSize, int leafBlockSize, int valueBlockSize, int branchBytesPerFile, int leafBytesPerFile, int valueBytesPerFile, int branchBlocksPerFile, int leafBlocksPerFile, int valueBlocksPerFile, Supplier<RootBlockEncoder> rootBlockEncoderSupplier, Function<Integer,BranchBlockEncoder> branchBlockEncoderFactory, Supplier<LeafBlockEncoder> leafBlockEncoderSupplier, Supplier<ValueBlockEncoder> valueBlockEncoderSupplier, BlockCompressor branchBlockCompressor, BlockCompressor leafBlockCompressor, BlockCompressor valueBlockCompressor) -
Method Summary
-
Field Details
-
sorted
public final boolean sorted -
numColumns
public final int numColumns -
batchQueueLength
public final int batchQueueLength -
numThreads
public final int numThreads -
logPeriodMs
public final long logPeriodMs -
compressorConcatChunks
public final boolean compressorConcatChunks -
persist
public final boolean persist -
updateCache
public final boolean updateCache -
pathsSupplier
-
leafEncoderChunkSize
public final int leafEncoderChunkSize -
branchBlockSize
public final int branchBlockSize -
leafBlockSize
public final int leafBlockSize -
valueBlockSize
public final int valueBlockSize -
branchBytesPerFile
public final int branchBytesPerFile -
leafBytesPerFile
public final int leafBytesPerFile -
valueBytesPerFile
public final int valueBytesPerFile -
branchBlocksPerFile
public final int branchBlocksPerFile -
leafBlocksPerFile
public final int leafBlocksPerFile -
valueBlocksPerFile
public final int valueBlocksPerFile -
rootBlockEncoderSupplier
-
branchBlockEncoderFactory
-
leafBlockEncoderSupplier
-
valueBlockEncoderSupplier
-
branchBlockCompressor
-
leafBlockCompressor
-
valueBlockCompressor
-
-
Constructor Details
-
SnapshotWriterConfig
public SnapshotWriterConfig(boolean sorted, int numColumns, int batchQueueLength, int numThreads, long logPeriodMs, boolean compressorConcatChunks, boolean persist, boolean updateCache, Supplier<SnapshotPaths> pathsSupplier, int leafEncoderChunkSize, int branchBlockSize, int leafBlockSize, int valueBlockSize, int branchBytesPerFile, int leafBytesPerFile, int valueBytesPerFile, int branchBlocksPerFile, int leafBlocksPerFile, int valueBlocksPerFile, Supplier<RootBlockEncoder> rootBlockEncoderSupplier, Function<Integer,BranchBlockEncoder> branchBlockEncoderFactory, Supplier<LeafBlockEncoder> leafBlockEncoderSupplier, Supplier<ValueBlockEncoder> valueBlockEncoderSupplier, BlockCompressor branchBlockCompressor, BlockCompressor leafBlockCompressor, BlockCompressor valueBlockCompressor)
-
-
Method Details
-
columnIds
-