public class ParquetUtil extends Object
| Constructor and Description |
|---|
ParquetUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Pair<Map<String,org.apache.parquet.column.statistics.Statistics<?>>,SimpleStatsExtractor.FileInfo> |
extractColumnStats(FileIO fileIO,
Path path,
long length)
Extract stats from specified Parquet file path.
|
static ParquetFileReader |
getParquetReader(FileIO fileIO,
Path path,
long length)
Generate
ParquetFileReader instance to read the Parquet file at the given path. |
public static Pair<Map<String,org.apache.parquet.column.statistics.Statistics<?>>,SimpleStatsExtractor.FileInfo> extractColumnStats(FileIO fileIO, Path path, long length) throws IOException
path - the path of parquet file to be readlength - the length of parquet file to be readIOExceptionpublic static ParquetFileReader getParquetReader(FileIO fileIO, Path path, long length) throws IOException
ParquetFileReader instance to read the Parquet file at the given path.path - the path of parquet file to be readlength - the length of parquet file to be readIOExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.