| Package | Description |
|---|---|
| org.apache.parquet.column.statistics | |
| org.apache.parquet.io | |
| org.apache.parquet.schema |
| Modifier and Type | Method and Description |
|---|---|
static Statistics<?> |
Statistics.createStats(Type type)
Creates an empty
Statistics instance for the specified type to be
used for reading/writing the new min/max statistics used in the V2 format. |
| Modifier and Type | Method and Description |
|---|---|
Type |
ColumnIO.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
GroupType
Represents a group type: a list of fields
|
class |
MessageType
The root of a schema
|
class |
PrimitiveType
Representation of a Primitive type
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Type> |
Types.BaseGroupBuilder.fields |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Type |
Types.Builder.build(String name) |
protected Type |
Types.BaseMapBuilder.build(String name) |
protected Type |
Types.BaseListBuilder.build(String name) |
Type |
GroupType.getType(int index) |
Type |
MessageType.getType(String... path) |
Type |
GroupType.getType(String fieldName) |
protected abstract Type |
Type.getType(String[] path,
int i) |
protected Type |
GroupType.getType(String[] path,
int depth) |
Type |
PrimitiveType.getType(String[] path,
int i) |
protected abstract Type |
Type.union(Type toMerge) |
protected Type |
GroupType.union(Type toMerge) |
protected Type |
PrimitiveType.union(Type toMerge) |
protected abstract Type |
Type.union(Type toMerge,
boolean strict) |
protected Type |
GroupType.union(Type toMerge,
boolean strict) |
protected Type |
PrimitiveType.union(Type toMerge,
boolean strict) |
abstract Type |
Type.withId(int id) |
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
GroupType.getFields() |
| Modifier and Type | Method and Description |
|---|---|
THIS |
Types.BaseGroupBuilder.addField(Type type)
Adds
type as a sub-field to the group configured by this builder. |
THIS |
Types.BaseGroupBuilder.addFields(Type... types)
Adds
types as sub-fields of the group configured by this builder. |
void |
MessageType.checkContains(Type subType) |
Types.BaseListBuilder<P,THIS> |
Types.BaseListBuilder.element(Type type) |
protected boolean |
Type.equals(Type other) |
protected boolean |
GroupType.equals(Type otherType) |
protected boolean |
PrimitiveType.equals(Type other) |
THIS |
Types.BaseMapBuilder.key(Type type) |
static GroupType |
ConversionPatterns.listOfElements(Type.Repetition listRepetition,
String name,
Type elementType)
Creates a 3-level list structure annotated with LIST with elements of the
given elementType.
|
static GroupType |
ConversionPatterns.listType(Type.Repetition repetition,
String alias,
Type nestedType)
Deprecated.
use listOfElements instead
|
static GroupType |
ConversionPatterns.mapType(Type.Repetition repetition,
String alias,
String mapAlias,
Type keyType,
Type valueType) |
static GroupType |
ConversionPatterns.mapType(Type.Repetition repetition,
String alias,
Type keyType,
Type valueType) |
THIS |
Types.BaseListBuilder.setElementType(Type elementType) |
protected void |
Types.BaseMapBuilder.setKeyType(Type keyType) |
protected void |
Types.BaseMapBuilder.setValueType(Type valueType) |
static GroupType |
ConversionPatterns.stringKeyMapType(Type.Repetition repetition,
String alias,
String mapAlias,
Type valueType) |
static GroupType |
ConversionPatterns.stringKeyMapType(Type.Repetition repetition,
String alias,
Type valueType) |
protected abstract boolean |
Type.typeEquals(Type other)
Deprecated.
|
protected boolean |
GroupType.typeEquals(Type other)
Deprecated.
|
protected boolean |
PrimitiveType.typeEquals(Type other)
Deprecated.
|
protected abstract Type |
Type.union(Type toMerge) |
protected Type |
GroupType.union(Type toMerge) |
protected Type |
PrimitiveType.union(Type toMerge) |
protected abstract Type |
Type.union(Type toMerge,
boolean strict) |
protected Type |
GroupType.union(Type toMerge,
boolean strict) |
protected Type |
PrimitiveType.union(Type toMerge,
boolean strict) |
THIS |
Types.BaseMapBuilder.value(Type type) |
M |
Types.BaseMapBuilder.KeyBuilder.value(Type type) |
M |
Types.BaseMapBuilder.GroupKeyBuilder.value(Type type) |
GroupType |
GroupType.withNewFields(Type... newFields) |
| Modifier and Type | Method and Description |
|---|---|
GroupType |
GroupType.withNewFields(List<Type> newFields) |
| Constructor and Description |
|---|
GroupType(Type.Repetition repetition,
String name,
OriginalType originalType,
Type... fields)
Deprecated.
|
GroupType(Type.Repetition repetition,
String name,
Type... fields) |
MessageType(String name,
Type... fields) |
| Constructor and Description |
|---|
GroupType(Type.Repetition repetition,
String name,
List<Type> fields) |
GroupType(Type.Repetition repetition,
String name,
OriginalType originalType,
List<Type> fields)
Deprecated.
|
MessageType(String name,
List<Type> fields) |
Copyright © 2019 The Apache Software Foundation. All rights reserved.