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