Class OraclePrimaryKey
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
-
- com.alibaba.druid.sql.ast.statement.SQLUnique
-
- com.alibaba.druid.sql.ast.statement.SQLPrimaryKeyImpl
-
- com.alibaba.druid.sql.dialect.oracle.ast.stmt.OraclePrimaryKey
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLConstraint,SQLPrimaryKey,SQLTableConstraint,SQLTableElement,SQLUniqueConstraint,OracleSQLObject,OracleConstraint
public class OraclePrimaryKey extends SQLPrimaryKeyImpl implements OracleConstraint, SQLPrimaryKey, SQLTableElement, SQLTableConstraint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleConstraint
OracleConstraint.Initially
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLPrimaryKeyImpl
clustered, disableNovalidate, notEnforced
-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLUnique
indexDefinition
-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
dbType, hints, rely, validate
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description OraclePrimaryKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(OracleASTVisitor visitor)protected voidaccept0(SQLASTVisitor visitor)OraclePrimaryKeyclone()voidcloneTo(OraclePrimaryKey x)BooleangetDeferrable()BooleangetEnable()SQLNamegetExceptionsInto()OracleConstraint.InitiallygetInitially()OracleUsingIndexClausegetUsing()voidsetDeferrable(Boolean deferrable)voidsetEnable(Boolean enable)voidsetExceptionsInto(SQLName exceptionsInto)voidsetInitially(OracleConstraint.Initially initially)voidsetUsing(OracleUsingIndexClause using)-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLPrimaryKeyImpl
cloneTo, isClustered, isDisableNovalidate, isNotEnforced, setClustered, setDisableNovalidate, setNotEnforced
-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLUnique
addColumn, addColumn, applyColumnRename, applyDropColumn, cloneTo, containsColumn, containsColumn, getColumns, getComment, getCovering, getIndexDefinition, getName, setComment, setName, setName, simplify
-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
cloneTo, cloneTo, getDbType, getHints, getRely, getValidate, replace, setDbType, setHints, setRely, setValidate
-
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, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleConstraint
getValidate, setValidate
-
Methods inherited from interface com.alibaba.druid.sql.ast.statement.SQLConstraint
getComment, getName, setComment, setHasConstraint, setName, simplify
-
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.statement.SQLUniqueConstraint
containsColumn, containsColumn, getColumns
-
-
-
-
Method Detail
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLPrimaryKeyImpl
-
accept0
public void accept0(OracleASTVisitor visitor)
- Specified by:
accept0in interfaceOracleSQLObject
-
getDeferrable
public Boolean getDeferrable()
- Specified by:
getDeferrablein interfaceOracleConstraint
-
setDeferrable
public void setDeferrable(Boolean deferrable)
- Specified by:
setDeferrablein interfaceOracleConstraint
-
getUsing
public OracleUsingIndexClause getUsing()
- Specified by:
getUsingin interfaceOracleConstraint
-
setUsing
public void setUsing(OracleUsingIndexClause using)
- Specified by:
setUsingin interfaceOracleConstraint
-
getExceptionsInto
public SQLName getExceptionsInto()
- Specified by:
getExceptionsIntoin interfaceOracleConstraint
-
setExceptionsInto
public void setExceptionsInto(SQLName exceptionsInto)
- Specified by:
setExceptionsIntoin interfaceOracleConstraint
-
getEnable
public Boolean getEnable()
- Specified by:
getEnablein interfaceOracleConstraint- Overrides:
getEnablein classSQLConstraintImpl
-
setEnable
public void setEnable(Boolean enable)
- Specified by:
setEnablein interfaceOracleConstraint- Overrides:
setEnablein classSQLConstraintImpl
-
getInitially
public OracleConstraint.Initially getInitially()
- Specified by:
getInitiallyin interfaceOracleConstraint
-
setInitially
public void setInitially(OracleConstraint.Initially initially)
- Specified by:
setInitiallyin interfaceOracleConstraint
-
cloneTo
public void cloneTo(OraclePrimaryKey x)
-
clone
public OraclePrimaryKey clone()
- Specified by:
clonein interfaceOracleConstraint- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableElement- Overrides:
clonein classSQLPrimaryKeyImpl
-
-