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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.Task<moveWork>
      extended by org.apache.hadoop.hive.ql.exec.MoveTask
All Implemented Interfaces:
Serializable

public class MoveTask
extends Task<moveWork>
implements Serializable

MoveTask implementation

See Also:
Serialized Form

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
MoveTask()
           
 
Method Summary
 int execute()
          This method is overridden in each Task.
 int getType()
          Should be overridden to return the type of the specific task among the types in TaskType
 boolean isLocal()
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.Task
addDependentTask, done, executeTask, fetch, getChildTasks, getCounters, getId, getInitialized, getParentTasks, getQueued, getWork, hasReduce, initialize, 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

MoveTask

public MoveTask()
Method Detail

execute

public int execute()
Description copied from class: Task
This method is overridden in each Task. TODO execute should return a TaskHandle.

Specified by:
execute in class Task<moveWork>
Returns:
status of executing the task

isLocal

public boolean isLocal()

getType

public int getType()
Description copied from class: Task
Should be overridden to return the type of the specific task among the types in TaskType

Overrides:
getType in class Task<moveWork>
Returns:
TaskTypeType.* or -1 if not overridden


Copyright © 2009 The Apache Software Foundation