Package org.apache.parquet.arrow.schema
Class SchemaMapping
- java.lang.Object
-
- org.apache.parquet.arrow.schema.SchemaMapping
-
public class SchemaMapping extends Object
The mapping between an Arrow and a Parquet schema- See Also:
SchemaConverter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchemaMapping.ListTypeMappingmapping of a List type and standard 3-level List annotated Parquet typestatic classSchemaMapping.PrimitiveTypeMappingmapping between two primitive typesstatic classSchemaMapping.RepeatedTypeMappingmapping of a List type and repeated Parquet field (non-list annotated)static classSchemaMapping.StructTypeMappingmapping of a struct typestatic classSchemaMapping.TypeMappingMapping between an Arrow and a Parquet typesstatic interfaceSchemaMapping.TypeMappingVisitor<T>To traverse a schema mappingstatic classSchemaMapping.UnionTypeMappingmapping of a union type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.arrow.vector.types.pojo.SchemagetArrowSchema()List<SchemaMapping.TypeMapping>getChildren()org.apache.parquet.schema.MessageTypegetParquetSchema()
-
-
-
Method Detail
-
getArrowSchema
public org.apache.arrow.vector.types.pojo.Schema getArrowSchema()
-
getParquetSchema
public org.apache.parquet.schema.MessageType getParquetSchema()
-
getChildren
public List<SchemaMapping.TypeMapping> getChildren()
- Returns:
- mapping between individual fields of each of the 2 schemas (should be the same width)
-
-