Package org.apache.hadoop.fs.s3a
Class S3ObjectAttributes
java.lang.Object
org.apache.hadoop.fs.s3a.S3ObjectAttributes
This class holds attributes of an object independent of the
file status type.
It is used in
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 Summary
ConstructorsConstructorDescriptionS3ObjectAttributes(String bucket, org.apache.hadoop.fs.Path path, String key, S3AEncryptionMethods serverSideEncryptionAlgorithm, String serverSideEncryptionKey, String eTag, String versionId, long len) Constructor. -
Method Summary
-
Constructor Details
-
S3ObjectAttributes
public S3ObjectAttributes(String bucket, org.apache.hadoop.fs.Path path, String key, S3AEncryptionMethods serverSideEncryptionAlgorithm, String serverSideEncryptionKey, String eTag, String versionId, long len) Constructor.- Parameters:
bucket- s3 bucketpath- pathkey- object keyserverSideEncryptionAlgorithm- current encryption algorithmserverSideEncryptionKey- any server side encryption key?len- object lengtheTag- optional etagversionId- optional version id
-
-
Method Details
-
getBucket
-
getKey
-
getServerSideEncryptionAlgorithm
-
getServerSideEncryptionKey
-
getETag
-
getVersionId
-
getLen
public long getLen() -
getPath
public org.apache.hadoop.fs.Path getPath()
-