public abstract class InputTableGenerator<T extends InputTableGenerator<T>> extends Object implements InputDataGenerator<T>
Modifier and Type | Field and Description |
---|---|
protected Map<Param<?>,Object> |
paramMap |
COL_NAMES, NUM_VALUES
Constructor and Description |
---|
InputTableGenerator() |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.table.api.Table[] |
getData(org.apache.flink.table.api.bridge.java.StreamTableEnvironment tEnv)
Gets an array of Tables containing the data generated in the provided stream table
environment.
|
Map<Param<?>,Object> |
getParamMap()
Returns a map which should contain value for every parameter that meets one of the following
conditions.
|
protected abstract RowGenerator[] |
getRowGenerators()
Gets generators for all input tables.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColNames, getNumValues, setColNames, setNumValues
get, getParam, set
public final org.apache.flink.table.api.Table[] getData(org.apache.flink.table.api.bridge.java.StreamTableEnvironment tEnv)
DataGenerator
getData
in interface DataGenerator<T extends InputTableGenerator<T>>
protected abstract RowGenerator[] getRowGenerators()
public final Map<Param<?>,Object> getParamMap()
WithParams
1) set(...) has been called to set value for this parameter.
2) The parameter is a public final field of this WithParams instance. This includes fields inherited from its interfaces and super-classes.
The subclass which implements this interface could meet this requirement by returning a
member field of the given map type, after having initialized this member field using the
ParamUtils.initializeMapWithDefaultValues(Map, WithParams)
method.
getParamMap
in interface WithParams<T extends InputTableGenerator<T>>
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.