public class FlinkSourceBuilder extends Object
Constructor and Description |
---|
FlinkSourceBuilder(Table table) |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.table.data.RowData> |
build()
Build source
DataStream with RowData . |
org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.types.Row> |
buildForRow()
Build source
DataStream with RowData . |
FlinkSourceBuilder |
dynamicPartitionFilteringFields(List<String> dynamicPartitionFilteringFields) |
FlinkSourceBuilder |
env(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env) |
FlinkSourceBuilder |
limit(Long limit) |
FlinkSourceBuilder |
predicate(Predicate predicate) |
FlinkSourceBuilder |
projection(int[] projectedFields) |
FlinkSourceBuilder |
projection(int[][] projectedFields) |
FlinkSourceBuilder |
sourceBounded(boolean bounded) |
FlinkSourceBuilder |
sourceName(String name) |
FlinkSourceBuilder |
sourceParallelism(Integer parallelism) |
FlinkSourceBuilder |
watermarkStrategy(org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy) |
public FlinkSourceBuilder(Table table)
public FlinkSourceBuilder env(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env)
public FlinkSourceBuilder sourceName(String name)
public FlinkSourceBuilder sourceBounded(boolean bounded)
public FlinkSourceBuilder projection(int[] projectedFields)
public FlinkSourceBuilder projection(int[][] projectedFields)
public FlinkSourceBuilder predicate(Predicate predicate)
public FlinkSourceBuilder limit(@Nullable Long limit)
public FlinkSourceBuilder sourceParallelism(@Nullable Integer parallelism)
public FlinkSourceBuilder watermarkStrategy(@Nullable org.apache.flink.api.common.eventtime.WatermarkStrategy<org.apache.flink.table.data.RowData> watermarkStrategy)
public FlinkSourceBuilder dynamicPartitionFilteringFields(List<String> dynamicPartitionFilteringFields)
public org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.types.Row> buildForRow()
DataStream
with RowData
.public org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.table.data.RowData> build()
DataStream
with RowData
.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.