public interface BlobStore
| Modifier and Type | Method and Description |
|---|---|
long |
getBlobLength(String blobId)
Get the length of the blob.
|
int |
readBlob(String blobId,
long pos,
byte[] buff,
int off,
int length)
Read a number of bytes from a blob.
|
String |
writeBlob(InputStream in)
Write a blob from an input stream.
|
String writeBlob(InputStream in) throws Exception
in - the input streamExceptionint readBlob(String blobId, long pos, byte[] buff, int off, int length) throws Exception
blobId - the blob idpos - the position within the blobbuff - the target byte arrayoff - the offset within the target arraylength - the number of bytes to readExceptionCopyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.