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
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(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 © 2022 The Apache Software Foundation. All rights reserved.