Class NIOInputFile
java.lang.Object
edu.stanford.slac.archiverappliance.plain.parquet.NIOInputFile
- All Implemented Interfaces:
org.apache.parquet.io.InputFile
An
InputFile implementation that only uses
java.nio.* interfaces for I/O operations. The LocalInputFile implementation in
upstream parquet-mr currently falls back to the old-school java file I/O APIs
(via Path#toFile) which won't work with nio remote FileSystems such as an S3
FileSystem implementation.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NIOInputFile
-
-
Method Details
-
getLength
- Specified by:
getLengthin interfaceorg.apache.parquet.io.InputFile- Throws:
IOException
-
newStream
- Specified by:
newStreamin interfaceorg.apache.parquet.io.InputFile- Throws:
IOException
-