Class ParquetTypeHelper

java.lang.Object
org.apache.drill.exec.store.parquet.ParquetTypeHelper

public class ParquetTypeHelper extends Object
  • 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

      public static int getLengthForMinorType(TypeProtos.MinorType minorType)
    • getMaxPrecisionForPrimitiveType

      public static int getMaxPrecisionForPrimitiveType(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type)