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
Modifier and TypeFieldDescriptionprotected SQLExpr
protected SQLName
protected SQLExpr
protected boolean
protected SQLObject
protected List<SQLTableElement>
protected final List<SQLAssignItem>
protected SQLName
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) void
getCache()
getName()
getNext()
getQuery()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setBuildDeferred
(boolean buildDeferred) void
setBuildImmediate
(boolean buildImmediate) void
void
void
setCompress
(Boolean compress) void
setCompressForOltp
(boolean compressForOltp) void
setCompressLevel
(Integer compressLevel) void
void
setEnableQueryRewrite
(Boolean enableQueryRewrite) void
setFreeLists
(Integer freeLists) void
setIfNotExists
(boolean ifNotExists) void
setInitrans
(Integer initrans) void
void
setLogging
(Boolean logging) void
setMaxtrans
(Integer maxtrans) void
void
void
setParallel
(Boolean parallel) void
setParallelValue
(Integer parallelValue) void
void
setPctfree
(Integer pctfree) void
setPctincrease
(Integer pctincrease) void
setPctthreshold
(Integer pctthreshold) void
setPctused
(Integer pctused) void
void
setRefreshComplete
(boolean refreshComplete) void
setRefreshFast
(boolean refreshFast) void
setRefreshForce
(boolean refreshForce) void
setRefreshNext
(boolean refreshNext) void
setRefreshOnCommit
(boolean refreshOnCommit) void
setRefreshOnDemand
(boolean refreshOnDemand) void
setRefreshOnOverWrite
(boolean refreshOnOverWrite) void
setRefreshStartWith
(boolean refreshStartWith) void
void
setStorage
(SQLObject storage) void
setTablespace
(SQLName tablespace) void
setWithRowId
(boolean withRowId) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, 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, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, 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, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
Methods 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:
getName
in 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:
getPctfree
in interfaceOracleSegmentAttributes
-
setPctfree
- Specified by:
setPctfree
in interfaceOracleSegmentAttributes
-
getPctused
- Specified by:
getPctused
in interfaceOracleSegmentAttributes
-
setPctused
- Specified by:
setPctused
in interfaceOracleSegmentAttributes
-
getInitrans
- Specified by:
getInitrans
in interfaceOracleSegmentAttributes
-
setInitrans
- Specified by:
setInitrans
in interfaceOracleSegmentAttributes
-
getMaxtrans
- Specified by:
getMaxtrans
in interfaceOracleSegmentAttributes
-
setMaxtrans
- Specified by:
setMaxtrans
in interfaceOracleSegmentAttributes
-
getPctincrease
- Specified by:
getPctincrease
in interfaceOracleSegmentAttributes
-
setPctincrease
- Specified by:
setPctincrease
in interfaceOracleSegmentAttributes
-
getFreeLists
-
setFreeLists
-
getCompress
- Specified by:
getCompress
in interfaceOracleSegmentAttributes
-
setCompress
- Specified by:
setCompress
in interfaceOracleSegmentAttributes
-
getCompressLevel
- Specified by:
getCompressLevel
in interfaceOracleSegmentAttributes
-
setCompressLevel
- Specified by:
setCompressLevel
in interfaceOracleSegmentAttributes
-
isCompressForOltp
public boolean isCompressForOltp()- Specified by:
isCompressForOltp
in interfaceOracleSegmentAttributes
-
setCompressForOltp
public void setCompressForOltp(boolean compressForOltp) - Specified by:
setCompressForOltp
in interfaceOracleSegmentAttributes
-
getPctthreshold
-
setPctthreshold
-
getLogging
- Specified by:
getLogging
in interfaceOracleSegmentAttributes
-
setLogging
- Specified by:
setLogging
in interfaceOracleSegmentAttributes
-
getTablespace
- Specified by:
getTablespace
in interfaceOracleSegmentAttributes
-
setTablespace
- Specified by:
setTablespace
in interfaceOracleSegmentAttributes
-
getStorage
- Specified by:
getStorage
in interfaceOracleSegmentAttributes
-
setStorage
- Specified by:
setStorage
in 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:
accept0
in classSQLStatementImpl
-
replace
- Specified by:
replace
in interfaceSQLReplaceable
-