Class SnapshotWriterConfig
java.lang.Object
io.datarouter.filesystem.snapshot.writer.SnapshotWriterConfig
public class SnapshotWriterConfig
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description intbatchQueueLengthBlockCompressorbranchBlockCompressorjava.util.function.Function<java.lang.Integer,BranchBlockEncoder>branchBlockEncoderFactoryintbranchBlockSizeintbranchBlocksPerFileintbranchBytesPerFilebooleancompressorConcatChunksBlockCompressorleafBlockCompressorjava.util.function.Supplier<LeafBlockEncoder>leafBlockEncoderSupplierintleafBlockSizeintleafBlocksPerFileintleafBytesPerFileintleafEncoderChunkSizelonglogPeriodMsintnumColumnsintnumThreadsjava.util.function.Supplier<SnapshotPaths>pathsSupplierbooleanpersistjava.util.function.Supplier<RootBlockEncoder>rootBlockEncoderSupplierbooleansortedbooleanupdateCacheBlockCompressorvalueBlockCompressorjava.util.function.Supplier<ValueBlockEncoder>valueBlockEncoderSupplierintvalueBlockSizeintvalueBlocksPerFileintvalueBytesPerFile -
Constructor Summary
Constructors Constructor Description SnapshotWriterConfig(boolean sorted, int numColumns, int batchQueueLength, int numThreads, long logPeriodMs, boolean compressorConcatChunks, boolean persist, boolean updateCache, java.util.function.Supplier<SnapshotPaths> pathsSupplier, int leafEncoderChunkSize, int branchBlockSize, int leafBlockSize, int valueBlockSize, int branchBytesPerFile, int leafBytesPerFile, int valueBytesPerFile, int branchBlocksPerFile, int leafBlocksPerFile, int valueBlocksPerFile, java.util.function.Supplier<RootBlockEncoder> rootBlockEncoderSupplier, java.util.function.Function<java.lang.Integer,BranchBlockEncoder> branchBlockEncoderFactory, java.util.function.Supplier<LeafBlockEncoder> leafBlockEncoderSupplier, java.util.function.Supplier<ValueBlockEncoder> valueBlockEncoderSupplier, BlockCompressor branchBlockCompressor, BlockCompressor leafBlockCompressor, BlockCompressor valueBlockCompressor) -
Method Summary
Modifier and Type Method Description io.datarouter.scanner.Scanner<java.lang.Integer>columnIds()
-
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
public final java.util.function.Function<java.lang.Integer,BranchBlockEncoder> 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, java.util.function.Supplier<SnapshotPaths> pathsSupplier, int leafEncoderChunkSize, int branchBlockSize, int leafBlockSize, int valueBlockSize, int branchBytesPerFile, int leafBytesPerFile, int valueBytesPerFile, int branchBlocksPerFile, int leafBlocksPerFile, int valueBlocksPerFile, java.util.function.Supplier<RootBlockEncoder> rootBlockEncoderSupplier, java.util.function.Function<java.lang.Integer,BranchBlockEncoder> branchBlockEncoderFactory, java.util.function.Supplier<LeafBlockEncoder> leafBlockEncoderSupplier, java.util.function.Supplier<ValueBlockEncoder> valueBlockEncoderSupplier, BlockCompressor branchBlockCompressor, BlockCompressor leafBlockCompressor, BlockCompressor valueBlockCompressor)
-
-
Method Details
-
columnIds
public io.datarouter.scanner.Scanner<java.lang.Integer> columnIds()
-