@InterfaceAudience.Private @InterfaceStability.Evolving public class S3ObjectAttributes extends Object
S3AInputStream
and elsewhere.
as a way to reduce parameters being passed
to the constructor of such class,
and elsewhere to be a source-neutral representation of a file status.Constructor and Description |
---|
S3ObjectAttributes(String bucket,
org.apache.hadoop.fs.Path path,
String key,
S3AEncryptionMethods serverSideEncryptionAlgorithm,
String serverSideEncryptionKey,
String eTag,
String versionId,
long len)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucket() |
String |
getETag() |
String |
getKey() |
long |
getLen() |
org.apache.hadoop.fs.Path |
getPath() |
S3AEncryptionMethods |
getServerSideEncryptionAlgorithm() |
String |
getServerSideEncryptionKey() |
String |
getVersionId() |
public S3ObjectAttributes(String bucket, org.apache.hadoop.fs.Path path, String key, S3AEncryptionMethods serverSideEncryptionAlgorithm, String serverSideEncryptionKey, String eTag, String versionId, long len)
bucket
- s3 bucketpath
- pathkey
- object keyserverSideEncryptionAlgorithm
- current encryption algorithmserverSideEncryptionKey
- any server side encryption key?len
- object lengtheTag
- optional etagversionId
- optional version idpublic String getBucket()
public String getKey()
public S3AEncryptionMethods getServerSideEncryptionAlgorithm()
public String getServerSideEncryptionKey()
public String getETag()
public String getVersionId()
public long getLen()
public org.apache.hadoop.fs.Path getPath()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.