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, combineSecondgetIterationRuntimeContext, getRuntimeContext, setRuntimeContextpublic KeplerCoGroupStub()
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 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.CoGroupFunctionjava.lang.Exceptionpublic void executionError(Manager manager, java.lang.Throwable throwable)
executionError in interface ExecutionListenermanager - The manager controlling the execution.throwable - The throwable to report.public void executionFinished(Manager manager)
executionFinished in interface ExecutionListenermanager - The manager controlling the execution.public void managerStateChanged(Manager manager)
managerStateChanged in interface ExecutionListenermanager - The manager controlling the execution.Manager.getState()