gr.uoa.di.madgik.searchlibrary.operatorlibrary.booleancompare
Class ComputeMin

java.lang.Object
  extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.booleancompare.ComputeMin
All Implemented Interfaces:
Compute

public class ComputeMin
extends Object
implements Compute

Author:
UoA

Constructor Summary
ComputeMin(String xpath, String fieldName, gr.uoa.di.madgik.grs.reader.IRecordReader<gr.uoa.di.madgik.grs.record.Record> reader, long timeout, TimeUnit timeUnit)
          Constructor
 
Method Summary
 Object compute()
          Implemented method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputeMin

public ComputeMin(String xpath,
                  String fieldName,
                  gr.uoa.di.madgik.grs.reader.IRecordReader<gr.uoa.di.madgik.grs.record.Record> reader,
                  long timeout,
                  TimeUnit timeUnit)
Constructor

Parameters:
xpath - refers to the field being processed, withing the Field
fieldName - The name of the that contains the data to be processed
reader - The reader used to read input
timeout - The timeout of the reader
timeUnit - The time unit of the timeout
Method Detail

compute

public Object compute()
               throws Exception
Implemented method

Specified by:
compute in interface Compute
Returns:
result of computation
Throws:
Exception - in case of error
See Also:
Compute.compute()


Copyright © 2013. All Rights Reserved.