public static class EmptyFieldsCountAccumulator.VectorAccumulator extends Object implements org.apache.flink.api.common.accumulators.Accumulator<Integer,ArrayList<Integer>>
add(Integer)
increments the
n-th vector component. The size of the vector is automatically managed.Constructor and Description |
---|
VectorAccumulator() |
VectorAccumulator(ArrayList<Integer> resultVector) |
Modifier and Type | Method and Description |
---|---|
void |
add(Integer position)
Increases the result vector component at the specified position by 1.
|
org.apache.flink.api.common.accumulators.Accumulator<Integer,ArrayList<Integer>> |
clone() |
ArrayList<Integer> |
getLocalValue() |
void |
merge(org.apache.flink.api.common.accumulators.Accumulator<Integer,ArrayList<Integer>> other) |
void |
resetLocal() |
String |
toString() |
public void add(Integer position)
public void resetLocal()
public void merge(org.apache.flink.api.common.accumulators.Accumulator<Integer,ArrayList<Integer>> other)
public org.apache.flink.api.common.accumulators.Accumulator<Integer,ArrayList<Integer>> clone()
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.