Uses of Class
io.datarouter.bytes.kvfile.kv.KvFileEntry
Packages that use KvFileEntry
Package
Description
-
Uses of KvFileEntry in io.datarouter.bytes.kvfile.codec
Methods in io.datarouter.bytes.kvfile.codec that return KvFileEntryModifier and TypeMethodDescriptionstatic KvFileEntryKvFileEntrySerializer.fromBytes(byte[] bytes) static KvFileEntryKvFileEntrySerializer.fromBytes(byte[] bytes, int offset) Methods in io.datarouter.bytes.kvfile.codec that return types with arguments of type KvFileEntryModifier and TypeMethodDescriptionstatic Codec<List<KvFileEntry>,byte[]> KvFileBlockCodec.identity()Constructor parameters in io.datarouter.bytes.kvfile.codec with type arguments of type KvFileEntryModifierConstructorDescriptionKvFileBlockCodec(Codec<T, KvFileEntry> kvCodec) KvFileBlockDecoder(Function<KvFileEntry, T> decoder) KvFileBlockEncoder(Function<T, KvFileEntry> encoder) -
Uses of KvFileEntry in io.datarouter.bytes.kvfile.io
Method parameters in io.datarouter.bytes.kvfile.io with type arguments of type KvFileEntryModifier and TypeMethodDescriptionKvFile.newReaderBuilder(String pathAndFile, Function<KvFileEntry, T> decoder) KvFile.newReaderBuilderKnownFileLength(String pathAndFile, long knownFileLength, Function<KvFileEntry, T> decoder) KvFile.newWriterBuilder(String pathAndFile, Function<T, KvFileEntry> encoder) -
Uses of KvFileEntry in io.datarouter.bytes.kvfile.io.read
Constructor parameters in io.datarouter.bytes.kvfile.io.read with type arguments of type KvFileEntryModifierConstructorDescriptionKvFileReaderBuilder(KvFile<T> kvFile, Function<KvFileEntry, T> decoder, String pathAndFile, Optional<Long> optKnownFileLength) -
Uses of KvFileEntry in io.datarouter.bytes.kvfile.io.write
Constructor parameters in io.datarouter.bytes.kvfile.io.write with type arguments of type KvFileEntryModifierConstructorDescriptionKvFileWriterBuilder(KvFile<T> kvFile, Function<T, KvFileEntry> encoder, String pathAndFile) -
Uses of KvFileEntry in io.datarouter.bytes.kvfile.kv
Methods in io.datarouter.bytes.kvfile.kv that return KvFileEntryModifier and TypeMethodDescriptionstatic KvFileEntrystatic KvFileEntryKvFileEntry.putWithLongVersion(byte[] key, long version, byte[] value) static KvFileEntryKvFileEntry.putWithoutVersion(byte[] key, byte[] value) Methods in io.datarouter.bytes.kvfile.kv with parameters of type KvFileEntryModifier and TypeMethodDescriptionstatic intKvFileEntry.compareKey(KvFileEntry left, KvFileEntry right) static intKvFileEntry.compareKeyVersionOpOptimized(KvFileEntry left, KvFileEntry right) static intKvFileEntry.compareVersion(KvFileEntry left, KvFileEntry right) static booleanKvFileEntry.equalsKeyOptimized(KvFileEntry left, KvFileEntry right) static booleanKvFileEntry.equalsVersion(KvFileEntry left, KvFileEntry right) -
Uses of KvFileEntry in io.datarouter.bytes.kvfile.merge
Methods in io.datarouter.bytes.kvfile.merge that return types with arguments of type KvFileEntryModifier and TypeMethodDescriptionKvFileMergerParams.Nested.KvFileMergerStorageParams.blockfile()Returns the value of theblockfilerecord component.Function<byte[],List<KvFileEntry>> KvFileMergerParams.Nested.KvFileMergerReadParams.decoder()Returns the value of thedecoderrecord component.Function<List<KvFileEntry>,byte[]> KvFileMergerParams.Nested.KvFileMergerWriteParams.encoder()Returns the value of theencoderrecord component.Constructor parameters in io.datarouter.bytes.kvfile.merge with type arguments of type KvFileEntryModifierConstructorDescriptionKvFileMergerReadParams(Function<byte[], List<KvFileEntry>> decoder, int memoryFanIn, int streamingFanIn, ExecutorService prefetchExec, ByteLength readBufferSize, ByteLength readChunkSize, ExecutorService readExec, int decodeBatchSize, ExecutorService decodeExec) Creates an instance of aKvFileMergerReadParamsrecord class.KvFileMergerStorageParams(Blockfile<List<KvFileEntry>> blockfile, Supplier<String> filenameSupplier) Creates an instance of aKvFileMergerStorageParamsrecord class.KvFileMergerWriteParams(Function<List<KvFileEntry>, byte[]> encoder, BlockfileCompressor compressor, ByteLength minBlockSize, int encodeBatchSize, ExecutorService encodeExec, ByteLength multipartUploadThreshold, int writeThreads, ExecutorService writeExec) Creates an instance of aKvFileMergerWriteParamsrecord class. -
Uses of KvFileEntry in io.datarouter.bytes.kvfile.read
Fields in io.datarouter.bytes.kvfile.read with type parameters of type KvFileEntryModifier and TypeFieldDescriptionfinal Function<List<io.datarouter.scanner.Scanner<KvFileEntry>>,io.datarouter.scanner.Scanner<KvFileEntry>> KvFileCollator.KvFileCollatorStrategy.methodfinal Function<List<io.datarouter.scanner.Scanner<KvFileEntry>>,io.datarouter.scanner.Scanner<KvFileEntry>> KvFileCollator.KvFileCollatorStrategy.methodMethods in io.datarouter.bytes.kvfile.read that return types with arguments of type KvFileEntryModifier and TypeMethodDescriptionstatic io.datarouter.scanner.Scanner<KvFileEntry>KvFileCollator.keepAll(List<io.datarouter.scanner.Scanner<KvFileEntry>> readers) Fastest option Merge entries keeping all versions and ops, including duplicates.static io.datarouter.scanner.Scanner<KvFileEntry>KvFileCollator.pruneAll(List<io.datarouter.scanner.Scanner<KvFileEntry>> readers) Merge entries keeping the latest version.static io.datarouter.scanner.Scanner<KvFileEntry>KvFileCollator.pruneVersions(List<io.datarouter.scanner.Scanner<KvFileEntry>> readers) Merge entries keeping the latest version.Method parameters in io.datarouter.bytes.kvfile.read with type arguments of type KvFileEntryModifier and TypeMethodDescriptionstatic io.datarouter.scanner.Scanner<KvFileEntry>KvFileCollator.keepAll(List<io.datarouter.scanner.Scanner<KvFileEntry>> readers) Fastest option Merge entries keeping all versions and ops, including duplicates.static io.datarouter.scanner.Scanner<KvFileEntry>KvFileCollator.pruneAll(List<io.datarouter.scanner.Scanner<KvFileEntry>> readers) Merge entries keeping the latest version.static io.datarouter.scanner.Scanner<KvFileEntry>KvFileCollator.pruneVersions(List<io.datarouter.scanner.Scanner<KvFileEntry>> readers) Merge entries keeping the latest version.Constructor parameters in io.datarouter.bytes.kvfile.read with type arguments of type KvFileEntryModifierConstructorDescriptionKvFileCollatorPruneDeletesScanner(io.datarouter.scanner.Scanner<KvFileEntry> input) KvFileCollatorPruneVersionsScanner(io.datarouter.scanner.Scanner<KvFileEntry> input)