public class CreateViewDesc extends Object
DDLDesc.DDLDescWithWriteId| Constructor and Description |
|---|
CreateViewDesc(String viewName,
List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema,
String comment,
Map<String,String> properties,
List<String> partitionColumnNames,
boolean ifNotExists,
boolean replace,
String originalText,
String expandedText,
List<org.apache.hadoop.hive.metastore.api.FieldSchema> partitionColumns) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
String |
getExpandedText() |
boolean |
getIfNotExists() |
String |
getOriginalText() |
String |
getOwnerName() |
List<String> |
getPartColNames() |
List<String> |
getPartColsString() |
List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
getPartitionColumns() |
Map<String,String> |
getProperties() |
ReplicationSpec |
getReplicationSpec() |
List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
getSchema() |
List<String> |
getSchemaString() |
String |
getViewName() |
boolean |
isReplace() |
void |
setOwnerName(String ownerName) |
void |
setReplicationSpec(ReplicationSpec replicationSpec) |
public CreateViewDesc(String viewName, List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema, String comment, Map<String,String> properties, List<String> partitionColumnNames, boolean ifNotExists, boolean replace, String originalText, String expandedText, List<org.apache.hadoop.hive.metastore.api.FieldSchema> partitionColumns)
public List<org.apache.hadoop.hive.metastore.api.FieldSchema> getPartitionColumns()
public String getComment()
public boolean getIfNotExists()
public boolean isReplace()
public void setReplicationSpec(ReplicationSpec replicationSpec)
replicationSpec - Sets the replication spec governing this create.
This parameter will have meaningful values only for creates happening as a result of a replication.public ReplicationSpec getReplicationSpec()
public void setOwnerName(String ownerName)
public String getOwnerName()
public String getViewName()
public String getOriginalText()
public String getExpandedText()
public List<org.apache.hadoop.hive.metastore.api.FieldSchema> getSchema()
Copyright © 2022 The Apache Software Foundation. All rights reserved.