Modifier and Type | Method and Description |
---|---|
void |
Catalog.createTable(Identifier identifier,
Schema schema,
boolean ignoreIfExists)
Create a new table.
|
void |
AbstractCatalog.createTable(Identifier identifier,
Schema schema,
boolean ignoreIfExists) |
void |
DelegateCatalog.createTable(Identifier identifier,
Schema schema,
boolean ignoreIfExists) |
void |
FileSystemCatalog.createTableImpl(Identifier identifier,
Schema schema) |
protected abstract void |
AbstractCatalog.createTableImpl(Identifier identifier,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
protected Schema |
FlinkCatalog.buildPaimonSchema(Identifier identifier,
org.apache.flink.table.catalog.CatalogTable catalogTable,
Map<String,String> options) |
static Schema |
FlinkCatalog.fromCatalogTable(org.apache.flink.table.catalog.CatalogTable table) |
Modifier and Type | Method and Description |
---|---|
protected Schema |
SyncTableActionBase.buildPaimonSchema(Schema retrievedSchema) |
protected Schema |
MessageQueueSyncTableActionBase.buildPaimonSchema(Schema retrievedSchema) |
static Schema |
CdcActionCommonUtils.buildPaimonSchema(String tableName,
List<String> specifiedPartitionKeys,
List<String> specifiedPrimaryKeys,
List<ComputedColumn> computedColumns,
Map<String,String> tableConfig,
Schema sourceSchema,
CdcMetadataConverter[] metadataConverters,
boolean caseSensitive,
boolean strictlyCheckSpecified,
boolean requirePrimaryKeys) |
static Schema |
MessageQueueSchemaUtils.getSchema(MessageQueueSchemaUtils.ConsumerWrapper consumer,
DataFormat dataFormat,
TypeMapping typeMapping)
Retrieves the Kafka schema for a given topic.
|
protected abstract Schema |
SyncTableActionBase.retrieveSchema() |
protected Schema |
MessageQueueSyncTableActionBase.retrieveSchema() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
SyncTableActionBase.buildPaimonSchema(Schema retrievedSchema) |
protected Schema |
MessageQueueSyncTableActionBase.buildPaimonSchema(Schema retrievedSchema) |
static Schema |
CdcActionCommonUtils.buildPaimonSchema(String tableName,
List<String> specifiedPartitionKeys,
List<String> specifiedPrimaryKeys,
List<ComputedColumn> computedColumns,
Map<String,String> tableConfig,
Schema sourceSchema,
CdcMetadataConverter[] metadataConverters,
boolean caseSensitive,
boolean strictlyCheckSpecified,
boolean requirePrimaryKeys) |
Modifier and Type | Method and Description |
---|---|
Schema |
AbstractRecordParser.buildSchema(CdcSourceRecord record) |
Modifier and Type | Method and Description |
---|---|
static Schema |
MongodbSchemaUtils.getMongodbSchema(org.apache.flink.configuration.Configuration mongodbConfig)
The schema can be created in one of the two modes:
SPECIFIED: In this mode, the schema is created based on the explicit column
names provided in the configuration.
|
protected Schema |
MongoDBSyncTableAction.retrieveSchema() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
MySqlSyncTableAction.retrieveSchema() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
PostgresSyncTableAction.retrieveSchema() |
Modifier and Type | Method and Description |
---|---|
static Schema |
JdbcSchemaUtils.buildSchema(DatabaseMetaData metaData,
String databaseName,
String schemaName,
String tableName,
String tableComment,
TypeMapping typeMapping,
JdbcToPaimonTypeVisitor jdbcToPaimonTypeVisitor) |
static Schema |
JdbcSchemaUtils.buildSchema(DatabaseMetaData metaData,
String databaseName,
String tableName,
String tableComment,
TypeMapping typeMapping,
JdbcToPaimonTypeVisitor jdbcToPaimonTypeVisitor) |
static Schema |
JdbcSchemaUtils.mergeSchema(String currentTable,
Schema current,
String otherTable,
Schema other) |
Schema |
AllMergedJdbcTableInfo.schema() |
Schema |
UnmergedJdbcTableInfo.schema() |
Schema |
JdbcTableInfo.schema() |
Schema |
JdbcSchemasInfo.JdbcSchemaInfo.schema() |
Schema |
ShardsMergedJdbcTableInfo.schema() |
Modifier and Type | Method and Description |
---|---|
void |
JdbcSchemasInfo.addSchema(Identifier identifier,
Schema schema) |
void |
JdbcSchemasInfo.addSchema(Identifier identifier,
String schemaName,
Schema schema) |
void |
AllMergedJdbcTableInfo.init(Identifier identifier,
Schema schema) |
void |
ShardsMergedJdbcTableInfo.init(Identifier identifier,
Schema schema) |
AllMergedJdbcTableInfo |
AllMergedJdbcTableInfo.merge(Identifier otherTableId,
Schema other) |
ShardsMergedJdbcTableInfo |
ShardsMergedJdbcTableInfo.merge(Identifier otherTableId,
Schema other) |
static Schema |
JdbcSchemaUtils.mergeSchema(String currentTable,
Schema current,
String otherTable,
Schema other) |
Constructor and Description |
---|
JdbcSchemaInfo(Identifier identifier,
String schemaName,
boolean isPkTable,
Schema schema) |
UnmergedJdbcTableInfo(Identifier identifier,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
Optional<Schema> |
NewTableSchemaBuilder.build(RichCdcMultiplexRecord record) |
default Optional<Schema> |
EventParser.parseNewTable()
Parse newly added table schema from event.
|
Optional<Schema> |
RichCdcMultiplexRecordEventParser.parseNewTable() |
Modifier and Type | Method and Description |
---|---|
protected void |
HiveCatalog.createTableImpl(Identifier identifier,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
Schema |
HiveMigrator.from(List<org.apache.hadoop.hive.metastore.api.FieldSchema> fields,
List<org.apache.hadoop.hive.metastore.api.FieldSchema> partitionFields,
Map<String,String> hiveTableOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
JdbcCatalog.createTableImpl(Identifier identifier,
Schema schema) |
Modifier and Type | Method and Description |
---|---|
void |
PrivilegedCatalog.createTable(Identifier identifier,
Schema schema,
boolean ignoreIfExists) |
Modifier and Type | Method and Description |
---|---|
Schema |
Schema.Builder.build()
Returns an instance of an unresolved
Schema . |
static Schema |
Schema.fromTableSchema(TableSchema tableSchema) |
Modifier and Type | Method and Description |
---|---|
TableSchema |
SchemaManager.createTable(Schema schema) |
TableSchema |
SchemaManager.createTable(Schema schema,
boolean ignoreIfExistsSame) |
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.