|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.exec.Task<fetchWork>
org.apache.hadoop.hive.ql.exec.FetchTask
public class FetchTask
FetchTask implementation
Field Summary |
---|
Fields inherited from class org.apache.hadoop.hive.ql.exec.Task |
---|
childTasks, conf, console, db, id, initialized, isdone, LOG, parentTasks, queryPlan, queued, started, taskCounters, taskHandle, work |
Constructor Summary | |
---|---|
FetchTask()
|
Method Summary | |
---|---|
int |
execute()
This method is overridden in each Task. |
boolean |
fetch(Vector<String> res)
|
int |
getMaxRows()
Return the maximum number of rows returned by fetch |
tableDesc |
getTblDesc()
Return the tableDesc of the fetchWork |
int |
getType()
Should be overridden to return the type of the specific task among the types in TaskType |
void |
initialize(HiveConf conf,
QueryPlan queryPlan)
|
void |
setMaxRows(int maxRows)
Set the maximum number of rows returned by fetch |
Methods inherited from class org.apache.hadoop.hive.ql.exec.Task |
---|
addDependentTask, done, executeTask, getChildTasks, getCounters, getId, getInitialized, getParentTasks, getQueued, getWork, hasReduce, isMapRedTask, isRunnable, progress, removeDependentTask, setChildTasks, setDone, setId, setInitialized, setParentTasks, setQueued, setStarted, setWork, started, updateCounters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FetchTask()
Method Detail |
---|
public void initialize(HiveConf conf, QueryPlan queryPlan)
initialize
in class Task<fetchWork>
public int execute()
Task
execute
in class Task<fetchWork>
public tableDesc getTblDesc()
public int getMaxRows()
public void setMaxRows(int maxRows)
public boolean fetch(Vector<String> res) throws IOException
fetch
in class Task<fetchWork>
IOException
public int getType()
Task
getType
in class Task<fetchWork>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |