Package org.projectnessie.minio
Interface MinioAccess
-
public interface MinioAccessProvides 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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringaccessKey()java.lang.Stringbucket()org.apache.hadoop.conf.ConfigurationhadoopConfiguration()Properties needed by Apache Hadoop to access this instance.java.lang.StringhostPort()Host and port, separated by ':'.java.util.Map<java.lang.String,java.lang.String>icebergProperties()Properties needed by Apache Iceberg to access this instance.java.net.URIs3BucketUri(java.lang.String path)S3 scheme URI including the bucket to access the given path.software.amazon.awssdk.services.s3.S3Clients3Client()java.lang.Strings3endpoint()HTTP protocol endpoint.default voids3put(java.lang.String key, software.amazon.awssdk.core.sync.RequestBody body)Convenience method to put an object into S3.java.lang.StringsecretKey()
-
-
-
Method Detail
-
hostPort
java.lang.String hostPort()
Host and port, separated by ':'.
-
accessKey
java.lang.String accessKey()
-
secretKey
java.lang.String secretKey()
-
bucket
java.lang.String bucket()
-
s3endpoint
java.lang.String s3endpoint()
HTTP protocol endpoint.
-
s3Client
software.amazon.awssdk.services.s3.S3Client s3Client()
-
icebergProperties
java.util.Map<java.lang.String,java.lang.String> icebergProperties()
Properties needed by Apache Iceberg to access this instance.
-
hadoopConfiguration
org.apache.hadoop.conf.Configuration hadoopConfiguration()
Properties needed by Apache Hadoop to access this instance.
-
s3BucketUri
java.net.URI s3BucketUri(java.lang.String path)
S3 scheme URI including the bucket to access the given path.
-
s3put
default void s3put(java.lang.String key, software.amazon.awssdk.core.sync.RequestBody body)Convenience method to put an object into S3.
-
-