public final class MemoryAccumulator<A> extends Object
Constructor and Description |
---|
MemoryAccumulator(MemoryComputeKey<A> memoryComputeKey) |
Modifier and Type | Method and Description |
---|---|
ObjectWritable<A> |
addAccumulator(ObjectWritable<A> a,
ObjectWritable<A> b) |
ObjectWritable<A> |
addInPlace(ObjectWritable<A> a,
ObjectWritable<A> b) |
ObjectWritable<A> |
zero(ObjectWritable<A> a) |
public MemoryAccumulator(MemoryComputeKey<A> memoryComputeKey)
public ObjectWritable<A> addAccumulator(ObjectWritable<A> a, ObjectWritable<A> b)
public ObjectWritable<A> addInPlace(ObjectWritable<A> a, ObjectWritable<A> b)
public ObjectWritable<A> zero(ObjectWritable<A> a)
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.