Package org.apache.polaris.test.minio
Interface MinioAccess
- All Known Implementing Classes:
MinioContainer
public interface MinioAccess
Provides access to Minio via a preconfigured S3 client and providing the by default randomized
bucket and access/secret keys.
Annotate JUnit test instance or static fields or method parameters of this type with Minio.
-
Method Summary
Modifier and TypeMethodDescriptionbucket()Properties needed by Apache Hadoop to access this instance.hostPort()Host and port, separated by ':'.Properties needed by Apache Iceberg to access this instance.s3BucketUri(String path) S3 scheme URI including the bucket to access the given path.software.amazon.awssdk.services.s3.S3Clients3Client()HTTP protocol endpoint.default voidConvenience method to put an object into S3.
-
Method Details
-
hostPort
String hostPort()Host and port, separated by ':'. -
accessKey
String accessKey() -
secretKey
String secretKey() -
bucket
String bucket() -
s3endpoint
String s3endpoint()HTTP protocol endpoint. -
s3Client
software.amazon.awssdk.services.s3.S3Client s3Client() -
icebergProperties
Properties needed by Apache Iceberg to access this instance. -
hadoopConfig
Properties needed by Apache Hadoop to access this instance. -
s3BucketUri
S3 scheme URI including the bucket to access the given path. -
s3put
Convenience method to put an object into S3.
-