public class WordCountStoreMapper extends Object implements RedisStoreMapper
Constructor and Description |
---|
WordCountStoreMapper() |
Modifier and Type | Method and Description |
---|---|
RedisDataTypeDescription |
getDataTypeDescription()
Returns descriptor which defines data type.
|
String |
getKeyFromTuple(ITuple tuple)
Extracts key from tuple.
|
String |
getValueFromTuple(ITuple tuple)
Extracts value from tuple.
|
public RedisDataTypeDescription getDataTypeDescription()
RedisMapper
Returns descriptor which defines data type.
getDataTypeDescription
in interface RedisMapper
public String getKeyFromTuple(ITuple tuple)
TupleMapper
Extracts key from tuple.
getKeyFromTuple
in interface TupleMapper
tuple
- source tuplepublic String getValueFromTuple(ITuple tuple)
TupleMapper
Extracts value from tuple.
getValueFromTuple
in interface TupleMapper
tuple
- source tupleCopyright © 2022 The Apache Software Foundation. All rights reserved.