Constructor and Description |
---|
S3InputFile(software.amazon.awssdk.services.s3.S3Client client,
org.apache.iceberg.aws.s3.S3URI uri) |
S3InputFile(software.amazon.awssdk.services.s3.S3Client client,
org.apache.iceberg.aws.s3.S3URI uri,
AwsProperties awsProperties) |
Modifier and Type | Method and Description |
---|---|
AwsProperties |
awsProperties() |
boolean |
exists()
Note: this may be stale if file was deleted since metadata is cached for size/existence checks.
|
long |
getLength()
Note: this may be stale if file was deleted since metadata is cached for size/existence checks.
|
protected software.amazon.awssdk.services.s3.model.HeadObjectResponse |
getObjectMetadata() |
java.lang.String |
location() |
SeekableInputStream |
newStream()
Opens a new
SeekableInputStream for the underlying data file |
java.lang.String |
toString() |
public S3InputFile(software.amazon.awssdk.services.s3.S3Client client, org.apache.iceberg.aws.s3.S3URI uri)
public S3InputFile(software.amazon.awssdk.services.s3.S3Client client, org.apache.iceberg.aws.s3.S3URI uri, AwsProperties awsProperties)
public long getLength()
public SeekableInputStream newStream()
InputFile
SeekableInputStream
for the underlying data filepublic java.lang.String location()
public AwsProperties awsProperties()
public boolean exists()
protected software.amazon.awssdk.services.s3.model.HeadObjectResponse getObjectMetadata() throws software.amazon.awssdk.services.s3.model.S3Exception
software.amazon.awssdk.services.s3.model.S3Exception
public java.lang.String toString()
toString
in class java.lang.Object