public class CreateViewDesc extends DDLDesc implements Serializable
Constructor and Description |
---|
CreateViewDesc()
For serialization only.
|
CreateViewDesc(String viewName,
List<FieldSchema> schema,
String comment,
Map<String,String> tblProps,
List<String> partColNames,
boolean ifNotExists,
boolean orReplace,
boolean rewriteEnabled,
boolean isAlterViewAs,
String inputFormat,
String outputFormat,
String location,
String serde,
String storageHandler,
Map<String,String> serdeProps)
Used to create a materialized view descriptor
|
CreateViewDesc(String viewName,
List<FieldSchema> schema,
String comment,
Map<String,String> tblProps,
List<String> partColNames,
boolean ifNotExists,
boolean orReplace,
boolean isAlterViewAs,
String inputFormat,
String outputFormat,
String serde)
Used to create a view descriptor
|
public CreateViewDesc()
public CreateViewDesc(String viewName, List<FieldSchema> schema, String comment, Map<String,String> tblProps, List<String> partColNames, boolean ifNotExists, boolean orReplace, boolean rewriteEnabled, boolean isAlterViewAs, String inputFormat, String outputFormat, String location, String serde, String storageHandler, Map<String,String> serdeProps)
viewName
- schema
- comment
- tblProps
- partColNames
- ifNotExists
- orReplace
- isAlterViewAs
- inputFormat
- outputFormat
- location
- serde
- storageHandler
- serdeProps
- public CreateViewDesc(String viewName, List<FieldSchema> schema, String comment, Map<String,String> tblProps, List<String> partColNames, boolean ifNotExists, boolean orReplace, boolean isAlterViewAs, String inputFormat, String outputFormat, String serde)
viewName
- schema
- comment
- tblProps
- partColNames
- ifNotExists
- orReplace
- isAlterViewAs
- inputFormat
- outputFormat
- serde
- public String getViewName()
public void setViewName(String viewName)
public String getViewOriginalText()
public void setViewOriginalText(String originalText)
public String getViewExpandedText()
public void setViewExpandedText(String expandedText)
public boolean isRewriteEnabled()
public void setRewriteEnabled(boolean rewriteEnabled)
public List<FieldSchema> getSchema()
public void setSchema(List<FieldSchema> schema)
public List<FieldSchema> getPartCols()
public void setPartCols(List<FieldSchema> partCols)
public String getComment()
public void setComment(String comment)
public boolean getIfNotExists()
public void setIfNotExists(boolean ifNotExists)
public boolean getOrReplace()
public void setOrReplace(boolean orReplace)
public boolean getIsAlterViewAs()
public void setIsAlterViewAs(boolean isAlterViewAs)
public String getInputFormat()
public void setInputFormat(String inputFormat)
public String getOutputFormat()
public void setOutputFormat(String outputFormat)
public boolean isMaterialized()
public void setLocation(String location)
public String getLocation()
public String getSerde()
public String getStorageHandler()
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()
Copyright © 2021 The Apache Software Foundation. All rights reserved.