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

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

public class createTableDesc
extends ddlDesc
implements Serializable

See Also:
Serialized Form

Constructor Summary
createTableDesc(String tableName, boolean isExternal, List<FieldSchema> cols, List<FieldSchema> partCols, List<String> bucketCols, List<Order> sortCols, int numBuckets, String fieldDelim, String fieldEscape, String collItemDelim, String mapKeyDelim, String lineDelim, String comment, String inputFormat, String outputFormat, String location, String serName, Map<String,String> mapProp, boolean ifNotExists)
           
 
Method Summary
 List<String> getBucketCols()
           
 String getCollItemDelim()
           
 List<FieldSchema> getCols()
           
 List<String> getColsString()
           
 String getComment()
           
 String getFieldDelim()
           
 String getFieldEscape()
           
 boolean getIfNotExists()
           
 String getInputFormat()
           
 String getLineDelim()
           
 String getLocation()
           
 String getMapKeyDelim()
           
 Map<String,String> getMapProp()
           
 int getNumBuckets()
           
 String getOutputFormat()
           
 List<FieldSchema> getPartCols()
           
 List<String> getPartColsString()
           
 String getSerName()
           
 List<Order> getSortCols()
           
 String getTableName()
           
 boolean isExternal()
           
 void setBucketCols(List<String> bucketCols)
           
 void setCollItemDelim(String collItemDelim)
           
 void setCols(List<FieldSchema> cols)
           
 void setComment(String comment)
           
 void setExternal(boolean isExternal)
           
 void setFieldDelim(String fieldDelim)
           
 void setFieldEscape(String fieldEscape)
           
 void setIfNotExists(boolean ifNotExists)
           
 void setInputFormat(String inputFormat)
           
 void setLineDelim(String lineDelim)
           
 void setLocation(String location)
           
 void setMapKeyDelim(String mapKeyDelim)
           
 void setMapProp(Map<String,String> mapProp)
           
 void setNumBuckets(int numBuckets)
           
 void setOutputFormat(String outputFormat)
           
 void setPartCols(List<FieldSchema> partCols)
           
 void setSerName(String serName)
           
 void setSortCols(List<Order> sortCols)
           
 void setTableName(String tableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

createTableDesc

public createTableDesc(String tableName,
                       boolean isExternal,
                       List<FieldSchema> cols,
                       List<FieldSchema> partCols,
                       List<String> bucketCols,
                       List<Order> sortCols,
                       int numBuckets,
                       String fieldDelim,
                       String fieldEscape,
                       String collItemDelim,
                       String mapKeyDelim,
                       String lineDelim,
                       String comment,
                       String inputFormat,
                       String outputFormat,
                       String location,
                       String serName,
                       Map<String,String> mapProp,
                       boolean ifNotExists)
Method Detail

getIfNotExists

public boolean getIfNotExists()

setIfNotExists

public void setIfNotExists(boolean ifNotExists)

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

getCols

public List<FieldSchema> getCols()

getColsString

public List<String> getColsString()

setCols

public void setCols(List<FieldSchema> cols)

getPartCols

public List<FieldSchema> getPartCols()

getPartColsString

public List<String> getPartColsString()

setPartCols

public void setPartCols(List<FieldSchema> partCols)

getBucketCols

public List<String> getBucketCols()

setBucketCols

public void setBucketCols(List<String> bucketCols)

getNumBuckets

public int getNumBuckets()

setNumBuckets

public void setNumBuckets(int numBuckets)

getFieldDelim

public String getFieldDelim()

setFieldDelim

public void setFieldDelim(String fieldDelim)

getFieldEscape

public String getFieldEscape()

setFieldEscape

public void setFieldEscape(String fieldEscape)

getCollItemDelim

public String getCollItemDelim()

setCollItemDelim

public void setCollItemDelim(String collItemDelim)

getMapKeyDelim

public String getMapKeyDelim()

setMapKeyDelim

public void setMapKeyDelim(String mapKeyDelim)

getLineDelim

public String getLineDelim()

setLineDelim

public void setLineDelim(String lineDelim)

getComment

public String getComment()

setComment

public void setComment(String comment)

getInputFormat

public String getInputFormat()

setInputFormat

public void setInputFormat(String inputFormat)

getOutputFormat

public String getOutputFormat()

setOutputFormat

public void setOutputFormat(String outputFormat)

getLocation

public String getLocation()

setLocation

public void setLocation(String location)

isExternal

public boolean isExternal()

setExternal

public void setExternal(boolean isExternal)

getSortCols

public List<Order> getSortCols()
Returns:
the sortCols

setSortCols

public void setSortCols(List<Order> sortCols)
Parameters:
sortCols - the sortCols to set

getSerName

public String getSerName()
Returns:
the serDeName

setSerName

public void setSerName(String serName)
Parameters:
serName - the serName to set

getMapProp

public Map<String,String> getMapProp()
Returns:
the serDe properties

setMapProp

public void setMapProp(Map<String,String> mapProp)
Parameters:
mapProp - the map properties to set


Copyright © 2009 The Apache Software Foundation