public class FileInputFile extends Object implements org.apache.parquet.io.InputFile
Potentially useful as a replacement for HadoopInputFile, but we still can't get rid of classes from hadoop-common, since Path is required for ParquetWriter implementations.
Constructor and Description |
---|
FileInputFile(File file)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
org.apache.parquet.io.SeekableInputStream |
newStream() |
public FileInputFile(File file)
file
- filepublic long getLength()
getLength
in interface org.apache.parquet.io.InputFile
public org.apache.parquet.io.SeekableInputStream newStream() throws IOException
newStream
in interface org.apache.parquet.io.InputFile
IOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.