public class DefaultKeyedStateStore extends Object implements org.apache.flink.api.common.state.KeyedStateStore
RuntimeContext.| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.flink.api.common.ExecutionConfig |
executionConfig |
protected KeyedStateBackend<?> |
keyedStateBackend |
| 构造器和说明 |
|---|
DefaultKeyedStateStore(KeyedStateBackend<?> keyedStateBackend,
org.apache.flink.api.common.ExecutionConfig executionConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
<IN,ACC,OUT> |
getAggregatingState(org.apache.flink.api.common.state.AggregatingStateDescriptor<IN,ACC,OUT> stateProperties) |
<T> org.apache.flink.api.common.state.ListState<T> |
getListState(org.apache.flink.api.common.state.ListStateDescriptor<T> stateProperties) |
<UK,UV> org.apache.flink.api.common.state.MapState<UK,UV> |
getMapState(org.apache.flink.api.common.state.MapStateDescriptor<UK,UV> stateProperties) |
protected <S extends org.apache.flink.api.common.state.State> |
getPartitionedState(org.apache.flink.api.common.state.StateDescriptor<S,?> stateDescriptor) |
<T> org.apache.flink.api.common.state.ReducingState<T> |
getReducingState(org.apache.flink.api.common.state.ReducingStateDescriptor<T> stateProperties) |
<T> org.apache.flink.api.common.state.ValueState<T> |
getState(org.apache.flink.api.common.state.ValueStateDescriptor<T> stateProperties) |
protected final KeyedStateBackend<?> keyedStateBackend
protected final org.apache.flink.api.common.ExecutionConfig executionConfig
public DefaultKeyedStateStore(KeyedStateBackend<?> keyedStateBackend, org.apache.flink.api.common.ExecutionConfig executionConfig)
public <T> org.apache.flink.api.common.state.ValueState<T> getState(org.apache.flink.api.common.state.ValueStateDescriptor<T> stateProperties)
getState 在接口中 org.apache.flink.api.common.state.KeyedStateStorepublic <T> org.apache.flink.api.common.state.ListState<T> getListState(org.apache.flink.api.common.state.ListStateDescriptor<T> stateProperties)
getListState 在接口中 org.apache.flink.api.common.state.KeyedStateStorepublic <T> org.apache.flink.api.common.state.ReducingState<T> getReducingState(org.apache.flink.api.common.state.ReducingStateDescriptor<T> stateProperties)
getReducingState 在接口中 org.apache.flink.api.common.state.KeyedStateStorepublic <IN,ACC,OUT> org.apache.flink.api.common.state.AggregatingState<IN,OUT> getAggregatingState(org.apache.flink.api.common.state.AggregatingStateDescriptor<IN,ACC,OUT> stateProperties)
getAggregatingState 在接口中 org.apache.flink.api.common.state.KeyedStateStorepublic <UK,UV> org.apache.flink.api.common.state.MapState<UK,UV> getMapState(org.apache.flink.api.common.state.MapStateDescriptor<UK,UV> stateProperties)
getMapState 在接口中 org.apache.flink.api.common.state.KeyedStateStoreCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.