public interface InputFile
SeekableInputStream instances.
This class is based on Parquet's InputFile.
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists()
Checks whether the file exists.
|
long |
getLength()
Returns the total length of the file, in bytes
|
java.lang.String |
location()
The fully-qualified location of the input file as a String.
|
SeekableInputStream |
newStream()
Opens a new
SeekableInputStream for the underlying data file |
long getLength()
RuntimeIOException - If the implementation throws an IOExceptionSeekableInputStream newStream()
SeekableInputStream for the underlying data fileNotFoundException - If the file does not existRuntimeIOException - If the implementation throws an IOExceptionjava.lang.String location()
boolean exists()