public class UnaryOp extends Object
| Constructor and Description |
|---|
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 |
| Modifier and Type | Method and Description |
|---|---|
URI |
compute()
Starts the operator and returns the output locator
|
public UnaryOp(String operatorType, URI inLocator, Map<String,String> operatorParameters, StatsContainer stats) throws Exception
UnaryOp with the default timeout for the writeroperatorType - The predefined type of the operatorinLocator - The input locatoroperatorParameters - The parameters for the specific operatorstats - statisticsExceptionpublic UnaryOp(String operatorType, URI inLocator, HashMap<String,String> operatorParameters, StatsContainer stats) throws Exception
Exceptionpublic UnaryOp(String operatorType, URI inLocator, Map<String,String> operatorParameters, StatsContainer stats, long timeout, TimeUnit timeUnit) throws Exception
UnaryOp with configurable timeout for the writeroperatorType - 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 usedExceptionCopyright © 2017. All Rights Reserved.