@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, path
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
blobExists, deleteBlob, listBlobs, listBlobsByPrefix, move
protected 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
IOException
public InputStream readBlob(String blobName) throws IOException
BlobContainer
IOException
public void writeBlob(String blobName, InputStream inputStream, long blobSize) throws IOException
BlobContainer
IOException
public void writeBlob(String blobName, BytesReference data) throws IOException
BlobContainer
IOException
Copyright © 2009–2016. All rights reserved.