com.bigdata.service.ndx
Class IdentityHandler

java.lang.Object
  extended by com.bigdata.service.ndx.IdentityHandler
All Implemented Interfaces:
IResultHandler<Object,Object>

public class IdentityHandler
extends Object
implements IResultHandler<Object,Object>

Hands back the object visited for a single index partition.

Version:
$Id: IdentityHandler.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Constructor Summary
IdentityHandler()
           
 
Method Summary
 void aggregate(Object result, Split split)
          Method is invoked for each result and is responsible for combining the results in whatever manner is meaningful for the procedure.
 Object getResult()
          Return the aggregated results as an implementation dependent object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityHandler

public IdentityHandler()
Method Detail

aggregate

public void aggregate(Object result,
                      Split split)
Description copied from interface: IResultHandler
Method is invoked for each result and is responsible for combining the results in whatever manner is meaningful for the procedure. Implementations of this method MUST be thread-safe since the procedure MAY be applied in parallel when it spans more than one index partition.

Specified by:
aggregate in interface IResultHandler<Object,Object>
Parameters:
result - The result from applying the procedure to a single index partition.
split - The Split that generated that result.

getResult

public Object getResult()
Description copied from interface: IResultHandler
Return the aggregated results as an implementation dependent object.

Specified by:
getResult in interface IResultHandler<Object,Object>


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.