Package org.apache.iceberg.gcp.gcs
Class GCSInputFile
- java.lang.Object
- 
- org.apache.iceberg.gcp.gcs.GCSInputFile
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists()static GCSInputFilefromLocation(java.lang.String location, com.google.cloud.storage.Storage storage, GCPProperties gcpProperties)protected GCPPropertiesgcpProperties()protected com.google.cloud.storage.BlobgetBlob()longgetLength()Returns the total length of the file, in bytesjava.lang.Stringlocation()SeekableInputStreamnewStream()Opens a newSeekableInputStreamfor the underlying data filejava.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
fromLocationpublic static GCSInputFile fromLocation(java.lang.String location, com.google.cloud.storage.Storage storage, GCPProperties gcpProperties) 
 - 
getLengthpublic long getLength() Description copied from interface:InputFileReturns the total length of the file, in bytes
 - 
newStreampublic SeekableInputStream newStream() Description copied from interface:InputFileOpens a newSeekableInputStreamfor the underlying data file
 - 
locationpublic java.lang.String location() 
 - 
gcpPropertiesprotected GCPProperties gcpProperties() 
 - 
existspublic boolean exists() 
 - 
getBlobprotected com.google.cloud.storage.Blob getBlob() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-