Uses of Class
io.datarouter.bytes.ByteLength
Packages that use ByteLength
Package
Description
-
Uses of ByteLength in io.datarouter.bytes
Fields in io.datarouter.bytes declared as ByteLengthModifier and TypeFieldDescriptionstatic final ByteLengthByteLength.MAXstatic final ByteLengthByteLength.MINMethods in io.datarouter.bytes that return ByteLengthModifier and TypeMethodDescriptionstatic ByteLengthByteLength.ofBytes(long input) static ByteLengthByteLength.ofGB(long input) static ByteLengthByteLength.ofGiB(long input) static ByteLengthByteLength.ofKB(long input) static ByteLengthByteLength.ofKiB(long input) static ByteLengthByteLength.ofMB(long input) static ByteLengthByteLength.ofMiB(long input) static ByteLengthByteLength.ofPB(long input) static ByteLengthByteLength.ofPiB(long input) static ByteLengthByteLength.ofTB(long input) static ByteLengthByteLength.ofTiB(long input) static ByteLengthByteLength.sum(ByteLength... byteLengths) static ByteLengthByteLength.sum(Collection<ByteLength> byteLengths) Methods in io.datarouter.bytes with parameters of type ByteLengthMethod parameters in io.datarouter.bytes with type arguments of type ByteLengthModifier and TypeMethodDescriptionstatic ByteLengthByteLength.sum(Collection<ByteLength> byteLengths) -
Uses of ByteLength in io.datarouter.bytes.blockfile.io.compact
Methods in io.datarouter.bytes.blockfile.io.compact that return ByteLengthConstructors in io.datarouter.bytes.blockfile.io.compact with parameters of type ByteLengthModifierConstructorDescriptionBlockfileCompactorFileCache(int targetNumFiles, boolean prune, ByteLength readBufferSize, int memoryFanIn, int streamingFanIn, List<BlockfileNameAndSize> files) -
Uses of ByteLength in io.datarouter.bytes.blockfile.io.merge
Methods in io.datarouter.bytes.blockfile.io.merge that return ByteLengthModifier and TypeMethodDescriptionBlockfileMergerParams.BlockfileMergerWriteParams.minBlockSize()Returns the value of theminBlockSizerecord component.BlockfileMergerParams.BlockfileMergerWriteParams.multipartUploadThreshold()Returns the value of themultipartUploadThresholdrecord component.BlockfileMergePlan.numCompactorBytes()Returns the value of thenumCompactorBytesrecord component.BlockfileMergerParams.BlockfileMergerReadParams.readBufferSize()Returns the value of thereadBufferSizerecord component.BlockfileMergerParams.BlockfileMergerReadParams.readChunkSize()Returns the value of thereadChunkSizerecord component.BlockfileMergePlan.totalInputSize()Constructors in io.datarouter.bytes.blockfile.io.merge with parameters of type ByteLengthModifierConstructorDescriptionBlockfileMergePlan(int numCompactorFiles, ByteLength numCompactorBytes, List<Integer> levels, List<BlockfileNameAndSize> files, BlockfileRowCollator.BlockfileRowCollatorStrategy collatorStrategy) Creates an instance of aBlockfileMergePlanrecord class.BlockfileMergerReadParams(int memoryFanIn, int streamingFanIn, ExecutorService prefetchExec, ByteLength readBufferSize, ByteLength readChunkSize, ExecutorService readExec, int decodeBatchSize, ExecutorService decodeExec) Creates an instance of aBlockfileMergerReadParamsrecord class.BlockfileMergerWriteParams(BlockfileValueBlockFormat valueBlockFormat, BlockfileIndexBlockFormat indexBlockFormat, BlockfileCompressor compressor, ByteLength minBlockSize, int encodeBatchSize, ExecutorService encodeExec, ByteLength multipartUploadThreshold, int writeThreads, ExecutorService writeExec) Creates an instance of aBlockfileMergerWriteParamsrecord class. -
Uses of ByteLength in io.datarouter.bytes.blockfile.io.read
Methods in io.datarouter.bytes.blockfile.io.read that return ByteLengthModifier and TypeMethodDescriptionBlockfileReader.BlockfileReaderConfig.readChunkSize()Returns the value of thereadChunkSizerecord component.Methods in io.datarouter.bytes.blockfile.io.read with parameters of type ByteLengthModifier and TypeMethodDescriptionBlockfileReaderBuilder.setReadChunkSize(ByteLength readChunkSize) Constructors in io.datarouter.bytes.blockfile.io.read with parameters of type ByteLengthModifierConstructorDescriptionBlockfileReaderConfig(BlockfileStorage storage, Function<BlockfileRow, T> rowDecoder, BlockfileHeaderBlock.BlockfileHeaderCodec headerCodec, io.datarouter.scanner.Threads readThreads, ByteLength readChunkSize, int decodeBatchSize, io.datarouter.scanner.Threads decodeThreads, boolean validateChecksums, Optional<Long> knownFileLength) Creates an instance of aBlockfileReaderConfigrecord class. -
Uses of ByteLength in io.datarouter.bytes.blockfile.io.storage
Methods in io.datarouter.bytes.blockfile.io.storage that return ByteLengthModifier and TypeMethodDescriptionstatic ByteLengthBlockfileNameAndSize.totalSize(Collection<BlockfileNameAndSize> files) Methods in io.datarouter.bytes.blockfile.io.storage with parameters of type ByteLengthModifier and TypeMethodDescriptiondefault InputStreamBlockfileStorage.readInputStream(String name, long from, long to, io.datarouter.scanner.Threads threads, ByteLength chunkSize) BlockfileStorage.readInputStream(String name, io.datarouter.scanner.Threads threads, ByteLength chunkSize) -
Uses of ByteLength in io.datarouter.bytes.blockfile.io.storage.impl
Methods in io.datarouter.bytes.blockfile.io.storage.impl with parameters of type ByteLengthModifier and TypeMethodDescriptionBlockfileLocalStorage.readInputStream(String name, io.datarouter.scanner.Threads threads, ByteLength chunkSize) -
Uses of ByteLength in io.datarouter.bytes.blockfile.io.write
Methods in io.datarouter.bytes.blockfile.io.write that return ByteLengthModifier and TypeMethodDescriptionBlockfileWriter.BlockfileWriteResult.fileLength()Returns the value of thefileLengthrecord component.Methods in io.datarouter.bytes.blockfile.io.write that return types with arguments of type ByteLengthModifier and TypeMethodDescriptionBlockfileWriter.BlockfileWriterConfig.optTargetIndexBlockSize()Returns the value of theoptTargetIndexBlockSizerecord component.Methods in io.datarouter.bytes.blockfile.io.write with parameters of type ByteLengthModifier and TypeMethodDescriptionBlockfileWriterBuilder.setTargetIndexBlockSize(ByteLength optTargetIndexBlockSize) For dynamic index block sizing, for example to get large index blocks without estimating.BlockfileWriter.writeItems(Function<T, BlockfileRow> rowEncoder, ByteLength targetValueBlockSize, io.datarouter.scanner.Scanner<T> rows) BlockfileWriter.writeRows(ByteLength targetValueBlockSize, io.datarouter.scanner.Scanner<BlockfileRow> rows) Constructors in io.datarouter.bytes.blockfile.io.write with parameters of type ByteLengthModifierConstructorDescriptionBlockfileWriteResult(long numValueBlocks, ByteLength fileLength) Creates an instance of aBlockfileWriteResultrecord class.Constructor parameters in io.datarouter.bytes.blockfile.io.write with type arguments of type ByteLengthModifierConstructorDescriptionBlockfileIndexBlockBuilder(int maxRecordsPerLevel, Optional<ByteLength> optTargetBlockSize, int level) BlockfileIndexer(BlockfileWriterState writerState, int maxRecordsPerLevel, Optional<ByteLength> optTargetBlockSize, BlockfileIndexBlockCodec indexBlockCodec) BlockfileWriterConfig(BlockfileStorage storage, BlockfileHeaderBlock.BlockfileHeaderCodec headerCodec, BlockfileValueBlockFormat valueBlockFormat, BlockfileIndexBlockFormat indexBlockFormat, BlockfileCompressor compressor, BlockfileChecksummer checksummer, BinaryDictionary userDictionary, Supplier<BinaryDictionary> footerUserDictionarySupplier, List<BlockfileListener> listeners, int encodeBatchSize, io.datarouter.scanner.Threads encodeThreads, boolean multipartWrite, io.datarouter.scanner.Threads writeThreads, int indexFanOut, Optional<ByteLength> optTargetIndexBlockSize) Creates an instance of aBlockfileWriterConfigrecord class.