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
public interface Function<T,R> extends Operation
Represents a function that accepts one argument and produces a result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
apply(T input)
Applies this function to the given argument.
-