| Package | Description |
|---|---|
| org.apache.parquet.example.data | |
| org.apache.parquet.example.data.simple | |
| org.apache.parquet.schema |
| Modifier and Type | Method and Description |
|---|---|
abstract GroupType |
GroupValueSource.getType() |
| Constructor and Description |
|---|
GroupWriter(RecordConsumer recordConsumer,
GroupType schema) |
| Modifier and Type | Method and Description |
|---|---|
GroupType |
SimpleGroup.getType() |
| Constructor and Description |
|---|
SimpleGroup(GroupType schema) |
| Modifier and Type | Class and Description |
|---|---|
class |
MessageType
The root of a schema
|
| Modifier and Type | Method and Description |
|---|---|
GroupType |
Type.asGroupType() |
protected GroupType |
Types.BaseGroupBuilder.build(String name) |
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) |
static GroupType |
ConversionPatterns.stringKeyMapType(Type.Repetition repetition,
String alias,
String mapAlias,
Type valueType) |
static GroupType |
ConversionPatterns.stringKeyMapType(Type.Repetition repetition,
String alias,
Type valueType) |
GroupType |
GroupType.withId(int id) |
GroupType |
GroupType.withNewFields(List<Type> newFields) |
GroupType |
GroupType.withNewFields(Type... newFields) |
| Modifier and Type | Method and Description |
|---|---|
static Types.GroupBuilder<GroupType> |
Types.buildGroup(Type.Repetition repetition) |
static Types.ListBuilder<GroupType> |
Types.list(Type.Repetition repetition) |
static Types.MapBuilder<GroupType> |
Types.map(Type.Repetition repetition) |
static Types.GroupBuilder<GroupType> |
Types.optionalGroup()
Returns a builder to construct an optional
GroupType. |
static Types.ListBuilder<GroupType> |
Types.optionalList() |
static Types.MapBuilder<GroupType> |
Types.optionalMap() |
static Types.GroupBuilder<GroupType> |
Types.repeatedGroup()
Returns a builder to construct a repeated
GroupType. |
static Types.GroupBuilder<GroupType> |
Types.requiredGroup()
Returns a builder to construct a required
GroupType. |
static Types.ListBuilder<GroupType> |
Types.requiredList() |
static Types.MapBuilder<GroupType> |
Types.requiredMap() |
| Modifier and Type | Method and Description |
|---|---|
static void |
TypeUtil.checkValidWriteSchema(GroupType schema) |
T |
TypeConverter.convertGroupType(List<GroupType> path,
GroupType groupType,
List<T> children) |
void |
TypeVisitor.visit(GroupType groupType) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
PrimitiveType.convert(List<GroupType> path,
TypeConverter<T> converter) |
protected <T> List<T> |
GroupType.convertChildren(List<GroupType> path,
TypeConverter<T> converter) |
T |
TypeConverter.convertGroupType(List<GroupType> path,
GroupType groupType,
List<T> children) |
T |
TypeConverter.convertPrimitiveType(List<GroupType> path,
PrimitiveType primitiveType) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.