public final class EventTableUtils extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.table.catalog.CatalogBaseTable |
getTableOfEventStream(EventStream eventStream,
String schemaVersion,
Map<String,String> tableOptions,
String comment,
List<org.apache.flink.table.api.Schema.UnresolvedColumn> otherColumns)
Creates a table with a schema from the given event stream.
|
static org.apache.flink.table.catalog.CatalogBaseTable |
getTableOfEventStream(EventStream eventStream,
String schemaVersion,
Map<String,String> tableOptions,
String comment,
List<org.apache.flink.table.api.Schema.UnresolvedColumn> otherColumns,
String watermarkColumn,
Integer watermarkDelay)
Creates a table with a schema from the given event stream and merges it with custom columns.
|
public static org.apache.flink.table.catalog.CatalogBaseTable getTableOfEventStream(EventStream eventStream, String schemaVersion, Map<String,String> tableOptions, @Nullable String comment, @Nullable List<org.apache.flink.table.api.Schema.UnresolvedColumn> otherColumns) throws org.apache.flink.table.catalog.exceptions.CatalogException
eventStream
- to get the schema fromschemaVersion
- version of the schematableOptions
- normalized optionscomment
- catalog table commentotherColumns
- additional columnsorg.apache.flink.table.catalog.exceptions.CatalogException
- if there is a column conflictpublic static org.apache.flink.table.catalog.CatalogBaseTable getTableOfEventStream(EventStream eventStream, String schemaVersion, @Nonnull Map<String,String> tableOptions, @Nullable String comment, @Nullable List<org.apache.flink.table.api.Schema.UnresolvedColumn> otherColumns, @Nullable String watermarkColumn, @Nullable Integer watermarkDelay) throws org.apache.flink.table.catalog.exceptions.CatalogException
eventStream
- to get the schema fromschemaVersion
- version of the schematableOptions
- processed optionscomment
- catalog table commentotherColumns
- additional columnswatermarkColumn
- column name for kafka timestamp watermarkwatermarkDelay
- delay for watermarkorg.apache.flink.table.catalog.exceptions.CatalogException
- if there is a column conflictCopyright © 2024. All rights reserved.