public interface RedisLookupMapper extends TupleMapper, RedisMapper
Modifier and Type | Method and Description |
---|---|
void |
declareOutputFields(OutputFieldsDeclarer declarer)
declare what are the fields that this code will output.
|
List<Values> |
toTuple(ITuple input,
Object value)
Converts return value from Redis to a list of storm values that can be emitted.
|
getKeyFromTuple, getValueFromTuple
getDataTypeDescription
List<Values> toTuple(ITuple input, Object value)
input
- the input tuple.value
- Redis query response value. Can be String, Boolean, Long regarding of data type.void declareOutputFields(OutputFieldsDeclarer declarer)
declarer
- OutputFieldsDeclarerCopyright © 2023 The Apache Software Foundation. All rights reserved.