|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.hive.ql.exec.FetchOperator
public class FetchOperator
FetchTask implementation.
Constructor Summary | |
---|---|
FetchOperator()
|
|
FetchOperator(FetchWork work,
org.apache.hadoop.mapred.JobConf job)
|
|
FetchOperator(FetchWork work,
org.apache.hadoop.mapred.JobConf job,
Operator<?> operator,
List<VirtualColumn> vcCols)
|
Method Summary | |
---|---|
void |
clearFetchContext()
Clear the context, if anything needs to be done. |
PartitionDesc |
getCurrPart()
|
TableDesc |
getCurrTbl()
|
InspectableObject |
getNextRow()
Get the next row. |
ObjectInspector |
getOutputObjectInspector()
returns output ObjectInspector, never null |
int |
getSplitNum()
|
FetchWork |
getWork()
|
boolean |
isEmptyTable()
|
boolean |
isTblDataDone()
|
boolean |
pushRow()
Get the next row and push down it to operator tree. |
void |
setCurrPart(PartitionDesc currPart)
|
void |
setCurrTbl(TableDesc currTbl)
|
void |
setSplitNum(int splitNum)
|
void |
setTblDataDone(boolean tblDataDone)
|
void |
setupContext(List<org.apache.hadoop.fs.Path> paths)
used for bucket map join |
void |
setWork(FetchWork work)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FetchOperator()
public FetchOperator(FetchWork work, org.apache.hadoop.mapred.JobConf job)
public FetchOperator(FetchWork work, org.apache.hadoop.mapred.JobConf job, Operator<?> operator, List<VirtualColumn> vcCols)
Method Detail |
---|
public FetchWork getWork()
public void setWork(FetchWork work)
public int getSplitNum()
public void setSplitNum(int splitNum)
public PartitionDesc getCurrPart()
public void setCurrPart(PartitionDesc currPart)
public TableDesc getCurrTbl()
public void setCurrTbl(TableDesc currTbl)
public boolean isTblDataDone()
public void setTblDataDone(boolean tblDataDone)
public boolean isEmptyTable()
public boolean pushRow() throws IOException, HiveException
IOException
HiveException
public InspectableObject getNextRow() throws IOException
IOException
public void clearFetchContext() throws HiveException
HiveException
public void setupContext(List<org.apache.hadoop.fs.Path> paths)
public ObjectInspector getOutputObjectInspector() throws HiveException
HiveException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |