Class ValuesDataSourceHelper
- java.lang.Object
-
- org.apache.flink.cdc.connectors.values.source.ValuesDataSourceHelper
-
public class ValuesDataSourceHelper extends Object
A helper class forValuesDataSourceto build events of each split.the last list of getSourceEvents method is defined as the split for incremental stage.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValuesDataSourceHelper.EventSetIdDifferent situations for creating sourceEvents,ValuesDataSourceOptions.EVENT_SET_ID.
-
Constructor Summary
Constructors Constructor Description ValuesDataSourceHelper()
-
Method Summary
-
-
-
Method Detail
-
setSourceEvents
public static void setSourceEvents(List<List<Event>> customSourceEvents)
set sourceEvents using custom events.
-
setSourceEvents
public static void setSourceEvents(ValuesDataSourceHelper.EventSetId eventType)
set sourceEvents using predefined events.
-
singleSplitSingleTableWithDefaultValue
public static List<List<Event>> singleSplitSingleTableWithDefaultValue()
-
singleSplitSinglePartitionTable
public static List<List<Event>> singleSplitSinglePartitionTable()
A single split with a single partitioned table. The partition column is intentionally placed before data columns to verify partition handling when partition key is not at the end of the schema.
-
-