Package org.apache.parquet.hadoop.util
Class CompressionConverter.TransParquetFileReader
- java.lang.Object
-
- org.apache.parquet.hadoop.ParquetFileReader
-
- org.apache.parquet.hadoop.util.CompressionConverter.TransParquetFileReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- CompressionConverter
public static final class CompressionConverter.TransParquetFileReader extends ParquetFileReader
-
-
Field Summary
-
Fields inherited from class org.apache.parquet.hadoop.ParquetFileReader
f, PARQUET_READ_PARALLELISM
-
-
Constructor Summary
Constructors Constructor Description TransParquetFileReader(InputFile file, ParquetReadOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
blockRead(byte[] data, int start, int len)
long
getPos()
SeekableInputStream
getStream()
PageHeader
readPageHeader()
void
setStreamPosition(long newPos)
-
Methods inherited from class org.apache.parquet.hadoop.ParquetFileReader
appendTo, close, getBloomFilterDataReader, getDictionaryReader, getFile, getFileMetaData, getFilteredRecordCount, getFooter, getNextDictionaryReader, getPath, getRecordCount, getRowGroups, open, open, open, open, open, readAllFootersInParallel, readAllFootersInParallel, readAllFootersInParallel, readAllFootersInParallel, readAllFootersInParallelUsingSummaryFiles, readAllFootersInParallelUsingSummaryFiles, readBloomFilter, readColumnIndex, readFooter, readFooter, readFooter, readFooter, readFooter, readFooters, readFooters, readFooters, readNextFilteredRowGroup, readNextRowGroup, readOffsetIndex, readSummaryFile, setRequestedSchema, skipNextRowGroup
-
-
-
-
Constructor Detail
-
TransParquetFileReader
public TransParquetFileReader(InputFile file, ParquetReadOptions options) throws IOException
- Throws:
IOException
-
-
Method Detail
-
setStreamPosition
public void setStreamPosition(long newPos) throws IOException
- Throws:
IOException
-
blockRead
public void blockRead(byte[] data, int start, int len) throws IOException
- Throws:
IOException
-
readPageHeader
public PageHeader readPageHeader() throws IOException
- Throws:
IOException
-
getPos
public long getPos() throws IOException
- Throws:
IOException
-
getStream
public SeekableInputStream getStream()
-
-