Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
This method will be removed soon. Use
DataTypes to declare types. |
Modifier and Type | Method and Description |
---|---|
TableSchema |
CatalogBaseTable.getSchema()
Get the schema of the table.
|
Modifier and Type | Method and Description |
---|---|
TableSchema |
DescriptorProperties.getTableSchema(String key)
Returns a table schema under the given existing key.
|
Modifier and Type | Method and Description |
---|---|
Optional<TableSchema> |
DescriptorProperties.getOptionalTableSchema(String key)
Returns a table schema under the given key if it exists.
|
Modifier and Type | Method and Description |
---|---|
void |
DescriptorProperties.putTableSchema(String key,
TableSchema schema)
Adds a table schema under the given key.
|
Schema |
Schema.schema(TableSchema schema)
Sets the schema with field names and the types.
|
Modifier and Type | Method and Description |
---|---|
static TableSchema |
TableFormatFactoryBase.deriveSchema(Map<String,String> properties)
Finds the table schema that can be used for a format schema (without time attributes).
|
Modifier and Type | Method and Description |
---|---|
default TableSchema |
TableSink.getTableSchema()
Returns the schema of the consumed table.
|
Modifier and Type | Method and Description |
---|---|
TableSchema |
TableSource.getTableSchema()
Returns the schema of the produced table.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.