Class CreateView

java.lang.Object
net.sf.jsqlparser.statement.create.view.CreateView
All Implemented Interfaces:
Serializable, Model, Statement

public class CreateView extends Object implements Statement
See Also:
  • Field Details

    • view

      private Table view
    • select

      private Select select
    • orReplace

      private boolean orReplace
    • columnNames

      private ExpressionList<Column> columnNames
    • materialized

      private boolean materialized
    • force

      private ForceOption force
    • secure

      private boolean secure
    • temp

      private TemporaryOption temp
    • autoRefresh

      private AutoRefreshOption autoRefresh
    • withReadOnly

      private boolean withReadOnly
    • ifNotExists

      private boolean ifNotExists
    • viewCommentOptions

      private List<String> viewCommentOptions
  • Constructor Details

    • CreateView

      public CreateView()
  • Method Details

    • accept

      public void accept(StatementVisitor statementVisitor)
      Specified by:
      accept in interface Statement
    • getView

      public Table getView()
    • setView

      public void setView(Table view)
    • isOrReplace

      public boolean isOrReplace()
    • setOrReplace

      public void setOrReplace(boolean orReplace)
      Parameters:
      orReplace - was "OR REPLACE" specified?
    • getSelect

      public Select getSelect()
    • setSelect

      public void setSelect(Select select)
    • getColumnNames

      public ExpressionList<Column> getColumnNames()
    • setColumnNames

      public void setColumnNames(ExpressionList<Column> columnNames)
    • isMaterialized

      public boolean isMaterialized()
    • setMaterialized

      public void setMaterialized(boolean materialized)
    • getForce

      public ForceOption getForce()
    • setForce

      public void setForce(ForceOption force)
    • isSecure

      public boolean isSecure()
    • setSecure

      public void setSecure(boolean secure)
    • getTemporary

      public TemporaryOption getTemporary()
    • setTemporary

      public void setTemporary(TemporaryOption temp)
    • getAutoRefresh

      public AutoRefreshOption getAutoRefresh()
    • setAutoRefresh

      public void setAutoRefresh(AutoRefreshOption autoRefresh)
    • isWithReadOnly

      public boolean isWithReadOnly()
    • setWithReadOnly

      public void setWithReadOnly(boolean withReadOnly)
    • isIfNotExists

      public boolean isIfNotExists()
    • setIfNotExists

      public void setIfNotExists(boolean ifNotExists)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • appendForceOptionIfApplicable

      private void appendForceOptionIfApplicable(StringBuilder sql)
    • withView

      public CreateView withView(Table view)
    • withSelect

      public CreateView withSelect(Select select)
    • withOrReplace

      public CreateView withOrReplace(boolean orReplace)
    • withColumnNames

      public CreateView withColumnNames(ExpressionList<Column> columnNames)
    • withMaterialized

      public CreateView withMaterialized(boolean materialized)
    • withForce

      public CreateView withForce(ForceOption force)
    • withWithReadOnly

      public CreateView withWithReadOnly(boolean withReadOnly)
    • getViewCommentOptions

      public List<String> getViewCommentOptions()
    • setViewCommentOptions

      public void setViewCommentOptions(List<String> viewCommentOptions)