Class CreateView


  • public class CreateView
    extends SchemaCommand
    This class represents the statement CREATE VIEW
    • Method Detail

      • setViewName

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

        public void setQuery​(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)
      • 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
      • update

        public final long update()
        Description copied from class: Prepared
        Execute the statement.
        Overrides:
        update in class Prepared
        Returns:
        the update count