Class SQLCreateViewStatement

All Implemented Interfaces:
SQLDbTypedObject, SQLObject, SQLStatement, SQLCreateStatement, SQLDDLStatement

public class SQLCreateViewStatement extends SQLStatementImpl implements SQLCreateStatement
  • Field Details

    • subQuery

      protected SQLSelect subQuery
    • ifNotExists

      protected boolean ifNotExists
    • algorithm

      protected String algorithm
    • definer

      protected SQLName definer
    • sqlSecurity

      protected String sqlSecurity
    • tableSource

      protected SQLExprTableSource tableSource
    • columns

      protected final List<SQLTableElement> columns
    • onCluster

      protected boolean onCluster
  • Constructor Details

    • SQLCreateViewStatement

      public SQLCreateViewStatement()
    • SQLCreateViewStatement

      public SQLCreateViewStatement(DbType dbType)
  • Method Details

    • computeName

      public String computeName()
    • getSchema

      public String getSchema()
    • isOrReplace

      public boolean isOrReplace()
    • setOrReplace

      public void setOrReplace(boolean orReplace)
    • getName

      public SQLName getName()
    • setName

      public void setName(SQLName name)
    • setName

      public void setName(String name)
    • getTableSource

      public SQLExprTableSource getTableSource()
    • setTableSource

      public void setTableSource(SQLExprTableSource tableSource)
    • isWithCheckOption

      public boolean isWithCheckOption()
    • setWithCheckOption

      public void setWithCheckOption(boolean withCheckOption)
    • isWithCascaded

      public boolean isWithCascaded()
    • setWithCascaded

      public void setWithCascaded(boolean withCascaded)
    • isWithLocal

      public boolean isWithLocal()
    • setWithLocal

      public void setWithLocal(boolean withLocal)
    • isWithReadOnly

      public boolean isWithReadOnly()
    • setWithReadOnly

      public void setWithReadOnly(boolean withReadOnly)
    • getSubQuery

      public SQLSelect getSubQuery()
    • setSubQuery

      public void setSubQuery(SQLSelect subQuery)
    • getColumns

      public List<SQLTableElement> getColumns()
    • addColumn

      public void addColumn(SQLTableElement column)
    • isIfNotExists

      public boolean isIfNotExists()
    • setIfNotExists

      public void setIfNotExists(boolean ifNotExists)
    • getComment

      public SQLLiteralExpr getComment()
    • setComment

      public void setComment(SQLLiteralExpr comment)
    • getAlgorithm

      public String getAlgorithm()
    • setAlgorithm

      public void setAlgorithm(String algorithm)
    • getDefiner

      public SQLName getDefiner()
    • setDefiner

      public void setDefiner(SQLName definer)
    • getSqlSecurity

      public String getSqlSecurity()
    • setSqlSecurity

      public void setSqlSecurity(String sqlSecurity)
    • isForce

      public boolean isForce()
    • setForce

      public void setForce(boolean force)
    • accept0

      protected void accept0(SQLASTVisitor visitor)
      Overrides:
      accept0 in class SQLStatementImpl
    • getChildren

      public List<SQLObject> getChildren()
      Specified by:
      getChildren in interface SQLStatement
      Overrides:
      getChildren in class SQLStatementImpl
    • isOnCluster

      public boolean isOnCluster()
    • setOnCluster

      public void setOnCluster(boolean onCluster)
    • getTo

      public SQLName getTo()
    • setTo

      public void setTo(SQLName x)
    • getReturns

      public SQLVariantRefExpr getReturns()
    • setReturns

      public void setReturns(SQLVariantRefExpr x)
    • getReturnsDataType

      public SQLTableDataType getReturnsDataType()
    • setReturnsDataType

      public void setReturnsDataType(SQLTableDataType x)
    • getScript

      public SQLBlockStatement getScript()
    • setScript

      public void setScript(SQLBlockStatement x)
    • clone

      public SQLCreateViewStatement clone()
      Specified by:
      clone in interface SQLObject
      Specified by:
      clone in interface SQLStatement
      Overrides:
      clone in class SQLStatementImpl