Class WrappingFunction<T extends org.apache.flink.api.common.functions.Function>
- java.lang.Object
-
- org.apache.flink.api.common.functions.AbstractRichFunction
-
- org.apache.flink.api.java.operators.translation.WrappingFunction<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.api.common.functions.RichFunction
- Direct Known Subclasses:
JoinOperator.DefaultJoin.WrappingFlatJoinFunction,PlanFilterOperator.FlatMapFilter,TupleLeftUnwrappingJoiner,TupleRightUnwrappingJoiner,TupleUnwrappingJoiner
@Internal public abstract class WrappingFunction<T extends org.apache.flink.api.common.functions.Function> extends org.apache.flink.api.common.functions.AbstractRichFunctionWrapper aroundFunction.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected TwrappedFunction
-
Constructor Summary
Constructors Modifier Constructor Description protectedWrappingFunction(T wrappedFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()TgetWrappedFunction()voidopen(org.apache.flink.api.common.functions.OpenContext openContext)voidsetRuntimeContext(org.apache.flink.api.common.functions.RuntimeContext t)
-
-
-
Field Detail
-
wrappedFunction
protected T extends org.apache.flink.api.common.functions.Function wrappedFunction
-
-
Constructor Detail
-
WrappingFunction
protected WrappingFunction(T wrappedFunction)
-
-
Method Detail
-
open
public void open(org.apache.flink.api.common.functions.OpenContext openContext) throws Exception- Throws:
Exception
-
close
public void close() throws Exception- Specified by:
closein interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
closein classorg.apache.flink.api.common.functions.AbstractRichFunction- Throws:
Exception
-
setRuntimeContext
public void setRuntimeContext(org.apache.flink.api.common.functions.RuntimeContext t)
- Specified by:
setRuntimeContextin interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
setRuntimeContextin classorg.apache.flink.api.common.functions.AbstractRichFunction
-
getWrappedFunction
public T getWrappedFunction()
-
-