@Deprecated public abstract class AbstractLegacyBlobContainer extends AbstractBlobContainer
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLegacyBlobContainer(BlobPath path)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract OutputStream |
createOutput(String blobName)
Deprecated.
|
protected abstract InputStream |
openInput(String blobName)
Deprecated.
|
InputStream |
readBlob(String blobName)
Deprecated.
Creates a new InputStream for the given blob name
|
void |
writeBlob(String blobName,
BytesReference data)
Deprecated.
Writes bytes to the blob
|
void |
writeBlob(String blobName,
InputStream inputStream,
long blobSize)
Deprecated.
Reads blob content from the input stream and writes it to the blob store
|
deleteBlobs, deleteBlobsByPrefix, pathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblobExists, deleteBlob, listBlobs, listBlobsByPrefix, moveprotected AbstractLegacyBlobContainer(BlobPath path)
@Deprecated protected abstract InputStream openInput(String blobName) throws IOException
InputStream for the given blob name
This method is deprecated and is used only for compatibility with older blob containers The new blob containers should use readBlob/writeBlob methods instead
IOException@Deprecated protected abstract OutputStream createOutput(String blobName) throws IOException
This method is deprecated and is used only for compatibility with older blob containers The new blob containers should override readBlob/writeBlob methods instead
IOExceptionpublic InputStream readBlob(String blobName) throws IOException
BlobContainerIOExceptionpublic void writeBlob(String blobName, InputStream inputStream, long blobSize) throws IOException
BlobContainerIOExceptionpublic void writeBlob(String blobName, BytesReference data) throws IOException
BlobContainerIOExceptionCopyright © 2009–2016. All rights reserved.