Package | Description |
---|---|
org.apache.parquet.format |
Modifier and Type | Field and Description |
---|---|
List<SchemaElement> |
FileMetaData.schema
Parquet schema for this file.
|
Modifier and Type | Method and Description |
---|---|
SchemaElement |
SchemaElement.deepCopy() |
SchemaElement |
SchemaElement.setConverted_type(ConvertedType converted_type)
DEPRECATED: When the schema is the result of a conversion from another model.
|
SchemaElement |
SchemaElement.setField_id(int field_id)
When the original schema supports field ids, this will save the
original field id in the parquet schema
|
SchemaElement |
SchemaElement.setLogicalType(LogicalType logicalType)
The logical type of this SchemaElement
LogicalType replaces ConvertedType, but ConvertedType is still required
for some logical types to ensure forward-compatibility in format v1.
|
SchemaElement |
SchemaElement.setName(String name)
Name of the field in the schema
|
SchemaElement |
SchemaElement.setNum_children(int num_children)
Nested fields.
|
SchemaElement |
SchemaElement.setPrecision(int precision) |
SchemaElement |
SchemaElement.setRepetition_type(FieldRepetitionType repetition_type)
repetition of the field.
|
SchemaElement |
SchemaElement.setScale(int scale)
DEPRECATED: Used when this column contains decimal data.
|
SchemaElement |
SchemaElement.setType_length(int type_length)
If type is FIXED_LEN_BYTE_ARRAY, this is the byte length of the vales.
|
SchemaElement |
SchemaElement.setType(Type type)
Data type for this field.
|
Modifier and Type | Method and Description |
---|---|
List<SchemaElement> |
FileMetaData.getSchema()
Parquet schema for this file.
|
Iterator<SchemaElement> |
FileMetaData.getSchemaIterator() |
Modifier and Type | Method and Description |
---|---|
void |
FileMetaData.addToSchema(SchemaElement elem) |
int |
SchemaElement.compareTo(SchemaElement other) |
boolean |
SchemaElement.equals(SchemaElement that) |
Modifier and Type | Method and Description |
---|---|
FileMetaData |
FileMetaData.setSchema(List<SchemaElement> schema)
Parquet schema for this file.
|
abstract void |
Util.FileMetaDataConsumer.setSchema(List<SchemaElement> schema) |
void |
Util.DefaultFileMetaDataConsumer.setSchema(List<SchemaElement> schema) |
Constructor and Description |
---|
SchemaElement(SchemaElement other)
Performs a deep copy on other.
|
Constructor and Description |
---|
FileMetaData(int version,
List<SchemaElement> schema,
long num_rows,
List<RowGroup> row_groups) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.