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 TableSchemaCatalogBaseTable. getSchema()Deprecated.This method returns the deprecatedTableSchemaclass.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 TableSchema Modifier and Type Method Description TableSchemaDescriptorProperties. 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 voidDescriptorProperties. 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 TableSchemaTableSchema.Builder. build()Returns aTableSchemainstance.TableSchemaTableSchema. 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. fromResolvedSchema(ResolvedSchema resolvedSchema, SqlFactory sqlFactory)Deprecated.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 TableSchema Modifier and Type Method Description SchemaSchema. 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 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 TableSchema Modifier and Type Method Description TableSchemaTableSource. 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 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 TableSchema Modifier and Type Method Description static 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 TableSchema Modifier and Type Method Description static 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).
-