net.sf.farrago.runtime
Class FarragoGeneratedCodeExamples.ExampleGeneratedFarragoTransform

java.lang.Object
  extended by net.sf.farrago.runtime.FarragoTransformImpl
      extended by net.sf.farrago.runtime.FarragoGeneratedCodeExamples.ExampleGeneratedFarragoTransform
All Implemented Interfaces:
FarragoTransform
Enclosing class:
FarragoGeneratedCodeExamples

public class FarragoGeneratedCodeExamples.ExampleGeneratedFarragoTransform
extends FarragoTransformImpl
implements FarragoTransform

ExampleGeneratedFarragoTransform an example of what a generated FarragoTransform looks like. See FarragoGeneratedCodeExamples.exampleFarragoTransform().


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.sf.farrago.runtime.FarragoTransform
FarragoTransform.InputBinding
 
Constructor Summary
FarragoGeneratedCodeExamples.ExampleGeneratedFarragoTransform()
           
 
Method Summary
 void init(FarragoRuntimeContext connection, String farragoTransformStreamName, FarragoTransform.InputBinding[] inputBindings)
          Binds all inputs and initializes the transform.
 
Methods inherited from class net.sf.farrago.runtime.FarragoTransformImpl
execute, getTupleIter, init, restart, setInputFetchTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.farrago.runtime.FarragoTransform
execute, restart, setInputFetchTimeout
 

Constructor Detail

FarragoGeneratedCodeExamples.ExampleGeneratedFarragoTransform

public FarragoGeneratedCodeExamples.ExampleGeneratedFarragoTransform()
Method Detail

init

public void init(FarragoRuntimeContext connection,
                 String farragoTransformStreamName,
                 FarragoTransform.InputBinding[] inputBindings)
Description copied from interface: FarragoTransform
Binds all inputs and initializes the transform. This method is typically generated. It is called by FarragoExecutableJavaStmt.execute(net.sf.farrago.session.FarragoSessionRuntimeContext).

Specified by:
init in interface FarragoTransform
Parameters:
connection - the FarragoRuntimeContext of the query that contains this transform.
farragoTransformStreamName - the globally unique name of the ExecStream that implements this transform.
inputBindings - bindings between the transform's input streamIds and the ordinal assigned to them in the stream graph