Class S3StorageProvider
java.lang.Object
org.elasticsearch.xpack.esql.datasource.s3.S3StorageProvider
- All Implemented Interfaces:
Closeable,AutoCloseable,StorageProvider
StorageProvider implementation for S3 using AWS SDK v2.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()config()booleanexists(StoragePath path) listObjects(StoragePath prefix, boolean recursive) newObject(StoragePath path) newObject(StoragePath path, long length) newObject(StoragePath path, long length, Instant lastModified) software.amazon.awssdk.services.s3.S3Clients3Client()toString()
-
Constructor Details
-
S3StorageProvider
-
-
Method Details
-
newObject
- Specified by:
newObjectin interfaceStorageProvider
-
newObject
- Specified by:
newObjectin interfaceStorageProvider
-
newObject
- Specified by:
newObjectin interfaceStorageProvider
-
listObjects
- Specified by:
listObjectsin interfaceStorageProvider- Throws:
IOException
-
exists
- Specified by:
existsin interfaceStorageProvider- Throws:
IOException
-
supportedSchemes
- Specified by:
supportedSchemesin interfaceStorageProvider
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
s3Client
public software.amazon.awssdk.services.s3.S3Client s3Client() -
config
-
toString
-