Package org.apache.nemo.client.beam
Class BeamStateTranslator
- java.lang.Object
-
- org.apache.nemo.client.beam.BeamStateTranslator
-
- All Implemented Interfaces:
StateTranslator
public final class BeamStateTranslator extends java.lang.Object implements StateTranslator
AStateTranslator
for Beam. It provides the translation between the state of job and Beam pipeline.
-
-
Constructor Summary
Constructors Constructor Description BeamStateTranslator()
-
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.
-
-
-
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 interfaceStateTranslator
- Parameters:
jobState
- to translate.- Returns:
- the translated state.
-
-