Class BeamKeyedStateStore

    • Constructor Summary

      Constructors 
      Constructor Description
      BeamKeyedStateStore​(org.apache.flink.runtime.state.KeyedStateBackend<?> keyedStateBackend, org.apache.flink.api.common.typeutils.TypeSerializer<?> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<?> namespaceSerializer)  
    • Constructor Detail

      • BeamKeyedStateStore

        public BeamKeyedStateStore​(org.apache.flink.runtime.state.KeyedStateBackend<?> keyedStateBackend,
                                   org.apache.flink.api.common.typeutils.TypeSerializer<?> keySerializer,
                                   @Nullable
                                   org.apache.flink.api.common.typeutils.TypeSerializer<?> namespaceSerializer)
    • Method Detail

      • getListState

        public org.apache.flink.api.common.state.ListState<byte[]> getListState​(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
                                                                         throws Exception
        Description copied from interface: BeamStateStore
        Parse BeamFnApi.StateRequest and return the corresponding ListState.
        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
        Description copied from interface: BeamStateStore
        Parse BeamFnApi.StateRequest and return the corresponding MapState.
        Specified by:
        getMapState in interface BeamStateStore
        Throws:
        Exception