Class KeyFactory.DefaultKeyFactory
java.lang.Object
org.apache.storm.redis.trident.state.KeyFactory.DefaultKeyFactory
- All Implemented Interfaces:
- Serializable,- KeyFactory
- Enclosing interface:
- KeyFactory
Default Key Factory.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.storm.redis.trident.state.KeyFactoryKeyFactory.DefaultKeyFactory
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
DefaultKeyFactorypublic DefaultKeyFactory()
 
- 
- 
Method Details- 
buildConverts state key to Redis key. Currently DefaultKeyFactory returns just first element of list.- Specified by:
- buildin interface- KeyFactory
- Parameters:
- key- state key
- Returns:
- Redis key
- Throws:
- RuntimeException- when key is compound key
- See Also:
 
 
-