@Internal public class DataGeneratorMapper<A,B> extends Object implements org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<B>
DataGenerator.| Modifier and Type | Class and Description |
|---|---|
static interface |
DataGeneratorMapper.SerializableFunction<A,B>
A simple serializable function.
|
| Constructor and Description |
|---|
DataGeneratorMapper(org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<A> generator,
DataGeneratorMapper.SerializableFunction<A,B> mapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
B |
next() |
void |
open(String name,
org.apache.flink.runtime.state.FunctionInitializationContext context,
org.apache.flink.api.common.functions.RuntimeContext runtimeContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsnapshotStateforEachRemaining, removepublic DataGeneratorMapper(org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<A> generator, DataGeneratorMapper.SerializableFunction<A,B> mapper)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.