Class AzureBlobContainer
java.lang.Object
org.opensearch.common.blobstore.support.AbstractBlobContainer
org.opensearch.repositories.azure.AzureBlobContainer
- All Implemented Interfaces:
BlobContainer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe default minimum read size, in bytes, for aBlobInputStreamorFileInputStream. -
Method Summary
Modifier and TypeMethodDescriptionbooleanblobExists(String blobName) protected Stringchildren()delete()voiddeleteBlobsIgnoringIfNotExists(List<String> blobNames) listBlobsByPrefix(String prefix) longvoidwriteBlob(String blobName, InputStream inputStream, long blobSize, boolean failIfAlreadyExists) voidwriteBlobAtomic(String blobName, InputStream inputStream, long blobSize, boolean failIfAlreadyExists) Methods inherited from class org.opensearch.common.blobstore.support.AbstractBlobContainer
path
-
Field Details
-
DEFAULT_MINIMUM_READ_SIZE_IN_BYTES
public static final int DEFAULT_MINIMUM_READ_SIZE_IN_BYTESThe default minimum read size, in bytes, for aBlobInputStreamorFileInputStream.- See Also:
-
-
Method Details
-
blobExists
-
readBlob
- Throws:
IOException
-
readBlob
- Throws:
IOException
-
readBlobPreferredLength
public long readBlobPreferredLength() -
writeBlob
public void writeBlob(String blobName, InputStream inputStream, long blobSize, boolean failIfAlreadyExists) throws IOException - Throws:
IOException
-
writeBlobAtomic
public void writeBlobAtomic(String blobName, InputStream inputStream, long blobSize, boolean failIfAlreadyExists) throws IOException - Throws:
IOException
-
delete
- Throws:
IOException
-
deleteBlobsIgnoringIfNotExists
- Throws:
IOException
-
listBlobsByPrefix
- Throws:
IOException
-
listBlobs
- Throws:
IOException
-
children
- Throws:
IOException
-
buildKey
-