Class TypeToMessageType

java.lang.Object
org.apache.iceberg.parquet.TypeToMessageType

public class TypeToMessageType extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.parquet.schema.MessageType
    convert(org.apache.iceberg.Schema schema, String name)
     
    org.apache.parquet.schema.Type
    field(org.apache.iceberg.types.Types.NestedField field)
     
    org.apache.parquet.schema.GroupType
    list(org.apache.iceberg.types.Types.ListType list, org.apache.parquet.schema.Type.Repetition repetition, int id, String name)
     
    org.apache.parquet.schema.GroupType
    map(org.apache.iceberg.types.Types.MapType map, org.apache.parquet.schema.Type.Repetition repetition, int id, String name)
     
    org.apache.parquet.schema.Type
    primitive(org.apache.iceberg.types.Type.PrimitiveType primitive, org.apache.parquet.schema.Type.Repetition repetition, int id, String originalName)
     
    org.apache.parquet.schema.GroupType
    struct(org.apache.iceberg.types.Types.StructType struct, org.apache.parquet.schema.Type.Repetition repetition, int id, String name)
     
    org.apache.parquet.schema.Type
    variant(org.apache.parquet.schema.Type.Repetition repetition, int id, String originalName)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DECIMAL_INT32_MAX_DIGITS

      public static final int DECIMAL_INT32_MAX_DIGITS
      See Also:
    • DECIMAL_INT64_MAX_DIGITS

      public static final int DECIMAL_INT64_MAX_DIGITS
      See Also:
  • Constructor Details

    • TypeToMessageType

      public TypeToMessageType()
  • Method Details

    • convert

      public org.apache.parquet.schema.MessageType convert(org.apache.iceberg.Schema schema, String name)
    • struct

      public org.apache.parquet.schema.GroupType struct(org.apache.iceberg.types.Types.StructType struct, org.apache.parquet.schema.Type.Repetition repetition, int id, String name)
    • field

      public org.apache.parquet.schema.Type field(org.apache.iceberg.types.Types.NestedField field)
    • list

      public org.apache.parquet.schema.GroupType list(org.apache.iceberg.types.Types.ListType list, org.apache.parquet.schema.Type.Repetition repetition, int id, String name)
    • map

      public org.apache.parquet.schema.GroupType map(org.apache.iceberg.types.Types.MapType map, org.apache.parquet.schema.Type.Repetition repetition, int id, String name)
    • variant

      public org.apache.parquet.schema.Type variant(org.apache.parquet.schema.Type.Repetition repetition, int id, String originalName)
    • primitive

      public org.apache.parquet.schema.Type primitive(org.apache.iceberg.types.Type.PrimitiveType primitive, org.apache.parquet.schema.Type.Repetition repetition, int id, String originalName)