public abstract class SchemaTranslator extends Object implements Serializable
| Constructor and Description |
|---|
SchemaTranslator() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.pulsar.client.api.Schema |
atomicType2PulsarSchema(org.apache.flink.table.types.DataType flinkType) |
abstract org.apache.flink.table.types.FieldsDataType |
pulsarSchemaToFieldsDataType(org.apache.pulsar.common.schema.SchemaInfo pulsarSchema) |
abstract org.apache.flink.table.api.TableSchema |
pulsarSchemaToTableSchema(org.apache.pulsar.common.schema.SchemaInfo pulsarSchema) |
abstract org.apache.flink.table.types.DataType |
schemaInfo2SqlType(org.apache.pulsar.common.schema.SchemaInfo si) |
abstract org.apache.pulsar.common.schema.SchemaInfo |
tableSchemaToPulsarSchema(org.apache.flink.table.api.TableSchema schema) |
public abstract org.apache.pulsar.common.schema.SchemaInfo tableSchemaToPulsarSchema(org.apache.flink.table.api.TableSchema schema)
throws IncompatibleSchemaException
IncompatibleSchemaExceptionpublic abstract org.apache.flink.table.api.TableSchema pulsarSchemaToTableSchema(org.apache.pulsar.common.schema.SchemaInfo pulsarSchema)
throws IncompatibleSchemaException
IncompatibleSchemaExceptionpublic abstract org.apache.flink.table.types.FieldsDataType pulsarSchemaToFieldsDataType(org.apache.pulsar.common.schema.SchemaInfo pulsarSchema)
throws IncompatibleSchemaException
IncompatibleSchemaExceptionpublic abstract org.apache.flink.table.types.DataType schemaInfo2SqlType(org.apache.pulsar.common.schema.SchemaInfo si)
throws IncompatibleSchemaException
IncompatibleSchemaExceptionpublic static org.apache.pulsar.client.api.Schema atomicType2PulsarSchema(org.apache.flink.table.types.DataType flinkType)
throws IncompatibleSchemaException
IncompatibleSchemaExceptionCopyright © 2019–2021 The Apache Software Foundation. All rights reserved.