Package io.pravega.connectors.flink
Class FlinkPravegaBatchTableSourceSinkFactory
- java.lang.Object
-
- io.pravega.connectors.flink.FlinkPravegaTableFactoryBase
-
- io.pravega.connectors.flink.FlinkPravegaBatchTableSourceSinkFactory
-
- All Implemented Interfaces:
org.apache.flink.table.factories.BatchTableSinkFactory<org.apache.flink.types.Row>
,org.apache.flink.table.factories.BatchTableSourceFactory<org.apache.flink.types.Row>
,org.apache.flink.table.factories.TableFactory
public class FlinkPravegaBatchTableSourceSinkFactory extends FlinkPravegaTableFactoryBase implements org.apache.flink.table.factories.BatchTableSourceFactory<org.apache.flink.types.Row>, org.apache.flink.table.factories.BatchTableSinkFactory<org.apache.flink.types.Row>
A batch table source factory implementation ofBatchTableSourceFactory
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 FlinkPravegaBatchTableSourceSinkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.table.sinks.BatchTableSink<org.apache.flink.types.Row>
createBatchTableSink(java.util.Map<java.lang.String,java.lang.String> properties)
org.apache.flink.table.sources.BatchTableSource<org.apache.flink.types.Row>
createBatchTableSource(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
-
createBatchTableSource
public org.apache.flink.table.sources.BatchTableSource<org.apache.flink.types.Row> createBatchTableSource(java.util.Map<java.lang.String,java.lang.String> properties)
- Specified by:
createBatchTableSource
in interfaceorg.apache.flink.table.factories.BatchTableSourceFactory<org.apache.flink.types.Row>
-
createBatchTableSink
public org.apache.flink.table.sinks.BatchTableSink<org.apache.flink.types.Row> createBatchTableSink(java.util.Map<java.lang.String,java.lang.String> properties)
- Specified by:
createBatchTableSink
in interfaceorg.apache.flink.table.factories.BatchTableSinkFactory<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
-
-