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)
When the schema is the result of a conversion from another model
Used to record the original type to help with cross conversion.
|
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)
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.
|
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 © 2015. All rights reserved.