Class BeamStateTranslator

  • All Implemented Interfaces:
    StateTranslator

    public final class BeamStateTranslator
    extends java.lang.Object
    implements StateTranslator
    A StateTranslator for Beam. It provides the translation between the state of job and Beam pipeline.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Enum translateState​(PlanState.State jobState)
      Translate a job state of nemo to a corresponding Beam state.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BeamStateTranslator

        public BeamStateTranslator()
    • Method Detail

      • translateState

        public java.lang.Enum translateState​(PlanState.State jobState)
        Translate a job state of nemo to a corresponding Beam state.
        Specified by:
        translateState in interface StateTranslator
        Parameters:
        jobState - to translate.
        Returns:
        the translated state.