org.apache.hadoop.hive.ql.plan
Class FetchWork

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.FetchWork
All Implemented Interfaces:
Serializable

public class FetchWork
extends Object
implements Serializable

FetchWork.

See Also:
Serialized Form

Constructor Summary
FetchWork()
           
FetchWork(List<String> partDir, List<PartitionDesc> partDesc)
           
FetchWork(List<String> partDir, List<PartitionDesc> partDesc, int limit)
           
FetchWork(String tblDir, TableDesc tblDesc)
           
FetchWork(String tblDir, TableDesc tblDesc, int limit)
           
 
Method Summary
static List<String> convertPathToStringArray(List<org.apache.hadoop.fs.Path> paths)
           
static List<org.apache.hadoop.fs.Path> convertStringToPathArray(List<String> paths)
           
 int getLimit()
           
 ArrayList<PartitionDesc> getPartDesc()
           
 ArrayList<String> getPartDir()
           
 List<org.apache.hadoop.fs.Path> getPartDirPath()
           
 String getSerializationNullFormat()
           
 TableDesc getTblDesc()
           
 String getTblDir()
           
 org.apache.hadoop.fs.Path getTblDirPath()
           
 void setLimit(int limit)
           
 void setPartDesc(ArrayList<PartitionDesc> partDesc)
           
 void setPartDir(ArrayList<String> partDir)
           
 void setSerializationNullFormat(String format)
           
 void setTblDesc(TableDesc tblDesc)
           
 void setTblDir(String tblDir)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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 ArrayList<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(ArrayList<String> partDir)
Parameters:
partDir - the partDir to set

getPartDesc

public ArrayList<PartitionDesc> getPartDesc()
Returns:
the partDesc

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 The Apache Software Foundation