Class StringifiedAccumulatorResult
- java.lang.Object
-
- org.apache.flink.runtime.accumulators.StringifiedAccumulatorResult
-
- All Implemented Interfaces:
Serializable
public class StringifiedAccumulatorResult extends Object implements Serializable
Container class that transports the result of an accumulator as set of strings.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringifiedAccumulatorResult(String name, String type, String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
String
getType()
String
getValue()
static StringifiedAccumulatorResult[]
stringifyAccumulatorResults(Map<String,OptionalFailure<Accumulator<?,?>>> accs)
Flatten a map of accumulator names to Accumulator instances into an array of StringifiedAccumulatorResult values.
-
-
-
Method Detail
-
getName
public String getName()
-
getType
public String getType()
-
getValue
public String getValue()
-
stringifyAccumulatorResults
public static StringifiedAccumulatorResult[] stringifyAccumulatorResults(Map<String,OptionalFailure<Accumulator<?,?>>> accs)
Flatten a map of accumulator names to Accumulator instances into an array of StringifiedAccumulatorResult values.
-
-