Package org.apache.iceberg.inmemory
Class InMemoryInputFile
java.lang.Object
org.apache.iceberg.inmemory.InMemoryInputFile
- All Implemented Interfaces:
- InputFile
- 
Constructor SummaryConstructorsConstructorDescriptionInMemoryInputFile(byte[] contents) InMemoryInputFile(String location, byte[] contents) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanexists()Checks whether the file exists.longReturns the total length of the file, in byteslocation()The fully-qualified location of the input file as a String.Opens a newSeekableInputStreamfor the underlying data file
- 
Constructor Details- 
InMemoryInputFilepublic InMemoryInputFile(byte[] contents) 
- 
InMemoryInputFile
 
- 
- 
Method Details- 
getLengthpublic long getLength()Description copied from interface:InputFileReturns the total length of the file, in bytes
- 
newStreamDescription copied from interface:InputFileOpens a newSeekableInputStreamfor the underlying data file
- 
locationDescription copied from interface:InputFileThe fully-qualified location of the input file as a String.
- 
existspublic boolean exists()Description copied from interface:InputFileChecks whether the file exists.
 
-