Uses of Class
org.apache.flink.table.legacy.api.TableSchema.Builder
Packages that use TableSchema.Builder
-
Uses of TableSchema.Builder in org.apache.flink.table.legacy.api
Methods in org.apache.flink.table.legacy.api that return TableSchema.BuilderModifier and TypeMethodDescriptionTableSchema.Builder.add(TableColumn column) Adds aTableColumnto this builder.static TableSchema.BuilderTableSchema.builder()Deprecated.TableSchema.Builder.field(String name, org.apache.flink.api.common.typeinfo.TypeInformation<?> typeInfo) Deprecated.This method will be removed in future versions as it uses the old type system.Add a field with name and data type.Add a computed field which is generated by the given expression.Add an array of fields with names and data types.TableSchema.Builder.primaryKey(String... columns) Creates a primary key constraint for a set of given columns.TableSchema.Builder.primaryKey(String name, String[] columns) Creates a primary key constraint for a set of given columns.TableSchema.Builder.watermark(String rowtimeAttribute, String watermarkExpressionString, DataType watermarkExprOutputType) Specifies the previously defined field as an event-time attribute and specifies the watermark strategy.TableSchema.Builder.watermark(WatermarkSpec watermarkSpec) Adds the givenWatermarkSpecto this builder. -
Uses of TableSchema.Builder in org.apache.flink.table.utils
Methods in org.apache.flink.table.utils that return TableSchema.BuilderModifier and TypeMethodDescriptionstatic TableSchema.BuilderTableSchemaUtils.builderWithGivenSchema(TableSchema oriSchema) Creates a builder with given table schema.