InputT
- input value typeOutputT
- output value type@FunctionalInterface public interface SerializableFunction<InputT,OutputT> extends ProcessFunction<InputT,OutputT>, java.io.Serializable
OutputT
from an input value of type
InputT
, is Serializable
, and does not allow checked exceptions to be declared.
To allow checked exceptions, implement the superinterface ProcessFunction
instead. To
allow more robust Coder
inference, see InferableFunction
.
Modifier and Type | Method and Description |
---|---|
OutputT |
apply(InputT input)
Returns the result of invoking this function on the given input.
|