public class KeplerCrossStub extends eu.stratosphere.api.java.record.functions.CrossFunction implements ExecutionListener
Constructor and Description |
---|
KeplerCrossStub() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Free resources.
|
void |
cross(eu.stratosphere.types.Record record1,
eu.stratosphere.types.Record record2,
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.
|
getIterationRuntimeContext, getRuntimeContext, setRuntimeContext
public KeplerCrossStub()
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 cross(eu.stratosphere.types.Record record1, eu.stratosphere.types.Record record2, eu.stratosphere.util.Collector<eu.stratosphere.types.Record> out) throws java.lang.Exception
cross
in interface eu.stratosphere.api.common.functions.GenericCrosser<eu.stratosphere.types.Record,eu.stratosphere.types.Record,eu.stratosphere.types.Record>
cross
in class eu.stratosphere.api.java.record.functions.CrossFunction
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()