Class OracleCreateIndexStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.ast.statement.SQLCreateIndexStatement
-
- com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleCreateIndexStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLIndex,SQLObject,SQLStatement,SQLCreateStatement,SQLDDLStatement,OracleSegmentAttributes,OracleSQLObject,OracleDDLStatement,OracleStatement
public class OracleCreateIndexStatement extends SQLCreateIndexStatement implements OracleDDLStatement, OracleSegmentAttributes, SQLCreateStatement
-
-
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 SQLObjectstorageprotected SQLNametablespace-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateIndexStatement
deferedRebuild, ifNotExists, in, properties, rowFormat, storedAs, storing, tableProperties
-
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 OracleCreateIndexStatement()
-
Method Summary
-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateIndexStatement
addItem, addOption, clone, getChildren, getColumns, getComment, getCovering, getDbPartitionBy, getDDLObjectType, getIn, getIndexDefinition, getItems, getName, getOptions, getProperties, getRowFormat, getSchema, getStoredAs, getTable, getTableName, getTablePartitionBy, getTablePartitions, getTableProperties, getType, getUsing, isConcurrently, isDeferedRebuild, isIfNotExists, isStoring, setComment, setConcurrently, setDbPartitionBy, setDeferedRebuild, setIfNotExists, setIn, setIn, setName, setRowFormat, setStoredAs, setStoring, setTable, setTable, setTablePartitionBy, setTablePartitions, setType, setUsing
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
cloneTo, 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.SQLCreateStatement
getName
-
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
-
-
-
-
Method Detail
-
getParallel
public SQLExpr getParallel()
-
setParallel
public void setParallel(SQLExpr parallel)
-
isNoParallel
public boolean isNoParallel()
-
setNoParallel
public void setNoParallel(boolean noParallel)
-
isIndexOnlyTopLevel
public boolean isIndexOnlyTopLevel()
-
setIndexOnlyTopLevel
public void setIndexOnlyTopLevel(boolean indexOnlyTopLevel)
-
getSort
public Boolean getSort()
-
setSort
public void setSort(Boolean sort)
-
isReverse
public boolean isReverse()
-
setReverse
public void setReverse(boolean reverse)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLCreateIndexStatement
-
accept0
public void accept0(OracleASTVisitor visitor)
- Specified by:
accept0in interfaceOracleSQLObject
-
getEnable
public Boolean getEnable()
-
setEnable
public void setEnable(Boolean enable)
-
isComputeStatistics
public boolean isComputeStatistics()
-
setComputeStatistics
public void setComputeStatistics(boolean computeStatistics)
-
isOnline
public boolean isOnline()
-
setOnline
public void setOnline(boolean online)
-
isCluster
public boolean isCluster()
-
setCluster
public void setCluster(boolean cluster)
-
getTablespace
public SQLName getTablespace()
- Specified by:
getTablespacein interfaceOracleSegmentAttributes- Overrides:
getTablespacein classSQLCreateIndexStatement
-
setTablespace
public void setTablespace(SQLName tablespace)
- Specified by:
setTablespacein interfaceOracleSegmentAttributes- Overrides:
setTablespacein classSQLCreateIndexStatement
-
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
-
getPctthreshold
public Integer getPctthreshold()
-
setPctthreshold
public void setPctthreshold(Integer pctthreshold)
-
getPctfree
public Integer getPctfree()
- Specified by:
getPctfreein interfaceOracleSegmentAttributes
-
setPctfree
public void setPctfree(Integer ptcfree)
- Specified by:
setPctfreein interfaceOracleSegmentAttributes
-
getPctused
public Integer getPctused()
- Specified by:
getPctusedin interfaceOracleSegmentAttributes
-
setPctused
public void setPctused(Integer ptcused)
- 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)
-
getLogging
public Boolean getLogging()
- Specified by:
getLoggingin interfaceOracleSegmentAttributes
-
setLogging
public void setLogging(Boolean logging)
- Specified by:
setLoggingin interfaceOracleSegmentAttributes
-
getStorage
public SQLObject getStorage()
- Specified by:
getStoragein interfaceOracleSegmentAttributes
-
setStorage
public void setStorage(SQLObject storage)
- Specified by:
setStoragein interfaceOracleSegmentAttributes
-
isCompressForOltp
public boolean isCompressForOltp()
- Specified by:
isCompressForOltpin interfaceOracleSegmentAttributes
-
setCompressForOltp
public void setCompressForOltp(boolean compressForOltp)
- Specified by:
setCompressForOltpin interfaceOracleSegmentAttributes
-
getLocalPartitions
public List<OraclePartitionSingle> getLocalPartitions()
-
isLocal
public boolean isLocal()
- Overrides:
isLocalin classSQLCreateIndexStatement
-
setLocal
public void setLocal(boolean local)
- Overrides:
setLocalin classSQLCreateIndexStatement
-
getGlobalPartitions
public List<SQLPartitionBy> getGlobalPartitions()
-
isGlobal
public boolean isGlobal()
- Overrides:
isGlobalin classSQLCreateIndexStatement
-
setGlobal
public void setGlobal(boolean global)
- Overrides:
setGlobalin classSQLCreateIndexStatement
-
-