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
- See Also:
- Serialized Form
fetchWork
public fetchWork()
fetchWork
public fetchWork(String tblDir,
tableDesc tblDesc)
fetchWork
public fetchWork(String tblDir,
tableDesc tblDesc,
int limit)
fetchWork
public fetchWork(List<String> partDir,
List<partitionDesc> partDesc)
fetchWork
public fetchWork(List<String> partDir,
List<partitionDesc> partDesc,
int limit)
getSerializationNullFormat
public String getSerializationNullFormat()
setSerializationNullFormat
public void setSerializationNullFormat(String format)
getTblDir
public String getTblDir()
- Returns:
- the tblDir
getTblDirPath
public org.apache.hadoop.fs.Path getTblDirPath()
- Returns:
- the tblDir
setTblDir
public void setTblDir(String 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 List<String> getPartDir()
- Returns:
- the partDir
getPartDirPath
public List<org.apache.hadoop.fs.Path> getPartDirPath()
convertPathToStringArray
public static List<String> convertPathToStringArray(List<org.apache.hadoop.fs.Path> paths)
convertStringToPathArray
public static List<org.apache.hadoop.fs.Path> convertStringToPathArray(List<String> paths)
setPartDir
public void setPartDir(List<String> partDir)
- Parameters:
partDir
- the partDir to set
getPartDesc
public List<partitionDesc> getPartDesc()
- Returns:
- the partDesc
setPartDesc
public void setPartDesc(List<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
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 The Apache Software Foundation