public class KeplerCoGroupStub extends eu.stratosphere.api.java.record.functions.CoGroupFunction implements ExecutionListener
Constructor and Description |
---|
KeplerCoGroupStub() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Free resources.
|
void |
coGroup(java.util.Iterator<eu.stratosphere.types.Record> records1,
java.util.Iterator<eu.stratosphere.types.Record> records2,
eu.stratosphere.util.Collector<eu.stratosphere.types.Record> out)
Transfer the data from Stratosphere to Kepler, execute the workflow,
and then transfer the data from Kepler to Stratosphere.
|
void |
executionError(Manager manager,
java.lang.Throwable throwable)
Report workflow execution errors to the log.
|
void |
executionFinished(Manager manager)
Do nothing.
|
void |
managerStateChanged(Manager manager)
Do nothing.
|
void |
open(eu.stratosphere.configuration.Configuration parameters)
Configure the stub by loading the workflow and setting the PACT data
types from the workflow stub actors.
|
combineFirst, combineSecond
getIterationRuntimeContext, getRuntimeContext, setRuntimeContext
public KeplerCoGroupStub()
public void close() throws java.lang.Exception
close
in interface eu.stratosphere.api.common.functions.Function
close
in class eu.stratosphere.api.common.functions.AbstractFunction
java.lang.Exception
public void open(eu.stratosphere.configuration.Configuration parameters) throws java.lang.Exception
open
in interface eu.stratosphere.api.common.functions.Function
open
in class eu.stratosphere.api.common.functions.AbstractFunction
java.lang.Exception
public void coGroup(java.util.Iterator<eu.stratosphere.types.Record> records1, java.util.Iterator<eu.stratosphere.types.Record> records2, eu.stratosphere.util.Collector<eu.stratosphere.types.Record> out) throws java.lang.Exception
coGroup
in interface eu.stratosphere.api.common.functions.GenericCoGrouper<eu.stratosphere.types.Record,eu.stratosphere.types.Record,eu.stratosphere.types.Record>
coGroup
in class eu.stratosphere.api.java.record.functions.CoGroupFunction
java.lang.Exception
public void executionError(Manager manager, java.lang.Throwable throwable)
executionError
in interface ExecutionListener
manager
- The manager controlling the execution.throwable
- The throwable to report.public void executionFinished(Manager manager)
executionFinished
in interface ExecutionListener
manager
- The manager controlling the execution.public void managerStateChanged(Manager manager)
managerStateChanged
in interface ExecutionListener
manager
- The manager controlling the execution.Manager.getState()