Package org.apache.iceberg.aliyun.oss
Class OSSInputFile
- java.lang.Object
-
- org.apache.iceberg.aliyun.oss.OSSInputFile
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AliyunProperties
aliyunProperties()
com.aliyun.oss.OSS
client()
boolean
exists()
long
getLength()
Returns the total length of the file, in bytesjava.lang.String
location()
SeekableInputStream
newStream()
Opens a newSeekableInputStream
for the underlying data fileprotected com.aliyun.oss.model.SimplifiedObjectMeta
objectMetadata()
java.lang.String
toString()
OSSURI
uri()
-
-
-
Method Detail
-
getLength
public long getLength()
Description copied from interface:InputFile
Returns the total length of the file, in bytes
-
newStream
public SeekableInputStream newStream()
Description copied from interface:InputFile
Opens a newSeekableInputStream
for the underlying data file
-
location
public java.lang.String location()
-
client
public com.aliyun.oss.OSS client()
-
uri
public OSSURI uri()
-
aliyunProperties
public AliyunProperties aliyunProperties()
-
exists
public boolean exists()
-
objectMetadata
protected com.aliyun.oss.model.SimplifiedObjectMeta objectMetadata()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-