Package org.apache.storm.redis.trident
Class WordCountStoreMapper
java.lang.Object
org.apache.storm.redis.trident.WordCountStoreMapper
- All Implemented Interfaces:
- Serializable,- RedisMapper,- RedisStoreMapper,- TupleMapper
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns descriptor which defines data type.getKeyFromTuple(ITuple tuple) Extracts key from tuple.getValueFromTuple(ITuple tuple) Extracts value from tuple.
- 
Constructor Details- 
WordCountStoreMapperpublic WordCountStoreMapper()
 
- 
- 
Method Details- 
getDataTypeDescriptionDescription copied from interface:RedisMapperReturns descriptor which defines data type.- Specified by:
- getDataTypeDescriptionin interface- RedisMapper
- Returns:
- data type descriptor
 
- 
getKeyFromTupleDescription copied from interface:TupleMapperExtracts key from tuple.- Specified by:
- getKeyFromTuplein interface- TupleMapper
- Parameters:
- tuple- source tuple
- Returns:
- key
 
- 
getValueFromTupleDescription copied from interface:TupleMapperExtracts value from tuple.- Specified by:
- getValueFromTuplein interface- TupleMapper
- Parameters:
- tuple- source tuple
- Returns:
- value
 
 
-