Class ValueMapper<T>
java.lang.Object
org.apache.storm.streams.operations.mappers.ValueMapper<T>
- Type Parameters:
T- the value type
- All Implemented Interfaces:
Serializable,Function<Tuple,,T> TupleValueMapper<T>,Operation
Extracts a single typed value from a tuple.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValueMapper(int index) Constructs a newValueMapperthat extracts the value at index 'i' from a tuple. -
Method Summary
-
Constructor Details
-
ValueMapper
public ValueMapper(int index) Constructs a newValueMapperthat extracts the value at index 'i' from a tuple.- Parameters:
index- the index
-
-
Method Details