public class BeamOperatorStateStore extends Object implements BeamStateStore
BeamStateStore that returns operator states based on BeamFnApi.StateRequest.PYTHON_STATE_PREFIX| 构造器和说明 |
|---|
BeamOperatorStateStore(org.apache.flink.runtime.state.OperatorStateBackend operatorStateBackend) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.api.common.state.ListState<byte[]> |
getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
Currently list state and union-list state is not supported.
|
org.apache.flink.api.common.state.MapState<ByteArrayWrapper,byte[]> |
getMapState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
Returns a
BroadcastState wrapped in MapState interface. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunsupportedpublic BeamOperatorStateStore(org.apache.flink.runtime.state.OperatorStateBackend operatorStateBackend)
public org.apache.flink.api.common.state.ListState<byte[]> getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
throws Exception
getListState 在接口中 BeamStateStoreExceptionpublic org.apache.flink.api.common.state.MapState<ByteArrayWrapper,byte[]> getMapState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) throws Exception
BroadcastState wrapped in MapState interface.getMapState 在接口中 BeamStateStoreExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.