Package com.alibaba.druid.sql.ast
Class SQLUnpivot
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLUnpivot
-
- All Implemented Interfaces:
SQLObject
public class SQLUnpivot extends SQLObjectImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSQLUnpivot.NullsIncludeType
-
Field Summary
Fields Modifier and Type Field Description protected List<SQLExpr>itemsprotected SQLUnpivot.NullsIncludeTypenullsIncludeTypeprotected List<SQLExpr>pivotForprotected List<SQLSelectItem>pivotIn-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLUnpivot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor v)voidaddItem(SQLExpr item)SQLUnpivotclone()List<SQLExpr>getItems()SQLUnpivot.NullsIncludeTypegetNullsIncludeType()List<SQLExpr>getPivotFor()List<SQLSelectItem>getPivotIn()voidsetNullsIncludeType(SQLUnpivot.NullsIncludeType nullsIncludeType)-
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
-
-
-
-
Field Detail
-
nullsIncludeType
protected SQLUnpivot.NullsIncludeType nullsIncludeType
-
pivotIn
protected final List<SQLSelectItem> pivotIn
-
-
Method Detail
-
accept0
protected void accept0(SQLASTVisitor v)
- Specified by:
accept0in classSQLObjectImpl
-
getNullsIncludeType
public SQLUnpivot.NullsIncludeType getNullsIncludeType()
-
setNullsIncludeType
public void setNullsIncludeType(SQLUnpivot.NullsIncludeType nullsIncludeType)
-
getPivotIn
public List<SQLSelectItem> getPivotIn()
-
addItem
public void addItem(SQLExpr item)
-
clone
public SQLUnpivot clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
-