public abstract class TableFunctionCollector<T>
extends org.apache.flink.api.common.functions.AbstractRichFunction
implements org.apache.flink.util.Collector<T>
TableFunction.| 构造器和说明 |
|---|
TableFunctionCollector() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
Object |
getInput()
Gets the input value from left table,
which will be used to cross join with the result of table function.
|
boolean |
isCollected()
Whether
Collector.collect(Object) has been called. |
void |
outputResult(Object result)
Output final result of this UDTF to downstreams.
|
void |
reset()
Resets the flag to indicate whether [[collect(T)]] has been called.
|
void |
setCollector(org.apache.flink.util.Collector<?> collector)
Sets the current collector, which used to emit the final row.
|
void |
setInput(Object input)
Sets the input row from left table,
which will be used to cross join with the result of table function.
|
getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextpublic void setInput(Object input)
public Object getInput()
public void setCollector(org.apache.flink.util.Collector<?> collector)
public void reset()
public void outputResult(Object result)
public boolean isCollected()
Collector.collect(Object) has been called.Collector.collect(Object) has been called.public void close()
close 在接口中 org.apache.flink.api.common.functions.RichFunctionclose 在接口中 org.apache.flink.util.Collector<T>close 在类中 org.apache.flink.api.common.functions.AbstractRichFunctionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.