Interface Function<T,R>
- Type Parameters:
T- the type of the input to the functionR- the type of the result of the function
- All Superinterfaces:
Operation,Serializable
- All Known Subinterfaces:
FlatMapFunction<T,,R> PairFlatMapFunction<T,,K, V> PairFunction<T,,K, V> TupleValueMapper<T>
- All Known Implementing Classes:
EvaluationCalc,EvaluationFunction,IdentityFunction,PairValueMapper,StreamInsertMapToPairFunction,StreamsScanTupleValueMapper,ValueMapper,ValuesMapper
Represents a function that accepts one argument and produces a result.
-
Method Summary
-
Method Details
-
apply
Applies this function to the given argument.- Parameters:
input- the input to the function- Returns:
- the function result
-