org.apache.accumulo.core.iterators.aggregation
Class NumSummation

java.lang.Object
  extended by org.apache.accumulo.core.iterators.aggregation.NumSummation
All Implemented Interfaces:
Aggregator

Deprecated. since 1.4, replaced by SummingCombiner with LongCombiner.Type.VARLEN

public class NumSummation
extends Object
implements Aggregator


Constructor Summary
NumSummation()
          Deprecated.  
 
Method Summary
 Value aggregate()
          Deprecated.  
static long bytesToLong(byte[] b)
          Deprecated.  
 void collect(Value value)
          Deprecated.  
static byte[] longToBytes(long l)
          Deprecated.  
 void reset()
          Deprecated.  
static long safeAdd(long a, long b)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumSummation

public NumSummation()
Deprecated. 
Method Detail

aggregate

public Value aggregate()
Deprecated. 
Specified by:
aggregate in interface Aggregator

collect

public void collect(Value value)
Deprecated. 
Specified by:
collect in interface Aggregator

longToBytes

public static byte[] longToBytes(long l)
                          throws IOException
Deprecated. 
Throws:
IOException

bytesToLong

public static long bytesToLong(byte[] b)
                        throws IOException
Deprecated. 
Throws:
IOException

safeAdd

public static long safeAdd(long a,
                           long b)
Deprecated. 

reset

public void reset()
Deprecated. 
Specified by:
reset in interface Aggregator


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.