| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.api | |
| org.apache.flink.table.descriptors | |
| org.apache.flink.table.factories | |
| org.apache.flink.table.sources |
| 限定符和类型 | 方法和说明 |
|---|---|
TableSchema |
TableSchema.Builder.build()
Returns a
TableSchema instance. |
TableSchema |
TableSchema.copy()
Returns a deep copy of the table schema.
|
static TableSchema |
TableSchema.fromTypeInfo(org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo)
Creates a table schema from a
TypeInformation instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
TableSchema |
DescriptorProperties.getTableSchema(String key)
Returns a table schema under the given existing key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<TableSchema> |
DescriptorProperties.getOptionalTableSchema(String key)
Returns a table schema under the given key if it exists.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DescriptorProperties.putTableSchema(String key,
TableSchema schema)
Adds a table schema under the given key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static TableSchema |
TableFormatFactoryBase.deriveSchema(Map<String,String> properties)
Finds the table schema that can be used for a format schema (without time attributes).
|
| 限定符和类型 | 方法和说明 |
|---|---|
TableSchema |
TableSource.getTableSchema()
Returns the schema of the produced table.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.