Uses of Class
org.apache.flink.table.legacy.api.TableSchema
-
-
Uses of TableSchema in org.apache.flink.table.catalog
Methods in org.apache.flink.table.catalog that return TableSchema Modifier and Type Method Description default TableSchema
CatalogBaseTable. getSchema()
Deprecated.This method returns the deprecatedTableSchema
class.default TableSchema
ResolvedCatalogBaseTable. getSchema()
Deprecated.This method returns the deprecatedTableSchema
class. -
Uses of TableSchema in org.apache.flink.table.descriptors
Methods in org.apache.flink.table.descriptors that return TableSchema Modifier and Type Method Description TableSchema
DescriptorProperties. getTableSchema(String key)
Deprecated.Returns a table schema under the given existing key.Methods in org.apache.flink.table.descriptors that return types with arguments of type TableSchema Modifier and Type Method Description Optional<TableSchema>
DescriptorProperties. getOptionalTableSchema(String key)
Deprecated.Returns a table schema under the given key if it exists.Methods in org.apache.flink.table.descriptors with parameters of type TableSchema Modifier and Type Method Description void
DescriptorProperties. putTableSchema(String key, TableSchema schema)
Deprecated.Adds a table schema under the given key. -
Uses of TableSchema in org.apache.flink.table.legacy.api
Methods in org.apache.flink.table.legacy.api that return TableSchema Modifier and Type Method Description TableSchema
TableSchema.Builder. build()
Returns aTableSchema
instance.TableSchema
TableSchema. copy()
Deprecated.Returns a deep copy of the table schema.static TableSchema
TableSchema. fromResolvedSchema(ResolvedSchema resolvedSchema)
Deprecated.Helps to migrate to the newResolvedSchema
to old API methods.static TableSchema
TableSchema. fromTypeInfo(org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo)
Deprecated.This method will be removed soon. -
Uses of TableSchema in org.apache.flink.table.legacy.descriptors
Methods in org.apache.flink.table.legacy.descriptors with parameters of type TableSchema Modifier and Type Method Description Schema
Schema. schema(TableSchema schema)
Deprecated.Sets the schema with field names and the types. -
Uses of TableSchema in org.apache.flink.table.legacy.sinks
Methods in org.apache.flink.table.legacy.sinks that return TableSchema Modifier and Type Method Description default TableSchema
TableSink. getTableSchema()
Deprecated.Returns the schema of the consumed table. -
Uses of TableSchema in org.apache.flink.table.legacy.sources
Methods in org.apache.flink.table.legacy.sources that return TableSchema Modifier and Type Method Description TableSchema
TableSource. getTableSchema()
Deprecated.Table schema is a logical description of a table and should not be part of the physical TableSource. -
Uses of TableSchema in org.apache.flink.table.sources
Methods in org.apache.flink.table.sources with parameters of type TableSchema Modifier and Type Method Description static void
TableSourceValidation. validateTableSource(TableSource<?> tableSource, TableSchema schema)
Validates a TableSource. -
Uses of TableSchema in org.apache.flink.table.utils
Methods in org.apache.flink.table.utils that return TableSchema Modifier and Type Method Description static TableSchema
TableSchemaUtils. checkOnlyPhysicalColumns(TableSchema schema)
Throws an exception if the givenTableSchema
contains any non-physical columns.static TableSchema
TableSchemaUtils. dropConstraint(TableSchema oriSchema, String constraintName)
Creates a new schema but drop the constraint with given name.static TableSchema
TableSchemaUtils. getPersistedSchema(TableSchema tableSchema)
ReturnTableSchema
which consists of all persisted columns.static TableSchema
TableSchemaUtils. getPhysicalSchema(TableSchema tableSchema)
ReturnTableSchema
which consists of all physical columns.Methods in org.apache.flink.table.utils with parameters of type TableSchema Modifier and Type Method Description static TableSchema.Builder
TableSchemaUtils. builderWithGivenSchema(TableSchema oriSchema)
Creates a builder with given table schema.static TableSchema
TableSchemaUtils. checkOnlyPhysicalColumns(TableSchema schema)
Throws an exception if the givenTableSchema
contains any non-physical columns.static boolean
TableSchemaUtils. containsPhysicalColumnsOnly(TableSchema schema)
Returns true if there are only physical columns in the givenTableSchema
.static TableSchema
TableSchemaUtils. dropConstraint(TableSchema oriSchema, String constraintName)
Creates a new schema but drop the constraint with given name.static TableSchema
TableSchemaUtils. getPersistedSchema(TableSchema tableSchema)
ReturnTableSchema
which consists of all persisted columns.static TableSchema
TableSchemaUtils. getPhysicalSchema(TableSchema tableSchema)
ReturnTableSchema
which consists of all physical columns.static int[]
TableSchemaUtils. getPrimaryKeyIndices(TableSchema schema)
Returns the field indices of primary key in the physical columns of this schema (not include computed columns or metadata columns).
-