T - type of Statepublic abstract class AbstractRedisStateQuerier<T extends State> extends BaseQueryFunction<T,List<Values>>
| Modifier and Type | Field and Description | 
|---|---|
| protected String | additionalKey | 
| protected RedisDataTypeDescription.RedisDataType | dataType | 
| Constructor and Description | 
|---|
| AbstractRedisStateQuerier(RedisLookupMapper lookupMapper)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<List<Values>> | batchRetrieve(T state,
             List<TridentTuple> inputs) | 
| void | execute(TridentTuple tuple,
       List<Values> values,
       TridentCollector collector) | 
| protected abstract List<String> | retrieveValuesFromRedis(T state,
                       List<String> keys)Retrieves values from Redis that each value is corresponding to each key. | 
cleanup, prepareprotected final RedisDataTypeDescription.RedisDataType dataType
protected final String additionalKey
public AbstractRedisStateQuerier(RedisLookupMapper lookupMapper)
lookupMapper - mapper for queryingpublic void execute(TridentTuple tuple, List<Values> values, TridentCollector collector)
protected abstract List<String> retrieveValuesFromRedis(T state, List<String> keys)
state - State for handling querykeys - keys having state valuesCopyright © 2023 The Apache Software Foundation. All rights reserved.