public class TPivotClause extends TNodeWithAliasClause implements IRelation
| Modifier and Type | Field and Description |
|---|---|
static int |
pivot |
static int |
unpivot |
dbvendor, doubleLinkedTokenListToString, nodeActionAppend, nodeActionInsert, nodeActionRemove, nodeActionUnknown, nodeActionUpdate, nodeActionUpdateText, nodeChangeEndToken, nodeChangeStartToken| Constructor and Description |
|---|
TPivotClause() |
getAliasClause, setAliasClause, toStringaddAllMyTokensToTokenList, addToTokenChain, appendNewNode, calculateTokenCount, doAppendNewNode, fastSetString, getAnchorNode, getColumnNo, getCommentAfterNode, getCommentBeforeNode, getCompactString, getDummyTag, getEndToken, getEvaluateDatatype, getEvalValue, getGsqlparser, getLineNo, getLocation, getMd5, getNodeStatus, getNodeType, getParentObjectName, getPlainText, getStartToken, getTokenCount, hasNext, init, init, init, init, insertAfterAToken, insertNewNodeBeforeMe, isChanged, isTokensInChain, next, refreshAllNodesTokenCount, remove, removeAllMyTokensFromTokenList, removeTokens, removeTokensBetweenNodes, removeTokensBetweenToken, replaceWithNewNode, resetIterator, setAnchorNode, setChanged, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setEndToken, setEndTokenDirectly, setEvaluateDatatype, setEvalValue, setGsqlparser, setIncludingComment, setLocation, setNewSubNode, setNodeStatus, setNodeType, setParent, setPlainText, setStartToken, setStartToken, setStartToken, setStartToken, setStartTokenDirectly, setString, setString2, subNodeInNode, toScript, toString2clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic static final int pivot
public static final int unpivot
public TPivotClause()
public ArrayList<TAttributeNode> getAttributes()
IRelationgetAttributes in interface IRelationpublic String getRelationName()
getRelationName in interface IRelationpublic String getDisplayName()
public void initAttributes()
public TTable getPivotTable()
public TPivotInClause getPivotInClause()
public TUnpivotInClause getUnpivotInClause()
public TObjectNameList getPivotColumnList()
public TResultColumnList getIn_result_list()
getPivotInClause() insteadpublic TResultColumnList getAggregation_function_list()
public void setType(int type)
public int getType()
public TObjectNameList getValueColumnList()
public TFunctionCall getAggregation_function()
public TObjectNameList getColumnList()
public TObjectName getPivotColumn()
getPivotColumnList() instead.public TObjectName getValueColumn()
getValueColumnList() instead.public void init(Object arg1, Object arg2)
init in class TParseTreeNodepublic void init(Object arg1, Object arg2, Object arg3)
init in class TParseTreeNodepublic void doParse(TCustomSqlStatement psql, ESqlClause plocation)
TParseTreeNodedoParse in class TParseTreeNodepsql - SQL statement this node belongs toplocation - SQL clause this node belongs topublic void accept(TParseTreeVisitor v)
TParseTreeNodeaccept in interface Visitableaccept in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorpublic void acceptChildren(TParseTreeVisitor v)
TParseTreeNodeacceptChildren in interface VisitableacceptChildren in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorpublic void setPivotInClause(TPivotInClause pivotInClause)
public void setUnpivotInClause(TUnpivotInClause unpivotInClause)
public void setAggregation_function_list(TResultColumnList aggregation_function_list)
public void setPivotColumnList(TObjectNameList pivotColumnList)
public void setAggregation_function(TFunctionCall aggregation_function)
public void setValueColumnList(TObjectNameList valueColumnList)
public void setColumnList(TObjectNameList columnList)