Package org.apache.iceberg.hadoop
Class HadoopStreams
java.lang.Object
org.apache.iceberg.hadoop.HadoopStreams
Convenience methods to get Parquet abstractions for Hadoop data streams.
This class is based on Parquet's HadoopStreams.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.fs.FSInputStream
wrap
(SeekableInputStream stream) Wraps aSeekableInputStream
in aFSDataOutputStream
implementation for readers.
-
Method Details
-
wrap
Wraps aSeekableInputStream
in aFSDataOutputStream
implementation for readers.- Parameters:
stream
- a SeekableInputStream- Returns:
- a FSDataOutputStream
-