public interface AvroSchemaVisitor<T>
Schema.| 限定符和类型 | 方法和说明 |
|---|---|
default T |
primitive(org.apache.avro.Schema primitive,
org.apache.paimon.types.DataType type) |
default T |
visit(org.apache.avro.Schema schema,
org.apache.paimon.types.DataType type) |
T |
visitArray(org.apache.avro.Schema schema,
org.apache.paimon.types.DataType elementType) |
T |
visitArrayMap(org.apache.avro.Schema schema,
org.apache.paimon.types.DataType keyType,
org.apache.paimon.types.DataType valueType) |
T |
visitBigInt() |
T |
visitBoolean() |
T |
visitBytes() |
T |
visitDecimal(Integer precision,
Integer scale) |
T |
visitDouble() |
T |
visitFloat() |
T |
visitInt() |
T |
visitMap(org.apache.avro.Schema schema,
org.apache.paimon.types.DataType valueType) |
T |
visitRecord(org.apache.avro.Schema schema,
List<org.apache.paimon.types.DataField> fields) |
T |
visitSmallInt() |
T |
visitString() |
T |
visitTimestampMicros(Integer precision) |
T |
visitTimestampMillis(Integer precision) |
T |
visitTinyInt() |
T |
visitUnion(org.apache.avro.Schema schema,
org.apache.paimon.types.DataType type) |
default T visit(org.apache.avro.Schema schema, org.apache.paimon.types.DataType type)
default T primitive(org.apache.avro.Schema primitive, org.apache.paimon.types.DataType type)
T visitUnion(org.apache.avro.Schema schema, org.apache.paimon.types.DataType type)
T visitString()
T visitBytes()
T visitInt()
T visitTinyInt()
T visitSmallInt()
T visitBoolean()
T visitBigInt()
T visitFloat()
T visitDouble()
T visitArray(org.apache.avro.Schema schema, org.apache.paimon.types.DataType elementType)
T visitArrayMap(org.apache.avro.Schema schema, org.apache.paimon.types.DataType keyType, org.apache.paimon.types.DataType valueType)
T visitMap(org.apache.avro.Schema schema, org.apache.paimon.types.DataType valueType)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.