public class DecimalDataRandomGenerator extends Object implements org.apache.flink.streaming.api.functions.source.datagen.DataGenerator<org.apache.flink.table.data.DecimalData>
DecimalData values.| Constructor and Description |
|---|
DecimalDataRandomGenerator(int precision,
int scale,
double min,
double max) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
org.apache.flink.table.data.DecimalData |
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 DecimalDataRandomGenerator(int precision,
int scale,
double min,
double max)
public 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.DecimalData>Exceptionpublic boolean hasNext()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.