Class BeamOperatorStateStore

    • Constructor Detail

      • BeamOperatorStateStore

        public BeamOperatorStateStore​(org.apache.flink.runtime.state.OperatorStateBackend operatorStateBackend)
    • Method Detail

      • getListState

        public org.apache.flink.api.common.state.ListState<byte[]> getListState​(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
                                                                         throws Exception
        Currently list state and union-list state is not supported.
        Specified by:
        getListState in interface BeamStateStore
        Throws:
        Exception
      • getMapState

        public org.apache.flink.api.common.state.MapState<ByteArrayWrapper,​byte[]> getMapState​(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
                                                                                              throws Exception
        Returns a BroadcastState wrapped in MapState interface.
        Specified by:
        getMapState in interface BeamStateStore
        Throws:
        Exception