public class ImportTableDesc extends Object
| Constructor and Description |
|---|
ImportTableDesc(String dbName,
Table table) |
public void setReplicationSpec(ReplicationSpec replSpec)
public void setExternal(boolean isExternal)
public boolean isExternal()
public void setLocation(String location)
public String getLocation()
public void setTableName(TableName 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<?> getCreateTableTask(Set<ReadEntity> inputs, Set<WriteEntity> outputs, HiveConf conf)
public Task<?> getCreateTableTask(Set<ReadEntity> inputs, Set<WriteEntity> outputs, HiveConf conf, boolean isReplication, String dumpRoot, ReplicationMetricCollector metricCollector, boolean executeInParallel)
public TableType tableType()
public void setReplWriteId(Long replWriteId)
public void setOwnerName(String ownerName)
public Long getReplWriteId()
public void setForceOverwriteTable()
Copyright © 2024 The Apache Software Foundation. All rights reserved.