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

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

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

@Deprecated
public class LongSummation
extends Object
implements Aggregator


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

Constructor Detail

LongSummation

public LongSummation()
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

reset

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

bytesToLong

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

bytesToLong

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

longToBytes

public static byte[] longToBytes(long l)
Deprecated. 


Copyright © 2015 Apache Accumulo Project. All rights reserved.