@Internal public class RowDataGenerator extends Object implements org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<org.apache.flink.table.data.RowData>
RowData type.| Constructor and Description |
|---|
RowDataGenerator(org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<?>[] fieldGenerators,
List<String> fieldNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
org.apache.flink.table.data.RowData |
next() |
void |
open(String name,
org.apache.flink.runtime.state.FunctionInitializationContext context,
org.apache.flink.api.common.functions.RuntimeContext runtimeContext) |
void |
snapshotState(org.apache.flink.runtime.state.FunctionSnapshotContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic void open(String name, org.apache.flink.runtime.state.FunctionInitializationContext context, org.apache.flink.api.common.functions.RuntimeContext runtimeContext) throws Exception
open in interface org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<org.apache.flink.table.data.RowData>Exceptionpublic void snapshotState(org.apache.flink.runtime.state.FunctionSnapshotContext context)
throws Exception
snapshotState in interface org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<org.apache.flink.table.data.RowData>Exceptionpublic boolean hasNext()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.