public class ScriptEngineReduceStub extends eu.stratosphere.api.java.record.functions.ReduceFunction
| Constructor and Description |
|---|
ScriptEngineReduceStub() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
open(eu.stratosphere.configuration.Configuration parameters) |
void |
reduce(java.util.Iterator<eu.stratosphere.types.Record> records,
eu.stratosphere.util.Collector<eu.stratosphere.types.Record> out) |
getIterationRuntimeContext, getRuntimeContext, setRuntimeContextpublic ScriptEngineReduceStub()
public void close() throws java.lang.Exception
close in interface eu.stratosphere.api.common.functions.Functionclose in class eu.stratosphere.api.common.functions.AbstractFunctionjava.lang.Exceptionpublic void open(eu.stratosphere.configuration.Configuration parameters) throws java.lang.Exception
open in interface eu.stratosphere.api.common.functions.Functionopen in class eu.stratosphere.api.common.functions.AbstractFunctionjava.lang.Exceptionpublic void reduce(java.util.Iterator<eu.stratosphere.types.Record> records, eu.stratosphere.util.Collector<eu.stratosphere.types.Record> out) throws java.lang.Exception
reduce in interface eu.stratosphere.api.common.functions.GenericReducer<eu.stratosphere.types.Record,eu.stratosphere.types.Record>reduce in class eu.stratosphere.api.java.record.functions.ReduceFunctionjava.lang.Exception