Interface TupleMapper
- All Superinterfaces:
- Serializable
- All Known Subinterfaces:
- RedisFilterMapper,- RedisLookupMapper,- RedisStoreMapper
- All Known Implementing Classes:
- WordCountLookupMapper,- WordCountStoreMapper
TupleMapper defines how to extract key and value from tuple for Redis.
- 
Method SummaryModifier and TypeMethodDescriptiongetKeyFromTuple(ITuple tuple) Extracts key from tuple.getValueFromTuple(ITuple tuple) Extracts value from tuple.
- 
Method Details- 
getKeyFromTupleExtracts key from tuple.- Parameters:
- tuple- source tuple
- Returns:
- key
 
- 
getValueFromTupleExtracts value from tuple.- Parameters:
- tuple- source tuple
- Returns:
- value
 
 
-