public static final class DetachedEnvironment.DetachedJobExecutionResult extends JobExecutionResult
Modifier and Type | Field and Description |
---|---|
static DetachedEnvironment.DetachedJobExecutionResult |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
<T> T |
getAccumulatorResult(String accumulatorName)
Gets the accumulator with the given name.
|
Map<String,Object> |
getAllAccumulatorResults()
Gets all accumulators produced by the job.
|
Integer |
getIntCounterResult(String accumulatorName)
Gets the accumulator with the given name as an integer.
|
JobID |
getJobID()
Returns the JobID assigned to the job by the Flink runtime.
|
long |
getNetRuntime()
Gets the net execution time of the job, i.e., the execution time in the parallel system,
without the pre-flight steps like the optimizer.
|
fromJobSubmissionResult, getNetRuntime
public static final DetachedEnvironment.DetachedJobExecutionResult INSTANCE
public long getNetRuntime()
JobExecutionResult
getNetRuntime
in class JobExecutionResult
public <T> T getAccumulatorResult(String accumulatorName)
JobExecutionResult
null
, if no accumulator with
that name was produced.getAccumulatorResult
in class JobExecutionResult
T
- The generic type of the accumulator value.accumulatorName
- The name of the accumulator.public Map<String,Object> getAllAccumulatorResults()
JobExecutionResult
getAllAccumulatorResults
in class JobExecutionResult
public Integer getIntCounterResult(String accumulatorName)
JobExecutionResult
getIntCounterResult
in class JobExecutionResult
accumulatorName
- Name of the counterpublic JobID getJobID()
JobSubmissionResult
getJobID
in class JobSubmissionResult
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.