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,
DataField field) |
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, DataField field)
public static int computeMinBytesForDecimalPrecision(int precision)
public static boolean is32BitDecimal(int precision)
public static boolean is64BitDecimal(int precision)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.