public class RedisStateQuerier extends AbstractRedisStateQuerier<RedisState>
BaseQueryFunction implementation for single Redis environment.
AbstractRedisStateQuerier
,
Serialized FormadditionalKey, dataType
Constructor and Description |
---|
RedisStateQuerier(RedisLookupMapper lookupMapper)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected List<String> |
retrieveValuesFromRedis(RedisState state,
List<String> keys)
Retrieves values from Redis that each value is corresponding to each key.
|
batchRetrieve, execute
cleanup, prepare
public RedisStateQuerier(RedisLookupMapper lookupMapper)
Constructor
lookupMapper
- mapper for queryingprotected List<String> retrieveValuesFromRedis(RedisState state, List<String> keys)
Retrieves values from Redis that each value is corresponding to each key.
retrieveValuesFromRedis
in class AbstractRedisStateQuerier<RedisState>
state
- State for handling querykeys
- keys having state valuesCopyright © 2019 The Apache Software Foundation. All Rights Reserved.