public abstract class ConversionPatterns extends Object
| Constructor and Description |
|---|
ConversionPatterns() |
| Modifier and Type | Method and Description |
|---|---|
static GroupType |
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 |
listType(Type.Repetition repetition,
String alias,
Type nestedType)
Deprecated.
use listOfElements instead
|
static GroupType |
mapType(Type.Repetition repetition,
String alias,
String mapAlias,
Type keyType,
Type valueType) |
static GroupType |
mapType(Type.Repetition repetition,
String alias,
Type keyType,
Type valueType) |
static GroupType |
stringKeyMapType(Type.Repetition repetition,
String alias,
String mapAlias,
Type valueType) |
static GroupType |
stringKeyMapType(Type.Repetition repetition,
String alias,
Type valueType) |
public static GroupType mapType(Type.Repetition repetition, String alias, Type keyType, Type valueType)
public static GroupType stringKeyMapType(Type.Repetition repetition, String alias, String mapAlias, Type valueType)
public static GroupType stringKeyMapType(Type.Repetition repetition, String alias, Type valueType)
public static GroupType mapType(Type.Repetition repetition, String alias, String mapAlias, Type keyType, Type valueType)
@Deprecated public static GroupType listType(Type.Repetition repetition, String alias, Type nestedType)
repetition - repetition for the listalias - name of the fieldnestedType - type of elements in the listpublic static GroupType listOfElements(Type.Repetition listRepetition, String name, Type elementType)
listRepetition - the repetition of the entire list structurename - the name of the list structure typeelementType - the type of elements contained by the listCopyright © 2024 The Apache Software Foundation. All rights reserved.