| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.api | |
| org.apache.flink.table.catalog |
| 限定符和类型 | 方法和说明 |
|---|---|
Schema |
Schema.Builder.build()
Returns an instance of an unresolved
Schema. |
static Schema |
Schema.derived()
Convenience method for stating explicitly that a schema is empty and should be fully derived
by the framework.
|
Schema |
TableSchema.toSchema()
已过时。
Helps to migrate to the new
Schema class. |
| 限定符和类型 | 方法和说明 |
|---|---|
Schema.Builder |
Schema.Builder.fromSchema(Schema unresolvedSchema)
Adopts all members from the given unresolved schema.
|
| 限定符和类型 | 方法和说明 |
|---|---|
default Schema |
CatalogBaseTable.getUnresolvedSchema()
Returns the schema of the table or view.
|
Schema |
DefaultCatalogTable.getUnresolvedSchema() |
Schema |
ResolvedCatalogTable.getUnresolvedSchema() |
Schema |
ResolvedCatalogView.getUnresolvedSchema() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CatalogTable |
CatalogTable.of(Schema schema,
String comment,
List<String> partitionKeys,
Map<String,String> options)
Creates a basic implementation of this interface.
|
static CatalogView |
CatalogView.of(Schema schema,
String comment,
String originalQuery,
String expandedQuery,
Map<String,String> options)
Creates a basic implementation of this interface.
|
ResolvedSchema |
SchemaResolver.resolve(Schema schema) |
| 构造器和说明 |
|---|
DefaultCatalogTable(Schema schema,
String comment,
List<String> partitionKeys,
Map<String,String> options) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.