Package org.apache.iceberg.parquet
Class TypeToMessageType
- java.lang.Object
-
- org.apache.iceberg.parquet.TypeToMessageType
-
public class TypeToMessageType extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intDECIMAL_INT32_MAX_DIGITSstatic intDECIMAL_INT64_MAX_DIGITS
-
Constructor Summary
Constructors Constructor Description TypeToMessageType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.parquet.schema.MessageTypeconvert(org.apache.iceberg.Schema schema, java.lang.String name)org.apache.parquet.schema.Typefield(org.apache.iceberg.types.Types.NestedField field)org.apache.parquet.schema.GroupTypelist(org.apache.iceberg.types.Types.ListType list, org.apache.parquet.schema.Type.Repetition repetition, int id, java.lang.String name)org.apache.parquet.schema.GroupTypemap(org.apache.iceberg.types.Types.MapType map, org.apache.parquet.schema.Type.Repetition repetition, int id, java.lang.String name)org.apache.parquet.schema.Typeprimitive(org.apache.iceberg.types.Type.PrimitiveType primitive, org.apache.parquet.schema.Type.Repetition repetition, int id, java.lang.String originalName)org.apache.parquet.schema.GroupTypestruct(org.apache.iceberg.types.Types.StructType struct, org.apache.parquet.schema.Type.Repetition repetition, int id, java.lang.String name)
-
-
-
Field Detail
-
DECIMAL_INT32_MAX_DIGITS
public static final int DECIMAL_INT32_MAX_DIGITS
- See Also:
- Constant Field Values
-
DECIMAL_INT64_MAX_DIGITS
public static final int DECIMAL_INT64_MAX_DIGITS
- See Also:
- Constant Field Values
-
-
Method Detail
-
convert
public org.apache.parquet.schema.MessageType convert(org.apache.iceberg.Schema schema, java.lang.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, java.lang.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, java.lang.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, java.lang.String name)
-
primitive
public org.apache.parquet.schema.Type primitive(org.apache.iceberg.types.Type.PrimitiveType primitive, org.apache.parquet.schema.Type.Repetition repetition, int id, java.lang.String originalName)
-
-