org.apache.hadoop.hive.ql.exec
Class FetchOperator

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.FetchOperator

public class FetchOperator
extends Object

FetchTask implementation


Field Summary
protected  SessionState.LogHelper console
           
protected  org.apache.commons.logging.Log LOG
           
 
Constructor Summary
FetchOperator(fetchWork work, org.apache.hadoop.mapred.JobConf job)
           
 
Method Summary
 void clearFetchContext()
          Clear the context, if anything needs to be done.
 InspectableObject getNextRow()
          Get the next row.
 ObjectInspector getOutputObjectInspector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected transient org.apache.commons.logging.Log LOG

console

protected transient SessionState.LogHelper console
Constructor Detail

FetchOperator

public FetchOperator(fetchWork work,
                     org.apache.hadoop.mapred.JobConf job)
Method Detail

getNextRow

public InspectableObject getNextRow()
                             throws IOException
Get the next row. The fetch context is modified appropriately.

Throws:
IOException

clearFetchContext

public void clearFetchContext()
                       throws HiveException
Clear the context, if anything needs to be done.

Throws:
HiveException

getOutputObjectInspector

public ObjectInspector getOutputObjectInspector()
                                         throws HiveException
Throws:
HiveException


Copyright © 2009 The Apache Software Foundation