Package com.enonic.xp.blob
Interface BlobStore
-
public interface BlobStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlobRecord
addRecord(Segment segment, BlobRecord record)
BlobRecord
addRecord(Segment segment, com.google.common.io.ByteSource in)
void
deleteSegment(Segment segment)
BlobRecord
getRecord(Segment segment, BlobKey key)
java.util.stream.Stream<BlobRecord>
list(Segment segment)
java.util.stream.Stream<Segment>
listSegments()
void
removeRecord(Segment segment, BlobKey key)
-
-
-
Method Detail
-
getRecord
BlobRecord getRecord(Segment segment, BlobKey key) throws BlobStoreException
- Throws:
BlobStoreException
-
addRecord
BlobRecord addRecord(Segment segment, com.google.common.io.ByteSource in) throws BlobStoreException
- Throws:
BlobStoreException
-
addRecord
BlobRecord addRecord(Segment segment, BlobRecord record) throws BlobStoreException
- Throws:
BlobStoreException
-
removeRecord
void removeRecord(Segment segment, BlobKey key) throws BlobStoreException
- Throws:
BlobStoreException
-
list
java.util.stream.Stream<BlobRecord> list(Segment segment)
-
listSegments
java.util.stream.Stream<Segment> listSegments()
-
deleteSegment
void deleteSegment(Segment segment)
-
-