Class SQLCreateMaterializedViewStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.ast.statement.SQLCreateMaterializedViewStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLReplaceable,SQLStatement,SQLCreateStatement,SQLDDLStatement,OracleSegmentAttributes
public class SQLCreateMaterializedViewStatement extends SQLStatementImpl implements OracleSegmentAttributes, SQLCreateStatement, SQLReplaceable
Created by wenshao on 30/06/2017.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType
-
-
Field Summary
Fields Modifier and Type Field Description protected SQLExprcommentprotected List<SQLName>distributedByprotected SQLNamedistributedByTypeprotected SQLExprlifyCycleprotected booleanrefreshOnOverWriteprotected SQLObjectstorageprotected List<SQLTableElement>tableElementListprotected List<SQLAssignItem>tableOptionsprotected SQLNametablespace-
Fields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLCreateMaterializedViewStatement()
-
Method Summary
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, cloneTo, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedString
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
getDDLObjectType
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
-
-
-
Field Detail
-
lifyCycle
protected SQLExpr lifyCycle
-
tablespace
protected SQLName tablespace
-
storage
protected SQLObject storage
-
refreshOnOverWrite
protected boolean refreshOnOverWrite
-
tableElementList
protected List<SQLTableElement> tableElementList
-
distributedByType
protected SQLName distributedByType
-
tableOptions
protected final List<SQLAssignItem> tableOptions
-
comment
protected SQLExpr comment
-
-
Method Detail
-
getName
public SQLName getName()
- Specified by:
getNamein interfaceSQLCreateStatement
-
setName
public void setName(SQLName name)
-
isIfNotExists
public boolean isIfNotExists()
-
setIfNotExists
public void setIfNotExists(boolean ifNotExists)
-
getQuery
public SQLSelect getQuery()
-
setQuery
public void setQuery(SQLSelect query)
-
isBuildImmediate
public boolean isBuildImmediate()
-
setBuildImmediate
public void setBuildImmediate(boolean buildImmediate)
-
isBuildDeferred
public boolean isBuildDeferred()
-
setBuildDeferred
public void setBuildDeferred(boolean buildDeferred)
-
isRefresh
public boolean isRefresh()
-
isRefreshFast
public boolean isRefreshFast()
-
setRefreshFast
public void setRefreshFast(boolean refreshFast)
-
isRefreshComplete
public boolean isRefreshComplete()
-
setRefreshComplete
public void setRefreshComplete(boolean refreshComplete)
-
isRefreshForce
public boolean isRefreshForce()
-
setRefreshForce
public void setRefreshForce(boolean refreshForce)
-
isRefreshOnCommit
public boolean isRefreshOnCommit()
-
setRefreshOnCommit
public void setRefreshOnCommit(boolean refreshOnCommit)
-
isRefreshOnDemand
public boolean isRefreshOnDemand()
-
setRefreshOnDemand
public void setRefreshOnDemand(boolean refreshOnDemand)
-
isRefreshOnOverWrite
public boolean isRefreshOnOverWrite()
-
setRefreshOnOverWrite
public void setRefreshOnOverWrite(boolean refreshOnOverWrite)
-
isRefreshStartWith
public boolean isRefreshStartWith()
-
setRefreshStartWith
public void setRefreshStartWith(boolean refreshStartWith)
-
isRefreshNext
public boolean isRefreshNext()
-
setRefreshNext
public void setRefreshNext(boolean refreshNext)
-
getPctfree
public Integer getPctfree()
- Specified by:
getPctfreein interfaceOracleSegmentAttributes
-
setPctfree
public void setPctfree(Integer pctfree)
- Specified by:
setPctfreein interfaceOracleSegmentAttributes
-
getPctused
public Integer getPctused()
- Specified by:
getPctusedin interfaceOracleSegmentAttributes
-
setPctused
public void setPctused(Integer pctused)
- Specified by:
setPctusedin interfaceOracleSegmentAttributes
-
getInitrans
public Integer getInitrans()
- Specified by:
getInitransin interfaceOracleSegmentAttributes
-
setInitrans
public void setInitrans(Integer initrans)
- Specified by:
setInitransin interfaceOracleSegmentAttributes
-
getMaxtrans
public Integer getMaxtrans()
- Specified by:
getMaxtransin interfaceOracleSegmentAttributes
-
setMaxtrans
public void setMaxtrans(Integer maxtrans)
- Specified by:
setMaxtransin interfaceOracleSegmentAttributes
-
getPctincrease
public Integer getPctincrease()
- Specified by:
getPctincreasein interfaceOracleSegmentAttributes
-
setPctincrease
public void setPctincrease(Integer pctincrease)
- Specified by:
setPctincreasein interfaceOracleSegmentAttributes
-
getFreeLists
public Integer getFreeLists()
-
setFreeLists
public void setFreeLists(Integer freeLists)
-
getCompress
public Boolean getCompress()
- Specified by:
getCompressin interfaceOracleSegmentAttributes
-
setCompress
public void setCompress(Boolean compress)
- Specified by:
setCompressin interfaceOracleSegmentAttributes
-
getCompressLevel
public Integer getCompressLevel()
- Specified by:
getCompressLevelin interfaceOracleSegmentAttributes
-
setCompressLevel
public void setCompressLevel(Integer compressLevel)
- Specified by:
setCompressLevelin interfaceOracleSegmentAttributes
-
isCompressForOltp
public boolean isCompressForOltp()
- Specified by:
isCompressForOltpin interfaceOracleSegmentAttributes
-
setCompressForOltp
public void setCompressForOltp(boolean compressForOltp)
- Specified by:
setCompressForOltpin interfaceOracleSegmentAttributes
-
getPctthreshold
public Integer getPctthreshold()
-
setPctthreshold
public void setPctthreshold(Integer pctthreshold)
-
getLogging
public Boolean getLogging()
- Specified by:
getLoggingin interfaceOracleSegmentAttributes
-
setLogging
public void setLogging(Boolean logging)
- Specified by:
setLoggingin interfaceOracleSegmentAttributes
-
getTablespace
public SQLName getTablespace()
- Specified by:
getTablespacein interfaceOracleSegmentAttributes
-
setTablespace
public void setTablespace(SQLName tablespace)
- Specified by:
setTablespacein interfaceOracleSegmentAttributes
-
getStorage
public SQLObject getStorage()
- Specified by:
getStoragein interfaceOracleSegmentAttributes
-
setStorage
public void setStorage(SQLObject storage)
- Specified by:
setStoragein interfaceOracleSegmentAttributes
-
getParallel
public Boolean getParallel()
-
setParallel
public void setParallel(Boolean parallel)
-
getParallelValue
public Integer getParallelValue()
-
setParallelValue
public void setParallelValue(Integer parallelValue)
-
getEnableQueryRewrite
public Boolean getEnableQueryRewrite()
-
setEnableQueryRewrite
public void setEnableQueryRewrite(Boolean enableQueryRewrite)
-
getCache
public Boolean getCache()
-
setCache
public void setCache(Boolean cache)
-
getPartitionBy
public SQLPartitionBy getPartitionBy()
-
getTableElementList
public List<SQLTableElement> getTableElementList()
-
getDistributedByType
public SQLName getDistributedByType()
-
setDistributedByType
public void setDistributedByType(SQLName x)
-
getStartWith
public SQLExpr getStartWith()
-
setStartWith
public void setStartWith(SQLExpr x)
-
getNext
public SQLExpr getNext()
-
setNext
public void setNext(SQLExpr x)
-
setPartitionBy
public void setPartitionBy(SQLPartitionBy x)
-
isWithRowId
public boolean isWithRowId()
-
setWithRowId
public void setWithRowId(boolean withRowId)
-
getTableOptions
public List<SQLAssignItem> getTableOptions()
-
getComment
public SQLExpr getComment()
-
setComment
public void setComment(SQLExpr x)
-
getLifyCycle
public SQLExpr getLifyCycle()
-
setLifyCycle
public void setLifyCycle(SQLExpr x)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLStatementImpl
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable
-
-