org.apache.hadoop.hive.ql.plan
Class createTableDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.ddlDesc
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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