Class DataGeneratorMapper<A,B>
java.lang.Object
org.apache.flink.connector.datagen.table.types.DataGeneratorMapper<A,B>
- All Implemented Interfaces:
Serializable,Iterator<B>,org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<B>
@Internal
public class DataGeneratorMapper<A,B>
extends Object
implements org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<B>
Utility for mapping the output of a
DataGenerator.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataGeneratorMapper(org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<A> generator, org.apache.flink.util.function.SerializableFunction<A, B> mapper, float nullRate) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.api.functions.source.datagen.DataGenerator
snapshotStateMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
DataGeneratorMapper
-
-
Method Details
-
open
-
hasNext
public boolean hasNext() -
next
-