public class ParquetSplitReaderUtil extends Object
ParquetColumnarRowSplitReader
.Constructor and Description |
---|
ParquetSplitReaderUtil() |
Modifier and Type | Method and Description |
---|---|
static ColumnReader |
createColumnReader(boolean isUtcTimestamp,
LogicalType fieldType,
org.apache.parquet.schema.Type type,
List<org.apache.parquet.column.ColumnDescriptor> columnDescriptors,
org.apache.parquet.column.page.PageReadStore pages,
int depth) |
static ColumnVector |
createVectorFromConstant(LogicalType type,
Object value,
int batchSize) |
static WritableColumnVector |
createWritableColumnVector(int batchSize,
LogicalType fieldType,
org.apache.parquet.schema.Type type,
List<org.apache.parquet.column.ColumnDescriptor> columnDescriptors,
int depth) |
static ParquetColumnarRowSplitReader |
genPartColumnarRowReader(boolean utcTimestamp,
boolean caseSensitive,
org.apache.hadoop.conf.Configuration conf,
String[] fullFieldNames,
DataType[] fullFieldTypes,
Map<String,Object> partitionSpec,
int[] selectedFields,
int batchSize,
Path path,
long splitStart,
long splitLength)
Util for generating partitioned
ParquetColumnarRowSplitReader . |
public static ParquetColumnarRowSplitReader genPartColumnarRowReader(boolean utcTimestamp, boolean caseSensitive, org.apache.hadoop.conf.Configuration conf, String[] fullFieldNames, DataType[] fullFieldTypes, Map<String,Object> partitionSpec, int[] selectedFields, int batchSize, Path path, long splitStart, long splitLength) throws IOException
ParquetColumnarRowSplitReader
.IOException
public static ColumnVector createVectorFromConstant(LogicalType type, Object value, int batchSize)
public static ColumnReader createColumnReader(boolean isUtcTimestamp, LogicalType fieldType, org.apache.parquet.schema.Type type, List<org.apache.parquet.column.ColumnDescriptor> columnDescriptors, org.apache.parquet.column.page.PageReadStore pages, int depth) throws IOException
IOException
public static WritableColumnVector createWritableColumnVector(int batchSize, LogicalType fieldType, org.apache.parquet.schema.Type type, List<org.apache.parquet.column.ColumnDescriptor> columnDescriptors, int depth)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.