| Package | Description |
|---|---|
| org.apache.flink.api.common | |
| org.apache.flink.api.common.accumulators | |
| org.apache.flink.util |
| Constructor and Description |
|---|
JobExecutionResult(JobID jobID,
long netRuntime,
Map<String,OptionalFailure<Object>> accumulators)
Creates a new JobExecutionResult.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,OptionalFailure<Object>> |
AccumulatorHelper.deserializeAccumulators(Map<String,SerializedValue<OptionalFailure<Object>>> serializedAccumulators,
ClassLoader loader)
Takes the serialized accumulator results and tries to deserialize them using the provided
class loader.
|
static Map<String,OptionalFailure<Object>> |
AccumulatorHelper.toResultMap(Map<String,Accumulator<?,?>> accumulators)
Transform the Map with accumulators into a Map containing only the
results.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,OptionalFailure<Object>> |
AccumulatorHelper.deserializeAccumulators(Map<String,SerializedValue<OptionalFailure<Object>>> serializedAccumulators,
ClassLoader loader)
Takes the serialized accumulator results and tries to deserialize them using the provided
class loader.
|
static void |
AccumulatorHelper.mergeInto(Map<String,OptionalFailure<Accumulator<?,?>>> target,
Map<String,Accumulator<?,?>> toMerge)
Merge two collections of accumulators.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> OptionalFailure<T> |
OptionalFailure.createFrom(CheckedSupplier<T> valueSupplier) |
static <T> OptionalFailure<T> |
OptionalFailure.of(T value) |
static <T> OptionalFailure<T> |
OptionalFailure.ofFailure(Throwable failureCause) |
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.