org.apache.accumulo.examples.dirlist
Class StringArraySummation

java.lang.Object
  extended by org.apache.accumulo.examples.dirlist.StringArraySummation
All Implemented Interfaces:
Aggregator

public class StringArraySummation
extends java.lang.Object
implements Aggregator


Constructor Summary
StringArraySummation()
           
 
Method Summary
 Value aggregate()
           
 void collect(Value value)
           
static byte[] longArrayToStringBytes(java.lang.Long[] l)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringArraySummation

public StringArraySummation()
Method Detail

reset

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

collect

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

aggregate

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

longArrayToStringBytes

public static byte[] longArrayToStringBytes(java.lang.Long[] l)


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