Class IcebergS3ObjectMetadata
- java.lang.Object
-
- net.snowflake.ingest.streaming.internal.fileTransferAgent.IcebergS3ObjectMetadata
-
- All Implemented Interfaces:
net.snowflake.client.jdbc.cloud.storage.StorageObjectMetadata
public class IcebergS3ObjectMetadata extends Object implements net.snowflake.client.jdbc.cloud.storage.StorageObjectMetadata
s3 implementation of platform independent StorageObjectMetadata interface, wraps an S3 ObjectMetadata classIt only supports a limited set of metadata properties currently used by the JDBC client
- Author:
- lgiakoumakis
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUserMetadata(String key, String value)
String
getContentEncoding()
long
getContentLength()
Map<String,String>
getUserMetadata()
void
setContentEncoding(String encoding)
void
setContentLength(long contentLength)
-
-
-
Method Detail
-
getUserMetadata
public Map<String,String> getUserMetadata()
- Specified by:
getUserMetadata
in interfacenet.snowflake.client.jdbc.cloud.storage.StorageObjectMetadata
-
getContentLength
public long getContentLength()
- Specified by:
getContentLength
in interfacenet.snowflake.client.jdbc.cloud.storage.StorageObjectMetadata
-
setContentLength
public void setContentLength(long contentLength)
- Specified by:
setContentLength
in interfacenet.snowflake.client.jdbc.cloud.storage.StorageObjectMetadata
-
addUserMetadata
public void addUserMetadata(String key, String value)
- Specified by:
addUserMetadata
in interfacenet.snowflake.client.jdbc.cloud.storage.StorageObjectMetadata
-
setContentEncoding
public void setContentEncoding(String encoding)
- Specified by:
setContentEncoding
in interfacenet.snowflake.client.jdbc.cloud.storage.StorageObjectMetadata
-
getContentEncoding
public String getContentEncoding()
- Specified by:
getContentEncoding
in interfacenet.snowflake.client.jdbc.cloud.storage.StorageObjectMetadata
-
-