org.apache.hadoop.hive.ql.plan
Class CreateViewDesc

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.DDLDesc
      extended by org.apache.hadoop.hive.ql.plan.CreateViewDesc
All Implemented Interfaces:
Serializable

public class CreateViewDesc
extends DDLDesc
implements Serializable

CreateViewDesc.

See Also:
Serialized Form

Constructor Summary
CreateViewDesc()
          For serialization only.
CreateViewDesc(String viewName, List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema, String comment, Map<String,String> tblProps, List<String> partColNames, boolean ifNotExists, boolean orReplace, boolean isAlterViewAs)
           
 
Method Summary
 String getComment()
           
 boolean getIfNotExists()
           
 boolean getIsAlterViewAs()
           
 boolean getOrReplace()
           
 List<String> getPartColNames()
           
 List<org.apache.hadoop.hive.metastore.api.FieldSchema> getPartCols()
           
 List<String> getPartColsString()
           
 List<org.apache.hadoop.hive.metastore.api.FieldSchema> getSchema()
           
 List<String> getSchemaString()
           
 Map<String,String> getTblProps()
           
 String getViewExpandedText()
           
 String getViewName()
           
 String getViewOriginalText()
           
 void setComment(String comment)
           
 void setIfNotExists(boolean ifNotExists)
           
 void setIsAlterViewAs(boolean isAlterViewAs)
           
 void setOrReplace(boolean orReplace)
           
 void setPartColNames(List<String> partColNames)
           
 void setPartCols(List<org.apache.hadoop.hive.metastore.api.FieldSchema> partCols)
           
 void setSchema(List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema)
           
 void setTblProps(Map<String,String> tblProps)
           
 void setViewExpandedText(String expandedText)
           
 void setViewName(String viewName)
           
 void setViewOriginalText(String originalText)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateViewDesc

public CreateViewDesc()
For serialization only.


CreateViewDesc

public CreateViewDesc(String viewName,
                      List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema,
                      String comment,
                      Map<String,String> tblProps,
                      List<String> partColNames,
                      boolean ifNotExists,
                      boolean orReplace,
                      boolean isAlterViewAs)
Method Detail

getViewName

public String getViewName()

setViewName

public void setViewName(String viewName)

getViewOriginalText

public String getViewOriginalText()

setViewOriginalText

public void setViewOriginalText(String originalText)

getViewExpandedText

public String getViewExpandedText()

setViewExpandedText

public void setViewExpandedText(String expandedText)

getSchemaString

public List<String> getSchemaString()

getSchema

public List<org.apache.hadoop.hive.metastore.api.FieldSchema> getSchema()

setSchema

public void setSchema(List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema)

getPartColsString

public List<String> getPartColsString()

getPartCols

public List<org.apache.hadoop.hive.metastore.api.FieldSchema> getPartCols()

setPartCols

public void setPartCols(List<org.apache.hadoop.hive.metastore.api.FieldSchema> partCols)

getPartColNames

public List<String> getPartColNames()

setPartColNames

public void setPartColNames(List<String> partColNames)

getComment

public String getComment()

setComment

public void setComment(String comment)

setTblProps

public void setTblProps(Map<String,String> tblProps)

getTblProps

public Map<String,String> getTblProps()

getIfNotExists

public boolean getIfNotExists()

setIfNotExists

public void setIfNotExists(boolean ifNotExists)

getOrReplace

public boolean getOrReplace()

setOrReplace

public void setOrReplace(boolean orReplace)

getIsAlterViewAs

public boolean getIsAlterViewAs()

setIsAlterViewAs

public void setIsAlterViewAs(boolean isAlterViewAs)


Copyright © 2014 The Apache Software Foundation. All rights reserved.