Class ValuesMapper
- java.lang.Object
-
- org.apache.storm.streams.operations.mappers.ValuesMapper
-
- All Implemented Interfaces:
Serializable
,Function<Tuple,Values>
,TupleValueMapper<Values>
,Operation
public class ValuesMapper extends Object implements TupleValueMapper<Values>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValuesMapper(int... indices)
Constructs a newValuesMapper
that extracts value from aTuple
at specified indices.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Values
apply(Tuple input)
Applies this function to the given argument.
-
-
-
Constructor Detail
-
ValuesMapper
public ValuesMapper(int... indices)
Constructs a newValuesMapper
that extracts value from aTuple
at specified indices.- Parameters:
indices
- the indices
-
-