public class ImportTableDesc extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImportTableDesc.TYPE |
| Constructor and Description |
|---|
ImportTableDesc(String dbName,
Table table) |
public ImportTableDesc.TYPE getDescType()
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
SemanticExceptionpublic String getTableName() throws SemanticException
SemanticExceptionpublic List<org.apache.hadoop.hive.metastore.api.FieldSchema> getPartCols()
public List<org.apache.hadoop.hive.metastore.api.FieldSchema> getCols()
public String getInputFormat()
public String getOutputFormat()
public String getSerName()
public List<org.apache.hadoop.hive.metastore.api.Order> getSortCols()
public void setReplaceMode(boolean replaceMode)
replaceMode - Determine if this CreateTable should behave like a replace-into alter insteadpublic String getDatabaseName()
public Task<? extends Serializable> getCreateTableTask(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, HiveConf conf)
public boolean isView()
public boolean isMaterializedView()
public TableType tableType()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.