public class ParquetSchemaConverter extends Object
Constructor and Description |
---|
ParquetSchemaConverter() |
Modifier and Type | Method and Description |
---|---|
static int |
computeMinBytesForDecimalPrecision(int precision) |
static org.apache.parquet.schema.MessageType |
convertToParquetMessageType(String name,
RowType rowType) |
static org.apache.parquet.schema.Type |
convertToParquetType(String name,
LogicalType type) |
static boolean |
is32BitDecimal(int precision) |
static boolean |
is64BitDecimal(int precision) |
public static org.apache.parquet.schema.MessageType convertToParquetMessageType(String name, RowType rowType)
public static org.apache.parquet.schema.Type convertToParquetType(String name, LogicalType type)
public static int computeMinBytesForDecimalPrecision(int precision)
public static boolean is32BitDecimal(int precision)
public static boolean is64BitDecimal(int precision)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.