Interface BlobStorageWriter
- All Superinterfaces:
BlobStorageReader,NodeOps<PathbeanKey,Pathbean>
- All Known Subinterfaces:
BlobStorage,BlobStorage.BlobStorageNode,BlobStorage.PhysicalBlobStorageNode
- All Known Implementing Classes:
Directory
Methods for writing to an object store such as the filesystem or S3.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddelete(PathbeanKey key) voiddelete(PathbeanKey key, Config config) default voidvoidDelete all descendants and the subpath directoryvoiddefault voidwrite(PathbeanKey key, byte[] value) voidwrite(PathbeanKey key, byte[] value, Config config) default voidwrite(PathbeanKey key, io.datarouter.scanner.Scanner<byte[]> chunks) default voidwrite(PathbeanKey key, io.datarouter.scanner.Scanner<byte[]> chunks, Config config) default voidwrite(PathbeanKey key, InputStream inputStream) voidwrite(PathbeanKey key, InputStream inputStream, Config config) default voidwriteParallel(PathbeanKey key, io.datarouter.scanner.Scanner<List<byte[]>> parts, io.datarouter.scanner.Threads threads) default voidwriteParallel(PathbeanKey key, io.datarouter.scanner.Scanner<List<byte[]>> parts, io.datarouter.scanner.Threads threads, Config config) default voidwriteParallel(PathbeanKey key, InputStream inputStream, io.datarouter.scanner.Threads threads, io.datarouter.bytes.ByteLength minPartSize) default voidwriteParallel(PathbeanKey key, InputStream inputStream, io.datarouter.scanner.Threads threads, io.datarouter.bytes.ByteLength minPartSize, Config config) Methods inherited from interface io.datarouter.storage.node.op.raw.read.BlobStorageReader
exists, exists, getBucket, getRootPath, length, length, read, read, read, read, read, read, readInputStream, readInputStream, scan, scanChunks, scanChunks, scanDirectories, scanFiles, scanKeys, scanKeys, scanKeysPaged, scanKeysPaged, scanPaged, scanPaged
-
Method Details
-
write
-
write
-
write
-
write
-
write
-
write
-
writeParallel
default void writeParallel(PathbeanKey key, InputStream inputStream, io.datarouter.scanner.Threads threads, io.datarouter.bytes.ByteLength minPartSize, Config config) -
writeParallel
default void writeParallel(PathbeanKey key, InputStream inputStream, io.datarouter.scanner.Threads threads, io.datarouter.bytes.ByteLength minPartSize) -
writeParallel
default void writeParallel(PathbeanKey key, io.datarouter.scanner.Scanner<List<byte[]>> parts, io.datarouter.scanner.Threads threads, Config config) -
writeParallel
default void writeParallel(PathbeanKey key, io.datarouter.scanner.Scanner<List<byte[]>> parts, io.datarouter.scanner.Threads threads) -
delete
-
delete
-
deleteAll
Delete all descendants and the subpath directory -
deleteAll
-
vacuum
-