Class CreateView


  • public class CreateView
    extends SchemaOwnerCommand
    This class represents the statement CREATE VIEW
    • Field Detail

      • select

        private Query select
      • viewName

        private java.lang.String viewName
      • ifNotExists

        private boolean ifNotExists
      • selectSQL

        private java.lang.String selectSQL
      • columnNames

        private java.lang.String[] columnNames
      • comment

        private java.lang.String comment
      • orReplace

        private boolean orReplace
      • force

        private boolean force
      • isTableExpression

        private boolean isTableExpression
    • Method Detail

      • setViewName

        public void setViewName​(java.lang.String name)
      • setSelect

        public void setSelect​(Query select)
      • setIfNotExists

        public void setIfNotExists​(boolean ifNotExists)
      • setSelectSQL

        public void setSelectSQL​(java.lang.String selectSQL)
      • setColumnNames

        public void setColumnNames​(java.lang.String[] cols)
      • setComment

        public void setComment​(java.lang.String comment)
      • setOrReplace

        public void setOrReplace​(boolean orReplace)
      • setForce

        public void setForce​(boolean force)
      • setTableExpression

        public void setTableExpression​(boolean isTableExpression)
      • getType

        public int getType()
        Description copied from class: Prepared
        Get the command type as defined in CommandInterface
        Specified by:
        getType in class Prepared
        Returns:
        the statement type