Class BeamMapStateHandler

    • Constructor Detail

      • BeamMapStateHandler

        public BeamMapStateHandler​(ReadableConfig config)
    • Method Detail

      • handleGet

        public org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handleGet​(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
                                                                                              MapState<ByteArrayWrapper,​byte[]> mapState)
                                                                                       throws Exception
        Description copied from interface: BeamStateHandler
        Handles GET requests.
        Throws:
        Exception
      • handleAppend

        public org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handleAppend​(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
                                                                                                 MapState<ByteArrayWrapper,​byte[]> mapState)
                                                                                          throws Exception
        Description copied from interface: BeamStateHandler
        Handles APPEND requests.
        Throws:
        Exception
      • handleClear

        public org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handleClear​(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
                                                                                                MapState<ByteArrayWrapper,​byte[]> mapState)
                                                                                         throws Exception
        Description copied from interface: BeamStateHandler
        Handles CLEAR requests.
        Throws:
        Exception