| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.functions.source.datagen |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RandomGenerator<T>
Random generator.
|
class |
SequenceGenerator<T>
A stateful, re-scalable
DataGenerator that emits each number from a given interval
exactly once, possibly in parallel. |
| 构造器和说明 |
|---|
DataGeneratorSource(DataGenerator<T> generator)
Creates a source that emits records by
DataGenerator without controlling emit rate. |
DataGeneratorSource(DataGenerator<T> generator,
long rowsPerSecond)
Creates a source that emits records by
DataGenerator. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.