Package org.apache.iceberg.parquet
Class TypeToMessageType
java.lang.Object
org.apache.iceberg.parquet.TypeToMessageType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.parquet.schema.MessageType
org.apache.parquet.schema.Type
field
(Types.NestedField field) org.apache.parquet.schema.GroupType
list
(Types.ListType list, org.apache.parquet.schema.Type.Repetition repetition, int id, String name) org.apache.parquet.schema.GroupType
map
(Types.MapType map, org.apache.parquet.schema.Type.Repetition repetition, int id, String name) org.apache.parquet.schema.Type
primitive
(Type.PrimitiveType primitive, org.apache.parquet.schema.Type.Repetition repetition, int id, String originalName) org.apache.parquet.schema.GroupType
struct
(Types.StructType struct, org.apache.parquet.schema.Type.Repetition repetition, int id, String name)
-
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
-
struct
public org.apache.parquet.schema.GroupType struct(Types.StructType struct, org.apache.parquet.schema.Type.Repetition repetition, int id, String name) -
field
-
list
public org.apache.parquet.schema.GroupType list(Types.ListType list, org.apache.parquet.schema.Type.Repetition repetition, int id, String name) -
map
public org.apache.parquet.schema.GroupType map(Types.MapType map, org.apache.parquet.schema.Type.Repetition repetition, int id, String name) -
primitive
public org.apache.parquet.schema.Type primitive(Type.PrimitiveType primitive, org.apache.parquet.schema.Type.Repetition repetition, int id, String originalName)
-