|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.searchlibrary.operatorlibrary.UnaryOp
public class UnaryOp
Represents and unary operator class that takes single result set as input and returns result set as output
| Constructor Summary | |
|---|---|
UnaryOp(String operatorType,
URI inLocator,
HashMap<String,String> operatorParameters,
StatsContainer stats)
|
|
UnaryOp(String operatorType,
URI inLocator,
HashMap<String,String> operatorParameters,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
|
|
UnaryOp(String operatorType,
URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats)
Creates a new UnaryOp with the default timeout for the writer |
|
UnaryOp(String operatorType,
URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
Creates a new UnaryOp with configurable timeout for the writer |
|
| Method Summary | |
|---|---|
URI |
compute()
Starts the operator and returns the output locator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnaryOp(String operatorType,
URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats)
throws Exception
UnaryOp with the default timeout for the writer
operatorType - The predefined type of the operatorinLocator - The input locatoroperatorParameters - The parameters for the specific operatorstats - statistics
Exception
public UnaryOp(String operatorType,
URI inLocator,
HashMap<String,String> operatorParameters,
StatsContainer stats)
throws Exception
Exception
public UnaryOp(String operatorType,
URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
throws Exception
UnaryOp with configurable timeout for the writer
operatorType - The predefined type of the operatorinLocator - The input locatoroperatorParameters - The parameters for the specific operatorstats - statisticstimeout - The timeout to be used for the writertimeUnit - The time unit of the timeout used
Exception
public UnaryOp(String operatorType,
URI inLocator,
HashMap<String,String> operatorParameters,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
throws Exception
Exception| Method Detail |
|---|
public URI compute()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||