Class AzureStorageObject
java.lang.Object
org.elasticsearch.xpack.esql.datasource.azure.AzureStorageObject
- All Implemented Interfaces:
StorageObject
StorageObject implementation for Azure Blob Storage.
Supports full and range reads, and metadata retrieval with caching.
-
Field Summary
Fields inherited from interface org.elasticsearch.xpack.esql.datasources.spi.StorageObject
TRANSFER_BUFFER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionAzureStorageObject(com.azure.storage.blob.BlobClient blobClient, String container, String blobName, StoragePath path) AzureStorageObject(com.azure.storage.blob.BlobClient blobClient, String container, String blobName, StoragePath path, long length) AzureStorageObject(com.azure.storage.blob.BlobClient blobClient, String container, String blobName, StoragePath path, long length, Instant lastModified) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.esql.datasources.spi.StorageObject
readBytes, readBytesAsync, readBytesAsync, supportsNativeAsync
-
Constructor Details
-
AzureStorageObject
public AzureStorageObject(com.azure.storage.blob.BlobClient blobClient, String container, String blobName, StoragePath path) -
AzureStorageObject
public AzureStorageObject(com.azure.storage.blob.BlobClient blobClient, String container, String blobName, StoragePath path, long length) -
AzureStorageObject
public AzureStorageObject(com.azure.storage.blob.BlobClient blobClient, String container, String blobName, StoragePath path, long length, Instant lastModified)
-
-
Method Details
-
newStream
- Specified by:
newStreamin interfaceStorageObject- Throws:
IOException
-
newStream
- Specified by:
newStreamin interfaceStorageObject- Throws:
IOException
-
length
- Specified by:
lengthin interfaceStorageObject- Throws:
IOException
-
lastModified
- Specified by:
lastModifiedin interfaceStorageObject- Throws:
IOException
-
exists
- Specified by:
existsin interfaceStorageObject- Throws:
IOException
-
path
- Specified by:
pathin interfaceStorageObject
-
toString
-