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 Deprecated Methods Modifier and Type Method Description AliyunPropertiesaliyunProperties()com.aliyun.oss.OSSclient()booleanexists()longgetLength()Deprecated.Returns the total length of the file, in bytesjava.lang.Stringlocation()protected MetricsContextmetrics()SeekableInputStreamnewStream()Deprecated.Opens a newSeekableInputStreamfor the underlying data fileprotected com.aliyun.oss.model.SimplifiedObjectMetaobjectMetadata()java.lang.StringtoString()OSSURIuri()
-
-
-
Method Detail
-
getLength
public long getLength()
Deprecated.Description copied from interface:InputFileReturns the total length of the file, in bytes
-
newStream
public SeekableInputStream newStream()
Deprecated.Description copied from interface:InputFileOpens a newSeekableInputStreamfor 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()
-
metrics
protected MetricsContext metrics()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-