Class JobResult

    • Method Detail

      • isSuccess

        public boolean isSuccess()
        Returns true if the job finished successfully.
      • getJobId

        public org.apache.flink.api.common.JobID getJobId()
      • getAccumulatorResults

        public Map<String,​org.apache.flink.util.SerializedValue<org.apache.flink.util.OptionalFailure<Object>>> getAccumulatorResults()
      • getNetRuntime

        public long getNetRuntime()
      • getSerializedThrowable

        public Optional<org.apache.flink.util.SerializedThrowable> getSerializedThrowable()
        Returns an empty Optional if the job finished successfully, otherwise the Optional will carry the failure cause.
      • createFrom

        public static JobResult createFrom​(AccessExecutionGraph accessExecutionGraph)
        Creates the JobResult from the given AccessExecutionGraph which must be in a globally terminal state.
        Parameters:
        accessExecutionGraph - to create the JobResult from
        Returns:
        JobResult of the given AccessExecutionGraph