public interface LogStoreTableFactory extends Factory
Log tables are for processing only unbounded data. Support streaming reading and streaming writing.
Modifier and Type | Interface and Description |
---|---|
static interface |
LogStoreTableFactory.RegisterContext
Context to create log store register.
|
Modifier and Type | Method and Description |
---|---|
LogStoreRegister |
createRegister(LogStoreTableFactory.RegisterContext context)
Creates a
LogStoreRegister instance for table ddl, it will register table to log
store when a table is created or dropped. |
LogSinkProvider |
createSinkProvider(org.apache.flink.table.factories.DynamicTableFactory.Context context,
org.apache.flink.table.connector.sink.DynamicTableSink.Context sinkContext)
Creates a
LogSinkProvider instance from a CatalogTable and additional context
information. |
LogSourceProvider |
createSourceProvider(org.apache.flink.table.factories.DynamicTableFactory.Context context,
org.apache.flink.table.connector.source.DynamicTableSource.Context sourceContext,
int[][] projectFields)
Creates a
LogSourceProvider instance from a CatalogTable and additional
context information. |
static LogStoreTableFactory |
discoverLogStoreFactory(ClassLoader cl,
String identifier) |
static org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> |
getKeyDecodingFormat(FlinkFactoryUtil.FlinkTableFactoryHelper helper) |
static org.apache.flink.table.connector.format.EncodingFormat<org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>> |
getKeyEncodingFormat(FlinkFactoryUtil.FlinkTableFactoryHelper helper) |
static org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> |
getValueDecodingFormat(FlinkFactoryUtil.FlinkTableFactoryHelper helper) |
static org.apache.flink.table.connector.format.EncodingFormat<org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>> |
getValueEncodingFormat(FlinkFactoryUtil.FlinkTableFactoryHelper helper) |
static org.apache.flink.configuration.ConfigOption<String> |
logFormat() |
static org.apache.flink.configuration.ConfigOption<String> |
logKeyFormat() |
static void |
validateKeyFormat(org.apache.flink.table.connector.format.Format format,
String name) |
static void |
validateValueFormat(org.apache.flink.table.connector.format.Format format,
String name) |
identifier
LogSourceProvider createSourceProvider(org.apache.flink.table.factories.DynamicTableFactory.Context context, org.apache.flink.table.connector.source.DynamicTableSource.Context sourceContext, @Nullable int[][] projectFields)
LogSourceProvider
instance from a CatalogTable
and additional
context information.LogSinkProvider createSinkProvider(org.apache.flink.table.factories.DynamicTableFactory.Context context, org.apache.flink.table.connector.sink.DynamicTableSink.Context sinkContext)
LogSinkProvider
instance from a CatalogTable
and additional context
information.LogStoreRegister createRegister(LogStoreTableFactory.RegisterContext context)
LogStoreRegister
instance for table ddl, it will register table to log
store when a table is created or dropped.static org.apache.flink.configuration.ConfigOption<String> logKeyFormat()
static org.apache.flink.configuration.ConfigOption<String> logFormat()
static LogStoreTableFactory discoverLogStoreFactory(ClassLoader cl, String identifier)
static org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> getKeyDecodingFormat(FlinkFactoryUtil.FlinkTableFactoryHelper helper)
static org.apache.flink.table.connector.format.EncodingFormat<org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>> getKeyEncodingFormat(FlinkFactoryUtil.FlinkTableFactoryHelper helper)
static org.apache.flink.table.connector.format.DecodingFormat<org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>> getValueDecodingFormat(FlinkFactoryUtil.FlinkTableFactoryHelper helper)
static org.apache.flink.table.connector.format.EncodingFormat<org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>> getValueEncodingFormat(FlinkFactoryUtil.FlinkTableFactoryHelper helper)
static void validateKeyFormat(org.apache.flink.table.connector.format.Format format, String name)
static void validateValueFormat(org.apache.flink.table.connector.format.Format format, String name)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.