public class CreateTableLikeDesc extends DDLDesc implements Serializable
Constructor and Description |
---|
CreateTableLikeDesc() |
CreateTableLikeDesc(String tableName,
boolean isExternal,
boolean isTemporary,
String defaultInputFormat,
String defaultOutputFormat,
String location,
String defaultSerName,
Map<String,String> defaultSerdeProps,
Map<String,String> tblProps,
boolean ifNotExists,
String likeTableName,
boolean isUserStorageFormat) |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultInputFormat() |
String |
getDefaultOutputFormat() |
Map<String,String> |
getDefaultSerdeProps() |
String |
getDefaultSerName() |
boolean |
getIfNotExists() |
String |
getLikeTableName() |
String |
getLocation() |
String |
getTableName() |
Map<String,String> |
getTblProps() |
boolean |
isExternal() |
boolean |
isTemporary() |
boolean |
isUserStorageFormat()
True if user has specified storage format in query
|
void |
setDefaultSerdeProps(Map<String,String> serdeProps) |
void |
setDefaultSerName(String serName) |
void |
setExternal(boolean isExternal) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setInputFormat(String inputFormat) |
void |
setLikeTableName(String likeTableName) |
void |
setLocation(String location) |
void |
setOutputFormat(String outputFormat) |
void |
setTableName(String tableName) |
void |
setTblProps(Map<String,String> tblProps) |
void |
setTemporary(boolean isTemporary) |
public CreateTableLikeDesc()
public CreateTableLikeDesc(String tableName, boolean isExternal, boolean isTemporary, String defaultInputFormat, String defaultOutputFormat, String location, String defaultSerName, Map<String,String> defaultSerdeProps, Map<String,String> tblProps, boolean ifNotExists, String likeTableName, boolean isUserStorageFormat)
public boolean getIfNotExists()
public void setIfNotExists(boolean ifNotExists)
public String getTableName()
public void setTableName(String tableName)
public String getDefaultInputFormat()
public void setInputFormat(String inputFormat)
public String getDefaultOutputFormat()
public void setOutputFormat(String outputFormat)
public String getLocation()
public void setLocation(String location)
public boolean isExternal()
public void setExternal(boolean isExternal)
public String getDefaultSerName()
public void setDefaultSerName(String serName)
serName
- the serName to setpublic Map<String,String> getDefaultSerdeProps()
public void setDefaultSerdeProps(Map<String,String> serdeProps)
serdeProps
- the default serde properties to setpublic String getLikeTableName()
public void setLikeTableName(String likeTableName)
public void setTblProps(Map<String,String> tblProps)
tblProps
- the table properties to setpublic boolean isTemporary()
public void setTemporary(boolean isTemporary)
isTemporary
- table is Temporary or not.public boolean isUserStorageFormat()
Copyright © 2017 The Apache Software Foundation. All rights reserved.