public class ParquetSplitReaderUtil extends Object
ColumnReader
.Constructor and Description |
---|
ParquetSplitReaderUtil() |
Modifier and Type | Method and Description |
---|---|
static List<ParquetField> |
buildFieldsList(List<DataField> children,
List<String> fieldNames,
org.apache.parquet.io.MessageColumnIO columnIO) |
static ColumnReader |
createColumnReader(DataType fieldType,
org.apache.parquet.schema.Type type,
List<org.apache.parquet.column.ColumnDescriptor> columnDescriptors,
org.apache.parquet.column.page.PageReadStore pages,
ParquetField field,
int depth) |
static WritableColumnVector |
createWritableColumnVector(int batchSize,
DataType fieldType,
org.apache.parquet.schema.Type type,
List<org.apache.parquet.column.ColumnDescriptor> columnDescriptors,
int depth) |
static org.apache.parquet.io.ColumnIO |
getArrayElementColumn(org.apache.parquet.io.ColumnIO columnIO) |
static org.apache.parquet.io.GroupColumnIO |
getMapKeyValueColumn(org.apache.parquet.io.GroupColumnIO groupColumnIO) |
static org.apache.parquet.io.ColumnIO |
lookupColumnByName(org.apache.parquet.io.GroupColumnIO groupColumnIO,
String columnName)
Parquet's column names are case in sensitive.
|
public static ColumnReader createColumnReader(DataType fieldType, org.apache.parquet.schema.Type type, List<org.apache.parquet.column.ColumnDescriptor> columnDescriptors, org.apache.parquet.column.page.PageReadStore pages, ParquetField field, int depth) throws IOException
IOException
public static WritableColumnVector createWritableColumnVector(int batchSize, DataType fieldType, org.apache.parquet.schema.Type type, List<org.apache.parquet.column.ColumnDescriptor> columnDescriptors, int depth)
public static List<ParquetField> buildFieldsList(List<DataField> children, List<String> fieldNames, org.apache.parquet.io.MessageColumnIO columnIO)
public static org.apache.parquet.io.ColumnIO lookupColumnByName(org.apache.parquet.io.GroupColumnIO groupColumnIO, String columnName)
public static org.apache.parquet.io.GroupColumnIO getMapKeyValueColumn(org.apache.parquet.io.GroupColumnIO groupColumnIO)
public static org.apache.parquet.io.ColumnIO getArrayElementColumn(org.apache.parquet.io.ColumnIO columnIO)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.