public class ImportTableDesc extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ImportTableDesc.TYPE |
Constructor and Description |
---|
ImportTableDesc(String dbName,
Table table) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getBucketCols() |
List<FieldSchema> |
getCols() |
Task<?> |
getCreateTableTask(EximUtil.SemanticAnalyzerWrapperContext x) |
String |
getDatabaseName() |
String |
getInputFormat() |
String |
getLocation() |
String |
getOutputFormat() |
List<FieldSchema> |
getPartCols() |
Map<String,String> |
getSerdeProps() |
String |
getSerName() |
List<Order> |
getSortCols() |
String |
getTableName() |
ImportTableDesc.TYPE |
getTableType() |
Map<String,String> |
getTblProps() |
boolean |
isExternal() |
boolean |
isMaterializedView() |
boolean |
isView() |
void |
setExternal(boolean isExternal) |
void |
setLocation(String location) |
void |
setReplaceMode(boolean replaceMode) |
void |
setReplicationSpec(ReplicationSpec replSpec) |
void |
setTableName(String tableName) |
void |
setViewAsReferenceText(String dbName,
Table table) |
public ImportTableDesc.TYPE getTableType()
public void setReplicationSpec(ReplicationSpec replSpec)
public void setExternal(boolean isExternal)
public boolean isExternal()
public void setLocation(String location)
public String getLocation()
public void setTableName(String tableName) throws SemanticException
SemanticException
public String getTableName() throws SemanticException
SemanticException
public List<FieldSchema> getPartCols()
public List<FieldSchema> getCols()
public String getInputFormat()
public String getOutputFormat()
public String getSerName()
public void setReplaceMode(boolean replaceMode)
replaceMode
- Determine if this CreateTable should behave like a replace-into alter insteadpublic String getDatabaseName()
public Task<?> getCreateTableTask(EximUtil.SemanticAnalyzerWrapperContext x)
public boolean isView()
public boolean isMaterializedView()
Copyright © 2021 The Apache Software Foundation. All rights reserved.