Class NamedFunction<T,R>

java.lang.Object
org.apache.flink.runtime.asyncprocessing.declare.NamedCallback
org.apache.flink.runtime.asyncprocessing.declare.NamedFunction<T,R>
All Implemented Interfaces:
org.apache.flink.util.function.FunctionWithException<T,R,Exception>

@Experimental public class NamedFunction<T,R> extends NamedCallback implements org.apache.flink.util.function.FunctionWithException<T,R,Exception>
A named version of Function.
  • Constructor Details

    • NamedFunction

      public NamedFunction(String name, org.apache.flink.util.function.FunctionWithException<T,R,? extends Exception> function)
  • Method Details

    • apply

      public R apply(T t) throws Exception
      Specified by:
      apply in interface org.apache.flink.util.function.FunctionWithException<T,R,Exception>
      Throws:
      Exception