Interface BlobStorageReader
- All Superinterfaces:
NodeOps<PathbeanKey,Pathbean>
- All Known Subinterfaces:
BlobStorage,BlobStorage.BlobStorageNode,BlobStorage.PhysicalBlobStorageNode,BlobStorageWriter
- All Known Implementing Classes:
Directory
Methods for reading from an blob store such as the filesystem or S3.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanexists(PathbeanKey key) booleanexists(PathbeanKey key, Config config) length(PathbeanKey key) length(PathbeanKey key, Config config) default byte[]read(PathbeanKey key) default byte[]read(PathbeanKey key, long offset, int length) byte[]read(PathbeanKey key, long offset, int length, Config config) byte[]read(PathbeanKey key, Config config) default Map<PathbeanKey,byte[]> read(List<PathbeanKey> keys) Map<PathbeanKey,byte[]> read(List<PathbeanKey> keys, Config config) default InputStreamdefault InputStreamreadInputStream(PathbeanKey key, Config config) default io.datarouter.scanner.Scanner<Pathbean>default io.datarouter.scanner.Scanner<byte[]>scanChunks(PathbeanKey key, io.datarouter.util.tuple.Range<Long> range, io.datarouter.bytes.ByteLength chunkSize) default io.datarouter.scanner.Scanner<byte[]>scanChunks(PathbeanKey key, io.datarouter.util.tuple.Range<Long> range, io.datarouter.scanner.Threads threads, io.datarouter.bytes.ByteLength chunkSize) default io.datarouter.scanner.Scanner<DirectoryDto>scanDirectories(BucketAndPrefix locationPrefix, String startAfter, int pageSize) default io.datarouter.scanner.Scanner<DirectoryDto>scanFiles(BucketAndPrefix locationPrefix, String startAfter, int pageSize) default io.datarouter.scanner.Scanner<PathbeanKey>default io.datarouter.scanner.Scanner<PathbeanKey>default io.datarouter.scanner.Scanner<List<PathbeanKey>>scanKeysPaged(Subpath subpath) io.datarouter.scanner.Scanner<List<PathbeanKey>>scanKeysPaged(Subpath subpath, Config config)
-
Method Details
-
getBucket
String getBucket() -
getRootPath
Subpath getRootPath() -
exists
-
exists
-
length
-
length
-
read
-
read
-
read
-
read
-
read
-
read
-
readInputStream
-
readInputStream
-
scanKeysPaged
-
scanKeysPaged
-
scanPaged
-
scanPaged
-
scanKeys
-
scanKeys
-
scan
-
scanChunks
default io.datarouter.scanner.Scanner<byte[]> scanChunks(PathbeanKey key, io.datarouter.util.tuple.Range<Long> range, io.datarouter.bytes.ByteLength chunkSize) -
scanChunks
default io.datarouter.scanner.Scanner<byte[]> scanChunks(PathbeanKey key, io.datarouter.util.tuple.Range<Long> range, io.datarouter.scanner.Threads threads, io.datarouter.bytes.ByteLength chunkSize) -
scanDirectories
default io.datarouter.scanner.Scanner<DirectoryDto> scanDirectories(BucketAndPrefix locationPrefix, String startAfter, int pageSize) -
scanFiles
default io.datarouter.scanner.Scanner<DirectoryDto> scanFiles(BucketAndPrefix locationPrefix, String startAfter, int pageSize)
-