@Deprecated public abstract class AbstractLegacyBlobContainer extends AbstractBlobContainer
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
AbstractLegacyBlobContainer(BlobPath path)
非推奨です。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract OutputStream |
createOutput(String blobName)
非推奨です。
|
protected abstract InputStream |
openInput(String blobName)
非推奨です。
|
InputStream |
readBlob(String blobName)
非推奨です。
Creates a new InputStream for the given blob name
|
void |
writeBlob(String blobName,
BytesReference data)
非推奨です。
Writes bytes to the blob
|
void |
writeBlob(String blobName,
InputStream inputStream,
long blobSize)
非推奨です。
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.