Class RedshiftSortKey
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.dialect.redshift.stmt.RedshiftObjectImpl
-
- com.alibaba.druid.sql.dialect.redshift.stmt.RedshiftSortKey
-
- All Implemented Interfaces:
SQLObject,RedshiftObject
public class RedshiftSortKey extends RedshiftObjectImpl
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description RedshiftSortKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(RedshiftASTVisitor visitor)voidaccept0(SQLASTVisitor v)voidaddColumn(SQLExpr sqlExpr)List<SQLExpr>getColumns()booleanisAuto()booleanisCompound()booleanisInterleaved()voidsetAuto(boolean auto)voidsetCompound(boolean compound)voidsetInterleaved(boolean interleaved)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, 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.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
isCompound
public boolean isCompound()
-
setCompound
public void setCompound(boolean compound)
-
isInterleaved
public boolean isInterleaved()
-
setInterleaved
public void setInterleaved(boolean interleaved)
-
isAuto
public boolean isAuto()
-
setAuto
public void setAuto(boolean auto)
-
addColumn
public void addColumn(SQLExpr sqlExpr)
-
accept0
public void accept0(SQLASTVisitor v)
- Specified by:
accept0in interfaceRedshiftObject- Specified by:
accept0in classSQLObjectImpl
-
accept0
public void accept0(RedshiftASTVisitor visitor)
- Specified by:
accept0in interfaceRedshiftObject- Specified by:
accept0in classRedshiftObjectImpl
-
-