All Known Implementing Classes:
BeamKeyedStateStore, BeamOperatorStateStore

public interface BeamStateStore
Interface for getting the underlying state based on Beam state request (keyed state or operator state).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.api.common.state.ListState<byte[]>
    getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
    Parse BeamFnApi.StateRequest and return the corresponding ListState.
    org.apache.flink.api.common.state.MapState<ByteArrayWrapper,byte[]>
    getMapState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request)
    Parse BeamFnApi.StateRequest and return the corresponding MapState.
     
  • Field Details

  • Method Details

    • getListState

      org.apache.flink.api.common.state.ListState<byte[]> getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) throws Exception
      Parse BeamFnApi.StateRequest and return the corresponding ListState.
      Throws:
      Exception
    • getMapState

      org.apache.flink.api.common.state.MapState<ByteArrayWrapper,byte[]> getMapState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) throws Exception
      Parse BeamFnApi.StateRequest and return the corresponding MapState.
      Throws:
      Exception
    • unsupported

      static BeamStateStore unsupported()