Interface BlobStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
- All Superinterfaces:
NodeOps<PK,D>
- All Known Subinterfaces:
BlobStorage<PK,D>,BlobStorage.BlobStorageNode<PK,D,F>,BlobStorage.PhysicalBlobStorageNode<PK,D,F>,BlobStorageWriter<PK,D>
public interface BlobStorageReader<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>> extends NodeOps<PK,D>
Methods for reading from an blob store such as the filesystem or S3.
-
Method Summary
Modifier and Type Method Description booleanexists(PathbeanKey key)StringgetBucket()SubpathgetRootPath()byte[]read(PathbeanKey key)byte[]read(PathbeanKey key, long offset, int length)io.datarouter.scanner.Scanner<Pathbean>scan(Subpath subpath)io.datarouter.scanner.Scanner<PathbeanKey>scanKeys(Subpath subpath)