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
FieldsModifier and TypeFieldDescriptionprotected SQLExprprotected SQLNameprotected SQLExprprotected booleanprotected SQLObjectprotected List<SQLTableElement>protected final List<SQLAssignItem>protected SQLNameFields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHintsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) voidgetCache()getName()getNext()getQuery()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetBuildDeferred(boolean buildDeferred) voidsetBuildImmediate(boolean buildImmediate) voidvoidvoidsetCompress(Boolean compress) voidsetCompressForOltp(boolean compressForOltp) voidsetCompressLevel(Integer compressLevel) voidvoidsetEnableQueryRewrite(Boolean enableQueryRewrite) voidsetFreeLists(Integer freeLists) voidsetIfNotExists(boolean ifNotExists) voidsetInitrans(Integer initrans) voidvoidsetLogging(Boolean logging) voidsetMaxtrans(Integer maxtrans) voidvoidvoidsetParallel(Boolean parallel) voidsetParallelValue(Integer parallelValue) voidvoidsetPctfree(Integer pctfree) voidsetPctincrease(Integer pctincrease) voidsetPctthreshold(Integer pctthreshold) voidsetPctused(Integer pctused) voidvoidsetRefreshComplete(boolean refreshComplete) voidsetRefreshFast(boolean refreshFast) voidsetRefreshForce(boolean refreshForce) voidsetRefreshNext(boolean refreshNext) voidsetRefreshOnCommit(boolean refreshOnCommit) voidsetRefreshOnDemand(boolean refreshOnDemand) voidsetRefreshOnOverWrite(boolean refreshOnOverWrite) voidsetRefreshStartWith(boolean refreshStartWith) voidvoidsetStorage(SQLObject storage) voidsetTablespace(SQLName tablespace) voidsetWithRowId(boolean withRowId) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedStringMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLineMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
getDDLObjectTypeMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentMethods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Field Details
-
lifyCycle
-
tablespace
-
storage
-
refreshOnOverWrite
protected boolean refreshOnOverWrite -
tableElementList
-
distributedByType
-
distributedBy
-
tableOptions
-
comment
-
-
Constructor Details
-
SQLCreateMaterializedViewStatement
public SQLCreateMaterializedViewStatement()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceSQLCreateStatement
-
setName
-
isIfNotExists
public boolean isIfNotExists() -
setIfNotExists
public void setIfNotExists(boolean ifNotExists) -
getColumns
-
getQuery
-
setQuery
-
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
- Specified by:
getPctfreein interfaceOracleSegmentAttributes
-
setPctfree
- Specified by:
setPctfreein interfaceOracleSegmentAttributes
-
getPctused
- Specified by:
getPctusedin interfaceOracleSegmentAttributes
-
setPctused
- Specified by:
setPctusedin interfaceOracleSegmentAttributes
-
getInitrans
- Specified by:
getInitransin interfaceOracleSegmentAttributes
-
setInitrans
- Specified by:
setInitransin interfaceOracleSegmentAttributes
-
getMaxtrans
- Specified by:
getMaxtransin interfaceOracleSegmentAttributes
-
setMaxtrans
- Specified by:
setMaxtransin interfaceOracleSegmentAttributes
-
getPctincrease
- Specified by:
getPctincreasein interfaceOracleSegmentAttributes
-
setPctincrease
- Specified by:
setPctincreasein interfaceOracleSegmentAttributes
-
getFreeLists
-
setFreeLists
-
getCompress
- Specified by:
getCompressin interfaceOracleSegmentAttributes
-
setCompress
- Specified by:
setCompressin interfaceOracleSegmentAttributes
-
getCompressLevel
- Specified by:
getCompressLevelin interfaceOracleSegmentAttributes
-
setCompressLevel
- Specified by:
setCompressLevelin interfaceOracleSegmentAttributes
-
isCompressForOltp
public boolean isCompressForOltp()- Specified by:
isCompressForOltpin interfaceOracleSegmentAttributes
-
setCompressForOltp
public void setCompressForOltp(boolean compressForOltp) - Specified by:
setCompressForOltpin interfaceOracleSegmentAttributes
-
getPctthreshold
-
setPctthreshold
-
getLogging
- Specified by:
getLoggingin interfaceOracleSegmentAttributes
-
setLogging
- Specified by:
setLoggingin interfaceOracleSegmentAttributes
-
getTablespace
- Specified by:
getTablespacein interfaceOracleSegmentAttributes
-
setTablespace
- Specified by:
setTablespacein interfaceOracleSegmentAttributes
-
getStorage
- Specified by:
getStoragein interfaceOracleSegmentAttributes
-
setStorage
- Specified by:
setStoragein interfaceOracleSegmentAttributes
-
getParallel
-
setParallel
-
getParallelValue
-
setParallelValue
-
getEnableQueryRewrite
-
setEnableQueryRewrite
-
getCache
-
setCache
-
getPartitionBy
-
getTableElementList
-
getDistributedBy
-
getDistributedByType
-
setDistributedByType
-
getStartWith
-
setStartWith
-
getNext
-
setNext
-
setPartitionBy
-
isWithRowId
public boolean isWithRowId() -
setWithRowId
public void setWithRowId(boolean withRowId) -
getPartitionedOn
-
addOption
-
getTableOptions
-
getOption
-
getComment
-
setComment
-
getLifyCycle
-
setLifyCycle
-
accept0
- Overrides:
accept0in classSQLStatementImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-