org.apache.hadoop.hive.ql.plan
Class FetchWork
java.lang.Object
org.apache.hadoop.hive.ql.plan.FetchWork
- All Implemented Interfaces:
- Serializable
public class FetchWork
- extends Object
- implements Serializable
FetchWork.
- See Also:
- Serialized Form
FetchWork
public FetchWork()
FetchWork
public FetchWork(List<List<Object>> rowsComputedFromStats,
ObjectInspector statRowOI)
FetchWork
public FetchWork(org.apache.hadoop.fs.Path tblDir,
TableDesc tblDesc)
FetchWork
public FetchWork(org.apache.hadoop.fs.Path tblDir,
TableDesc tblDesc,
int limit)
FetchWork
public FetchWork(List<org.apache.hadoop.fs.Path> partDir,
List<PartitionDesc> partDesc,
TableDesc tblDesc)
FetchWork
public FetchWork(List<org.apache.hadoop.fs.Path> partDir,
List<PartitionDesc> partDesc,
TableDesc tblDesc,
int limit)
getStatRowOI
public ObjectInspector getStatRowOI()
getRowsComputedUsingStats
public List<List<Object>> getRowsComputedUsingStats()
initializeForFetch
public void initializeForFetch()
getSerializationNullFormat
public String getSerializationNullFormat()
setSerializationNullFormat
public void setSerializationNullFormat(String format)
isNotPartitioned
public boolean isNotPartitioned()
isPartitioned
public boolean isPartitioned()
getTblDir
public org.apache.hadoop.fs.Path getTblDir()
- Returns:
- the tblDir
setTblDir
public void setTblDir(org.apache.hadoop.fs.Path tblDir)
- Parameters:
tblDir
- the tblDir to set
getTblDesc
public TableDesc getTblDesc()
- Returns:
- the tblDesc
setTblDesc
public void setTblDesc(TableDesc tblDesc)
- Parameters:
tblDesc
- the tblDesc to set
getPartDir
public ArrayList<org.apache.hadoop.fs.Path> getPartDir()
- Returns:
- the partDir
setPartDir
public void setPartDir(ArrayList<org.apache.hadoop.fs.Path> partDir)
- Parameters:
partDir
- the partDir to set
getPartDesc
public ArrayList<PartitionDesc> getPartDesc()
- Returns:
- the partDesc
getPartDescOrderedByPartDir
public ArrayList<PartitionDesc> getPartDescOrderedByPartDir()
- Get Partition descriptors in sorted (ascending) order of partition directory
- Returns:
- the partDesc array list
getPartDescs
public List<PartitionDesc> getPartDescs(List<org.apache.hadoop.fs.Path> paths)
- Returns:
- the partDescs for paths
setPartDesc
public void setPartDesc(ArrayList<PartitionDesc> partDesc)
- Parameters:
partDesc
- the partDesc to set
getLimit
public int getLimit()
- Returns:
- the limit
setLimit
public void setLimit(int limit)
- Parameters:
limit
- the limit to set
getLeastNumRows
public int getLeastNumRows()
setLeastNumRows
public void setLeastNumRows(int leastNumRows)
getSource
public Operator<?> getSource()
setSource
public void setSource(Operator<?> source)
getSink
public ListSinkOperator getSink()
setSink
public void setSink(ListSinkOperator sink)
setSplitSample
public void setSplitSample(SplitSample splitSample)
getSplitSample
public SplitSample getSplitSample()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 The Apache Software Foundation. All rights reserved.