Class ParquetTypeHelper
java.lang.Object
org.apache.drill.exec.store.parquet.ParquetTypeHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.parquet.schema.DecimalMetadata
static int
getLengthForMinorType
(TypeProtos.MinorType minorType) static int
getMaxPrecisionForPrimitiveType
(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type) static org.apache.parquet.schema.OriginalType
getOriginalTypeForMinorType
(TypeProtos.MinorType minorType) static org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName
static org.apache.parquet.schema.Type.Repetition
getRepetitionForDataMode
(TypeProtos.DataMode dataMode)
-
Constructor Details
-
ParquetTypeHelper
public ParquetTypeHelper()
-
-
Method Details
-
getPrimitiveTypeNameForMinorType
public static org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName getPrimitiveTypeNameForMinorType(TypeProtos.MinorType minorType) -
getRepetitionForDataMode
public static org.apache.parquet.schema.Type.Repetition getRepetitionForDataMode(TypeProtos.DataMode dataMode) -
getOriginalTypeForMinorType
public static org.apache.parquet.schema.OriginalType getOriginalTypeForMinorType(TypeProtos.MinorType minorType) -
getDecimalMetadataForField
public static org.apache.parquet.schema.DecimalMetadata getDecimalMetadataForField(MaterializedField field) -
getLengthForMinorType
-
getMaxPrecisionForPrimitiveType
public static int getMaxPrecisionForPrimitiveType(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type)
-