org.apache.pig.impl.streaming
Class DefaultOutputHandler

java.lang.Object
  extended by org.apache.pig.impl.streaming.OutputHandler
      extended by org.apache.pig.impl.streaming.DefaultOutputHandler

public class DefaultOutputHandler
extends OutputHandler

FileOutputHandler handles the output from the Pig-Streaming executable in an synchronous manner by reading its output via its stdout.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pig.impl.streaming.OutputHandler
OutputHandler.OutputType
 
Field Summary
 
Fields inherited from class org.apache.pig.impl.streaming.OutputHandler
alreadyClosed, deserializer, in
 
Constructor Summary
DefaultOutputHandler()
           
DefaultOutputHandler(StreamingCommand.HandleSpec spec)
           
 
Method Summary
 OutputHandler.OutputType getOutputType()
          Get the handled OutputType.
 
Methods inherited from class org.apache.pig.impl.streaming.OutputHandler
bindTo, close, getNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOutputHandler

public DefaultOutputHandler()

DefaultOutputHandler

public DefaultOutputHandler(StreamingCommand.HandleSpec spec)
Method Detail

getOutputType

public OutputHandler.OutputType getOutputType()
Description copied from class: OutputHandler
Get the handled OutputType.

Specified by:
getOutputType in class OutputHandler
Returns:
the handled OutputType


Copyright © ${year} The Apache Software Foundation