Package io.pravega.connectors.flink
Class FlinkPravegaStreamTableSourceSinkFactory
- java.lang.Object
-
- io.pravega.connectors.flink.FlinkPravegaTableFactoryBase
-
- io.pravega.connectors.flink.FlinkPravegaStreamTableSourceSinkFactory
-
- All Implemented Interfaces:
org.apache.flink.table.factories.StreamTableSinkFactory<org.apache.flink.types.Row>
,org.apache.flink.table.factories.StreamTableSourceFactory<org.apache.flink.types.Row>
,org.apache.flink.table.factories.TableFactory
public class FlinkPravegaStreamTableSourceSinkFactory extends FlinkPravegaTableFactoryBase implements org.apache.flink.table.factories.StreamTableSourceFactory<org.apache.flink.types.Row>, org.apache.flink.table.factories.StreamTableSinkFactory<org.apache.flink.types.Row>
A stream table source factory implementation ofStreamTableSourceFactory
to access Pravega streams.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.pravega.connectors.flink.FlinkPravegaTableFactoryBase
FlinkPravegaTableFactoryBase.FlinkPravegaTableSinkImpl, FlinkPravegaTableFactoryBase.FlinkPravegaTableSourceImpl
-
-
Constructor Summary
Constructors Constructor Description FlinkPravegaStreamTableSourceSinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.table.sinks.StreamTableSink<org.apache.flink.types.Row>
createStreamTableSink(java.util.Map<java.lang.String,java.lang.String> properties)
org.apache.flink.table.sources.StreamTableSource<org.apache.flink.types.Row>
createStreamTableSource(java.util.Map<java.lang.String,java.lang.String> properties)
protected java.lang.String
getVersion()
protected boolean
isStreamEnvironment()
java.util.Map<java.lang.String,java.lang.String>
requiredContext()
java.util.List<java.lang.String>
supportedProperties()
-
Methods inherited from class io.pravega.connectors.flink.FlinkPravegaTableFactoryBase
createFlinkPravegaTableSink, createFlinkPravegaTableSource, getDeserializationSchema, getRequiredContext, getSerializationSchema, getSupportedProperties, getValidatedProperties
-
-
-
-
Method Detail
-
requiredContext
public java.util.Map<java.lang.String,java.lang.String> requiredContext()
- Specified by:
requiredContext
in interfaceorg.apache.flink.table.factories.TableFactory
-
supportedProperties
public java.util.List<java.lang.String> supportedProperties()
- Specified by:
supportedProperties
in interfaceorg.apache.flink.table.factories.TableFactory
-
createStreamTableSource
public org.apache.flink.table.sources.StreamTableSource<org.apache.flink.types.Row> createStreamTableSource(java.util.Map<java.lang.String,java.lang.String> properties)
- Specified by:
createStreamTableSource
in interfaceorg.apache.flink.table.factories.StreamTableSourceFactory<org.apache.flink.types.Row>
-
createStreamTableSink
public org.apache.flink.table.sinks.StreamTableSink<org.apache.flink.types.Row> createStreamTableSink(java.util.Map<java.lang.String,java.lang.String> properties)
- Specified by:
createStreamTableSink
in interfaceorg.apache.flink.table.factories.StreamTableSinkFactory<org.apache.flink.types.Row>
-
getVersion
protected java.lang.String getVersion()
- Specified by:
getVersion
in classFlinkPravegaTableFactoryBase
-
isStreamEnvironment
protected boolean isStreamEnvironment()
- Specified by:
isStreamEnvironment
in classFlinkPravegaTableFactoryBase
-
-