orc.runtime.nodes.result
Class WriteResult

java.lang.Object
  extended by orc.runtime.nodes.Node
      extended by orc.runtime.nodes.result.Result
          extended by orc.runtime.nodes.result.WriteResult
All Implemented Interfaces:
java.io.Serializable

public class WriteResult
extends Result

A special node that writes its output values on the given ObjectOutputStream. Equivalent to (where F is the output file)

    P >x> F.write(x)
 

Author:
mbickford, dkitchin
See Also:
Serialized Form

Constructor Summary
WriteResult(java.io.ObjectOutputStream out)
           
 
Method Summary
 void emit(Value v)
           
 
Methods inherited from class orc.runtime.nodes.result.Result
process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteResult

public WriteResult(java.io.ObjectOutputStream out)
Method Detail

emit

public void emit(Value v)
Specified by:
emit in class Result