public class ParquetUtil extends Object
| 构造器和说明 |
|---|
ParquetUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.paimon.utils.Pair<Map<String,org.apache.parquet.column.statistics.Statistics<?>>,org.apache.paimon.format.SimpleStatsExtractor.FileInfo> |
extractColumnStats(org.apache.paimon.fs.FileIO fileIO,
org.apache.paimon.fs.Path path)
Extract stats from specified Parquet files path.
|
static ParquetFileReader |
getParquetReader(org.apache.paimon.fs.FileIO fileIO,
org.apache.paimon.fs.Path path)
Generate
ParquetFileReader instance to read the Parquet files at the given path. |
public static org.apache.paimon.utils.Pair<Map<String,org.apache.parquet.column.statistics.Statistics<?>>,org.apache.paimon.format.SimpleStatsExtractor.FileInfo> extractColumnStats(org.apache.paimon.fs.FileIO fileIO, org.apache.paimon.fs.Path path) throws IOException
path - the path of parquet files to be readIOExceptionpublic static ParquetFileReader getParquetReader(org.apache.paimon.fs.FileIO fileIO, org.apache.paimon.fs.Path path) throws IOException
ParquetFileReader instance to read the Parquet files at the given path.path - the path of parquet files to be readIOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.