public static class SparkCounter.MapSparkCounter extends SparkCounter<java.util.Map<java.lang.String,java.lang.Long>>
SparkCounter.LongSparkCounter, SparkCounter.MapSparkCounter
Constructor and Description |
---|
MapSparkCounter() |
MapSparkCounter(java.lang.String name,
java.lang.String displayName,
java.lang.String groupName,
java.util.Map<java.lang.String,java.lang.Long> initValue,
JavaSparkContext sparkContext) |
Modifier and Type | Method and Description |
---|---|
protected <any> |
createAccumulatorParam() |
getDisplayName, getName, getValue, increment, setDisplayName
public MapSparkCounter()
public MapSparkCounter(java.lang.String name, java.lang.String displayName, java.lang.String groupName, java.util.Map<java.lang.String,java.lang.Long> initValue, JavaSparkContext sparkContext)
protected <any> createAccumulatorParam()
createAccumulatorParam
in class SparkCounter<java.util.Map<java.lang.String,java.lang.Long>>
Copyright © 2007-2017 The Apache Software Foundation