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
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept0
(OracleASTVisitor visitor) protected void
accept0
(SQLASTVisitor visitor) getSort()
boolean
boolean
boolean
boolean
isGlobal()
boolean
boolean
isLocal()
boolean
boolean
isOnline()
boolean
void
setCluster
(boolean cluster) void
setCompress
(Boolean compress) void
setCompressForOltp
(boolean compressForOltp) void
setCompressLevel
(Integer compressLevel) void
setComputeStatistics
(boolean computeStatistics) void
void
setFreeLists
(Integer freeLists) void
setGlobal
(boolean global) void
setIndexOnlyTopLevel
(boolean indexOnlyTopLevel) void
setInitrans
(Integer initrans) void
setLocal
(boolean local) void
setLogging
(Boolean logging) void
setMaxtrans
(Integer maxtrans) void
setNoParallel
(boolean noParallel) void
setOnline
(boolean online) void
setParallel
(SQLExpr parallel) void
setPctfree
(Integer ptcfree) void
setPctincrease
(Integer pctincrease) void
setPctthreshold
(Integer pctthreshold) void
setPctused
(Integer ptcused) void
setReverse
(boolean reverse) void
void
setStorage
(SQLObject storage) void
setTablespace
(SQLName tablespace) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateIndexStatement
addItem, addOption, clone, getChildren, getColumns, getComment, getCovering, getDbPartitionBy, 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
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.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
-
tablespace
-
storage
-
-
Constructor Details
-
OracleCreateIndexStatement
public OracleCreateIndexStatement()
-
-
Method Details
-
getParallel
-
setParallel
-
isNoParallel
public boolean isNoParallel() -
setNoParallel
public void setNoParallel(boolean noParallel) -
isIndexOnlyTopLevel
public boolean isIndexOnlyTopLevel() -
setIndexOnlyTopLevel
public void setIndexOnlyTopLevel(boolean indexOnlyTopLevel) -
getSort
-
setSort
-
isReverse
public boolean isReverse() -
setReverse
public void setReverse(boolean reverse) -
accept0
- Overrides:
accept0
in classSQLCreateIndexStatement
-
accept0
- Specified by:
accept0
in interfaceOracleSQLObject
-
getEnable
-
setEnable
-
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
- Specified by:
getTablespace
in interfaceOracleSegmentAttributes
- Overrides:
getTablespace
in classSQLCreateIndexStatement
-
setTablespace
- Specified by:
setTablespace
in interfaceOracleSegmentAttributes
- Overrides:
setTablespace
in classSQLCreateIndexStatement
-
getCompress
- Specified by:
getCompress
in interfaceOracleSegmentAttributes
-
setCompress
- Specified by:
setCompress
in interfaceOracleSegmentAttributes
-
getCompressLevel
- Specified by:
getCompressLevel
in interfaceOracleSegmentAttributes
-
setCompressLevel
- Specified by:
setCompressLevel
in interfaceOracleSegmentAttributes
-
getPctthreshold
-
setPctthreshold
-
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
-
getLogging
- Specified by:
getLogging
in interfaceOracleSegmentAttributes
-
setLogging
- Specified by:
setLogging
in interfaceOracleSegmentAttributes
-
getStorage
- Specified by:
getStorage
in interfaceOracleSegmentAttributes
-
setStorage
- Specified by:
setStorage
in interfaceOracleSegmentAttributes
-
isCompressForOltp
public boolean isCompressForOltp()- Specified by:
isCompressForOltp
in interfaceOracleSegmentAttributes
-
setCompressForOltp
public void setCompressForOltp(boolean compressForOltp) - Specified by:
setCompressForOltp
in interfaceOracleSegmentAttributes
-
getLocalPartitions
-
isLocal
public boolean isLocal()- Overrides:
isLocal
in classSQLCreateIndexStatement
-
setLocal
public void setLocal(boolean local) - Overrides:
setLocal
in classSQLCreateIndexStatement
-
getLocalStoreIn
-
getGlobalPartitions
-
isGlobal
public boolean isGlobal()- Overrides:
isGlobal
in classSQLCreateIndexStatement
-
setGlobal
public void setGlobal(boolean global) - Overrides:
setGlobal
in classSQLCreateIndexStatement
-