gr.uoa.di.madgik.searchlibrary.operatorlibrary.grs2
Class GRS2Aggregator

java.lang.Object
  extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.Unary
      extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.grs2.GRS2Aggregator
Type Parameters:
T - extends Record
All Implemented Interfaces:
Runnable

public class GRS2Aggregator
extends gr.uoa.di.madgik.searchlibrary.operatorlibrary.Unary
implements Runnable

GRS2 created for a result set. Contents are retrieved through a gRS2 are stored in a file that is passed to a result set as a fileField.

Author:
john.gerbesiotis - DI NKUA

Field Summary
 
Fields inherited from class gr.uoa.di.madgik.searchlibrary.operatorlibrary.Unary
inLocator, operatorParameters, stats, timeout, TimeoutDef, timeUnit, TimeUnitDef
 
Constructor Summary
GRS2Aggregator(URI inLocator, Map<String,String> parameters, gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer statsCont)
           
GRS2Aggregator(URI inLocator, Map<String,String> parameters, gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer statsCont, long timeout, TimeUnit timeUnit)
           
 
Method Summary
 URI compute()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GRS2Aggregator

public GRS2Aggregator(URI inLocator,
                      Map<String,String> parameters,
                      gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer statsCont,
                      long timeout,
                      TimeUnit timeUnit)
               throws Exception
Throws:
Exception

GRS2Aggregator

public GRS2Aggregator(URI inLocator,
                      Map<String,String> parameters,
                      gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer statsCont)
               throws Exception
Parameters:
inLocator - input locator of the consuming result set
output - output value of the operator
parameters - output parameters of the operator
statsCont - statistics container
Throws:
Exception - If the initialization of the operator fails
Method Detail

compute

public URI compute()
            throws Exception
Specified by:
compute in class gr.uoa.di.madgik.searchlibrary.operatorlibrary.Unary
Throws:
Exception

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2013. All Rights Reserved.