Package io.pravega.connectors.flink
Class FlinkPravegaTableFactoryBase.FlinkPravegaTableSourceImpl
- java.lang.Object
-
- io.pravega.connectors.flink.FlinkPravegaTableSource
-
- io.pravega.connectors.flink.FlinkPravegaTableFactoryBase.FlinkPravegaTableSourceImpl
-
- All Implemented Interfaces:
org.apache.flink.table.sources.BatchTableSource<org.apache.flink.types.Row>
,org.apache.flink.table.sources.DefinedProctimeAttribute
,org.apache.flink.table.sources.DefinedRowtimeAttributes
,org.apache.flink.table.sources.StreamTableSource<org.apache.flink.types.Row>
,org.apache.flink.table.sources.TableSource<org.apache.flink.types.Row>
- Enclosing class:
- FlinkPravegaTableFactoryBase
public static final class FlinkPravegaTableFactoryBase.FlinkPravegaTableSourceImpl extends FlinkPravegaTableSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.pravega.connectors.flink.FlinkPravegaTableSource
FlinkPravegaTableSource.BuilderBase<T extends FlinkPravegaTableSource,B extends io.pravega.connectors.flink.AbstractStreamingReaderBuilder>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FlinkPravegaTableSourceImpl(java.util.function.Supplier<FlinkPravegaReader<org.apache.flink.types.Row>> sourceFunctionFactory, java.util.function.Supplier<FlinkPravegaInputFormat<org.apache.flink.types.Row>> inputFormatFactory, org.apache.flink.table.api.TableSchema schema, org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> returnType)
Creates a Pravega Table Source Implementation InstanceFlinkPravegaTableSource
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
explainSource()
-
Methods inherited from class io.pravega.connectors.flink.FlinkPravegaTableSource
getDataSet, getDataStream, getProctimeAttribute, getReturnType, getRowtimeAttributeDescriptors, getTableSchema, setProctimeAttribute, setRowtimeAttributeDescriptors
-
-
-
-
Constructor Detail
-
FlinkPravegaTableSourceImpl
protected FlinkPravegaTableSourceImpl(java.util.function.Supplier<FlinkPravegaReader<org.apache.flink.types.Row>> sourceFunctionFactory, java.util.function.Supplier<FlinkPravegaInputFormat<org.apache.flink.types.Row>> inputFormatFactory, org.apache.flink.table.api.TableSchema schema, org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> returnType)
Creates a Pravega Table Source Implementation InstanceFlinkPravegaTableSource
.- Parameters:
sourceFunctionFactory
- a factory for theFlinkPravegaReader
to implementStreamTableSource
inputFormatFactory
- a factory for theFlinkPravegaInputFormat
to implementBatchTableSource
schema
- the table schemareturnType
- the return type based on the table schema
-
-