gr.uoa.di.madgik.searchlibrary.operatorlibrary
Class Unary
java.lang.Object
gr.uoa.di.madgik.searchlibrary.operatorlibrary.Unary
- Direct Known Subclasses:
- GradualMergeOp, PartitionOp, ScriptOp, SelectOp, TransformOp
public abstract class Unary
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inLocator
protected URI inLocator
- The locator of the input
operatorParameters
protected Map<String,String> operatorParameters
stats
protected StatsContainer stats
TimeoutDef
public static final long TimeoutDef
- The default timeout used by the
IRecordWriter and all
IRecordReaders. Currently set to 600.
- See Also:
- Constant Field Values
TimeUnitDef
public static final TimeUnit TimeUnitDef
- The default timeout unit used by the
RecordWriter and all
IRecordReaders. The current default unit is seconds.
timeout
protected long timeout
timeUnit
protected TimeUnit timeUnit
Unary
public Unary(URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats)
throws Exception
- Constructor of the abstract class. Used for initialization.
- Parameters:
inLocator - input value of the UnaryoperatorParameters - input parameters of the Unarystats - Statistics
- Throws:
Exception - If the initialization of the Unary fails
Unary
public Unary(URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
throws Exception
- Throws:
Exception
compute
public abstract URI compute()
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.