Package org.apache.heron.streamlet
Interface SerializableFunction<A,B>
-
- All Superinterfaces:
Function<A,B>
,Serializable
public interface SerializableFunction<A,B> extends Function<A,B>, Serializable
All user supplied transformation functions have to be serializable. Thus all Streamlet transformation definitions take Serializable Functions as their input. We simply decorate java.util. function definitions with a Serializable tag to ensure that any supplied lambda functions automatically become serializable.