Class RedshiftColumnKey
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
com.alibaba.druid.sql.dialect.redshift.stmt.RedshiftColumnConstraint
com.alibaba.druid.sql.dialect.redshift.stmt.RedshiftColumnKey
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLColumnConstraint,SQLConstraint,SQLTableElement
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
dbType, enable, hints, rely, validateFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbooleanbooleanvoidsetDistKey(boolean distKey) voidsetSortKey(boolean sortKey) Methods inherited from class com.alibaba.druid.sql.dialect.redshift.stmt.RedshiftColumnConstraint
clone, cloneToMethods inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
cloneTo, cloneTo, getComment, getDbType, getEnable, getHints, getName, getRely, getValidate, replace, setComment, setDbType, setEnable, setHints, setName, setName, setRely, setValidate, simplifyMethods 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, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.statement.SQLConstraint
getComment, getName, setComment, setHasConstraint, setName, simplifyMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
Constructor Details
-
RedshiftColumnKey
public RedshiftColumnKey()
-
-
Method Details
-
isDistKey
public boolean isDistKey() -
setDistKey
public void setDistKey(boolean distKey) -
isSortKey
public boolean isSortKey() -
setSortKey
public void setSortKey(boolean sortKey) -
accept0
- Overrides:
accept0in classRedshiftColumnConstraint
-