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 newValuesMapperthat extracts value from aTupleat specified indices.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Valuesapply(Tuple input)Applies this function to the given argument.
-
-
-
Constructor Detail
-
ValuesMapper
public ValuesMapper(int... indices)
Constructs a newValuesMapperthat extracts value from aTupleat specified indices.- Parameters:
indices- the indices
-
-