public interface InputFile
InputFile is an interface with the methods needed by Parquet to read
data files using SeekableInputStream instances.| Modifier and Type | Method and Description |
|---|---|
long |
getLength()
Returns the total length of the file, in bytes.
|
SeekableInputStream |
newStream()
Opens a new
SeekableInputStream for the underlying
data file. |
long getLength()
throws IOException
IOException - if the length cannot be determinedSeekableInputStream newStream() throws IOException
SeekableInputStream for the underlying
data file.IOException - if the stream cannot be opened.Copyright © 2018 The Apache Software Foundation. All rights reserved.