public class ScriptOp extends Unary
inLocator, operatorParameters, stats, timeout, TimeoutDef, timeUnit, TimeUnitDef| Constructor and Description |
|---|
ScriptOp(URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats)
Creates a new
ScriptOp with the default timeout for the reader
and the writer |
ScriptOp(URI inLocator,
Map<String,String> operatorParameters,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
Creates a new
ScriptOp with configurable timeout for the
reader and the writer |
| Modifier and Type | Method and Description |
|---|---|
URI |
compute()
Initiates the transformation procedure
|
static File |
decompressToFile(byte[] zipped) |
public ScriptOp(URI inLocator, Map<String,String> operatorParameters, StatsContainer stats) throws Exception
ScriptOp with the default timeout for the reader
and the writerinLocator - The locator of the inputoperatorParameters - operator parameters containing the name of the script which
will be applied apply the transformationstats - StatisticsExceptionpublic ScriptOp(URI inLocator, Map<String,String> operatorParameters, StatsContainer stats, long timeout, TimeUnit timeUnit) throws Exception
ScriptOp with configurable timeout for the
reader and the writerinLocator - The locator of the inputoperatorParameters - operator parameters containing the name of the script which
will be applied apply the transformationstats - Statisticstimeout - The timeout to be used both by the reader and the writertimeUnit - The time unit of the timeout usedExceptionCopyright © 2017. All Rights Reserved.