public class TypeToMessageType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DECIMAL_INT32_MAX_DIGITS |
static int |
DECIMAL_INT64_MAX_DIGITS |
Constructor and Description |
---|
TypeToMessageType() |
Modifier and Type | Method and Description |
---|---|
org.apache.parquet.schema.MessageType |
convert(Schema schema,
java.lang.String name) |
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,
java.lang.String name) |
org.apache.parquet.schema.GroupType |
map(Types.MapType map,
org.apache.parquet.schema.Type.Repetition repetition,
int id,
java.lang.String name) |
org.apache.parquet.schema.Type |
primitive(Type.PrimitiveType primitive,
org.apache.parquet.schema.Type.Repetition repetition,
int id,
java.lang.String originalName) |
org.apache.parquet.schema.GroupType |
struct(Types.StructType struct,
org.apache.parquet.schema.Type.Repetition repetition,
int id,
java.lang.String name) |
public static final int DECIMAL_INT32_MAX_DIGITS
public static final int DECIMAL_INT64_MAX_DIGITS
public org.apache.parquet.schema.MessageType convert(Schema schema, java.lang.String name)
public org.apache.parquet.schema.GroupType struct(Types.StructType struct, org.apache.parquet.schema.Type.Repetition repetition, int id, java.lang.String name)
public org.apache.parquet.schema.Type field(Types.NestedField field)
public org.apache.parquet.schema.GroupType list(Types.ListType list, org.apache.parquet.schema.Type.Repetition repetition, int id, java.lang.String name)
public org.apache.parquet.schema.GroupType map(Types.MapType map, org.apache.parquet.schema.Type.Repetition repetition, int id, java.lang.String name)
public org.apache.parquet.schema.Type primitive(Type.PrimitiveType primitive, org.apache.parquet.schema.Type.Repetition repetition, int id, java.lang.String originalName)