public static class SparkCounterGroup.MapSparkCounterGroup extends SparkCounterGroup<Map<String,Long>>
SparkCounterGroup.LongSparkCounterGroup, SparkCounterGroup.MapSparkCounterGroup
groupDisplayName, groupName, javaSparkContext, sparkCounters
Constructor and Description |
---|
MapSparkCounterGroup(String groupName,
String groupDisplayName,
JavaSparkContext javaSparkContext) |
Modifier and Type | Method and Description |
---|---|
void |
createCounter(String name,
Map<String,Long> initValue) |
getCounter, getGroupDisplayName, getGroupName, getSparkCounters, setGroupDisplayName
public void createCounter(String name, Map<String,Long> initValue)
createCounter
in class SparkCounterGroup<Map<String,Long>>
Copyright © 2007-2017 The Apache Software Foundation