| 程序包 | 说明 |
|---|---|
| org.apache.seatunnel.api.common | |
| org.apache.seatunnel.api.table.catalog | |
| org.apache.seatunnel.api.table.catalog.schema |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<TableSchema> |
JobContext.getSchema(String tableName)
Get table schema.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
JobContext.addSchema(String tableName,
TableSchema tableSchema)
Put table schema.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TableSchema |
TableSchema.Builder.build() |
TableSchema |
TableSchema.copy() |
TableSchema |
CatalogTable.getTableSchema() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CatalogTable |
CatalogTable.of(TableIdentifier tableId,
TableSchema tableSchema,
Map<String,String> options,
List<String> partitionKeys,
String comment) |
static CatalogTable |
CatalogTable.of(TableIdentifier tableId,
TableSchema tableSchema,
Map<String,String> options,
List<String> partitionKeys,
String comment,
String catalogName) |
| 限定符和类型 | 方法和说明 |
|---|---|
TableSchema |
ReadonlyConfigParser.parse(ReadonlyConfig readonlyConfig) |
TableSchema |
TableSchemaParser.parse(T schemaConfig)
Parse schema config to TableSchema
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.