public class DefaultKeyedStateStore extends Object implements KeyedStateStore
RuntimeContext.| Constructor and Description |
|---|
DefaultKeyedStateStore(KeyedStateBackend<?> keyedStateBackend,
ExecutionConfig executionConfig) |
| Modifier and Type | Method and Description |
|---|---|
<T,ACC> FoldingState<T,ACC> |
getFoldingState(FoldingStateDescriptor<T,ACC> stateProperties) |
<T> ListState<T> |
getListState(ListStateDescriptor<T> stateProperties) |
<UK,UV> MapState<UK,UV> |
getMapState(MapStateDescriptor<UK,UV> stateProperties) |
<T> ReducingState<T> |
getReducingState(ReducingStateDescriptor<T> stateProperties) |
<T> ValueState<T> |
getState(ValueStateDescriptor<T> stateProperties) |
public DefaultKeyedStateStore(KeyedStateBackend<?> keyedStateBackend, ExecutionConfig executionConfig)
public <T> ValueState<T> getState(ValueStateDescriptor<T> stateProperties)
getState in interface KeyedStateStorepublic <T> ListState<T> getListState(ListStateDescriptor<T> stateProperties)
getListState in interface KeyedStateStorepublic <T> ReducingState<T> getReducingState(ReducingStateDescriptor<T> stateProperties)
getReducingState in interface KeyedStateStorepublic <T,ACC> FoldingState<T,ACC> getFoldingState(FoldingStateDescriptor<T,ACC> stateProperties)
getFoldingState in interface KeyedStateStorepublic <UK,UV> MapState<UK,UV> getMapState(MapStateDescriptor<UK,UV> stateProperties)
getMapState in interface KeyedStateStoreCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.