Uses of Class
org.apache.flink.table.legacy.api.TableSchema
Packages that use TableSchema
Package
Description
-
Uses of TableSchema in org.apache.flink.table.catalog
Methods in org.apache.flink.table.catalog that return TableSchemaModifier and TypeMethodDescriptiondefault TableSchemaCatalogBaseTable.getSchema()Deprecated.default TableSchemaResolvedCatalogBaseTable.getSchema()Deprecated.This method returns the deprecatedTableSchemaclass. -
Uses of TableSchema in org.apache.flink.table.descriptors
Methods in org.apache.flink.table.descriptors that return TableSchemaModifier and TypeMethodDescriptionDescriptorProperties.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 TableSchemaModifier and TypeMethodDescriptionDescriptorProperties.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 TableSchemaModifier and TypeMethodDescriptionvoidDescriptorProperties.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 TableSchemaModifier and TypeMethodDescriptionTableSchema.Builder.build()Returns aTableSchemainstance.TableSchema.copy()Deprecated.Returns a deep copy of the table schema.static TableSchemaTableSchema.fromResolvedSchema(ResolvedSchema resolvedSchema) Deprecated.Helps to migrate to the newResolvedSchemato old API methods.static TableSchemaTableSchema.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 TableSchemaModifier and TypeMethodDescriptionSchema.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 TableSchemaModifier and TypeMethodDescriptiondefault TableSchemaTableSink.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 TableSchemaModifier and TypeMethodDescriptionTableSource.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 TableSchemaModifier and TypeMethodDescriptionstatic voidTableSourceValidation.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 TableSchemaModifier and TypeMethodDescriptionstatic TableSchemaTableSchemaUtils.checkOnlyPhysicalColumns(TableSchema schema) Throws an exception if the givenTableSchemacontains any non-physical columns.static TableSchemaTableSchemaUtils.dropConstraint(TableSchema oriSchema, String constraintName) Creates a new schema but drop the constraint with given name.static TableSchemaTableSchemaUtils.getPersistedSchema(TableSchema tableSchema) ReturnTableSchemawhich consists of all persisted columns.static TableSchemaTableSchemaUtils.getPhysicalSchema(TableSchema tableSchema) ReturnTableSchemawhich consists of all physical columns.Methods in org.apache.flink.table.utils with parameters of type TableSchemaModifier and TypeMethodDescriptionstatic TableSchema.BuilderTableSchemaUtils.builderWithGivenSchema(TableSchema oriSchema) Creates a builder with given table schema.static TableSchemaTableSchemaUtils.checkOnlyPhysicalColumns(TableSchema schema) Throws an exception if the givenTableSchemacontains any non-physical columns.static booleanTableSchemaUtils.containsPhysicalColumnsOnly(TableSchema schema) Returns true if there are only physical columns in the givenTableSchema.static TableSchemaTableSchemaUtils.dropConstraint(TableSchema oriSchema, String constraintName) Creates a new schema but drop the constraint with given name.static TableSchemaTableSchemaUtils.getPersistedSchema(TableSchema tableSchema) ReturnTableSchemawhich consists of all persisted columns.static TableSchemaTableSchemaUtils.getPhysicalSchema(TableSchema tableSchema) ReturnTableSchemawhich 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).
TableSchemaclass.