Package org.apache.heron.streamlet
Interface SerializableSupplier<T>
-
- All Superinterfaces:
Serializable
,Supplier<T>
public interface SerializableSupplier<T> extends Supplier<T>, 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.