Package org.apache.iceberg.inmemory
Class InMemoryInputFile
- java.lang.Object
 - 
- org.apache.iceberg.inmemory.InMemoryInputFile
 
 
- 
- 
Constructor Summary
Constructors Constructor Description InMemoryInputFile(byte[] contents)InMemoryInputFile(java.lang.String location, byte[] contents) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists()Checks whether the file exists.longgetLength()Returns the total length of the file, in bytesjava.lang.Stringlocation()The fully-qualified location of the input file as a String.SeekableInputStreamnewStream()Opens a newSeekableInputStreamfor the underlying data file 
 - 
 
- 
- 
Method Detail
- 
getLength
public long getLength()
Description copied from interface:InputFileReturns the total length of the file, in bytes 
- 
newStream
public SeekableInputStream newStream()
Description copied from interface:InputFileOpens a newSeekableInputStreamfor the underlying data file 
- 
location
public java.lang.String location()
Description copied from interface:InputFileThe fully-qualified location of the input file as a String. 
 - 
 
 -