Class BinaryFileService
java.lang.Object
io.datarouter.filesystem.raw.small.BinaryFileService
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<byte[]> Optional<byte[]> readInputStream(Path fullPath) io.datarouter.scanner.Scanner<byte[]> scanChunks(Path fullPath, io.datarouter.util.tuple.Range<Long> range, ExecutorService exec, int numThreads, int chunkSize) voidwriteBytes(Path fullPath, byte[] bytes) voidwriteBytes(Path fullPath, InputStream inputStream)
-
Constructor Details
-
BinaryFileService
public BinaryFileService()
-
-
Method Details
-
writeBytes
-
writeBytes
-
length
-
readBytes
-
readBytes
-
readInputStream
-
scanChunks
public io.datarouter.scanner.Scanner<byte[]> scanChunks(Path fullPath, io.datarouter.util.tuple.Range<Long> range, ExecutorService exec, int numThreads, int chunkSize)
-