public class TPivotClause extends TNodeWithAliasClause
Constructor and Description |
---|
TPivotClause() |
getAliasClause, setAliasClause, toString
addAllMyTokensToTokenList, appendString, fastSetString, getColumnNo, getDummyTag, getEndToken, getGsqlparser, getLineNo, getNodeType, getStartToken, init, init, init, init, removeAllMyTokensFromTokenList, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setGsqlparser, setIncludingComment, setNodeType, setStartToken, setStartToken, setStartToken, setStartToken, setString, toScript
public static final int pivot
public static final int unpivot
public TPivotInClause getPivotInClause()
public TUnpivotInClause getUnpivotInClause()
public TObjectNameList getPivotColumnList()
public TResultColumnList getIn_result_list()
public 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 TParseTreeNode
public void init(Object arg1, Object arg2, Object arg3)
init
in class TParseTreeNode
public void doParse(TCustomSqlStatement psql, ESqlClause plocation)
TParseTreeNode
doParse
in class TParseTreeNode
psql
- SQL statement this node belongs toplocation
- SQL clause this node belongs topublic void accept(TParseTreeVisitor v)
TParseTreeNode
accept
in interface Visitable
accept
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void acceptChildren(TParseTreeVisitor v)
TParseTreeNode
acceptChildren
in interface Visitable
acceptChildren
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public 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)
Copyright © 2019. All rights reserved.