Class PairValueJoiner<V1,V2>
- java.lang.Object
-
- org.apache.storm.streams.operations.PairValueJoiner<V1,V2>
-
- Type Parameters:
V1
- the type of the first valueV2
- the type of the second value
- All Implemented Interfaces:
Serializable
,Operation
,ValueJoiner<V1,V2,Pair<V1,V2>>
public class PairValueJoiner<V1,V2> extends Object implements ValueJoiner<V1,V2,Pair<V1,V2>>
AValueJoiner
that joins two values to produce aPair
of the two values as the result.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PairValueJoiner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<V1,V2>
apply(V1 value1, V2 value2)
Joins two values and produces aPair
of the values as the result.
-