Package gudusoft.gsqlparser.nodes.mdx
Class TMdxFunctionNode
Object
gudusoft.gsqlparser.nodes.TParseTreeNode
gudusoft.gsqlparser.nodes.mdx.TMdxExpNode
gudusoft.gsqlparser.nodes.mdx.TMdxBaseFunctionNode
gudusoft.gsqlparser.nodes.mdx.TMdxFunctionNode
- All Implemented Interfaces:
Visitable,Iterator<TSourceToken>
MDX function or method.
When it represents a method, the first element of
This is a method: Set_Expression.Item(Index),
This is a function: Median(Set_Expression [ ,Numeric_Expression ] ) ,
When it represents a method, the first element of
getArguments() is the object expression
and the real arguments is start from the second element.
This is a method: Set_Expression.Item(Index),
getFunctionName() returns Item,
the first element of getArguments() returns Set_Expression while the second element is Index
This is a function: Median(Set_Expression [ ,Numeric_Expression ] ) ,
getFunctionName() returns Median, the first element of getArguments() returns Set_Expression-
Field Summary
Fields inherited from class gudusoft.gsqlparser.nodes.TParseTreeNode
dbvendor, doubleLinkedTokenListToString, nodeActionAppend, nodeActionInsert, nodeActionRemove, nodeActionUnknown, nodeActionUpdate, nodeActionUpdateText, nodeChangeEndToken, nodeChangeStartToken -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAccept a visitorvoidAccept a visitor to iterate this class and sub-nodes of this classIf this class represents a method, the first element is the object expression of the method, and the real argument is start from the second element.voidvoidMethods inherited from class gudusoft.gsqlparser.nodes.TParseTreeNode
addAllMyTokensToTokenList, addToTokenChain, appendNewNode, calculateTokenCount, doAppendNewNode, doParse, 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, 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, toString, toString2Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
TMdxFunctionNode
public TMdxFunctionNode()
-
-
Method Details
-
TMdxFunctionNode
-
init
- Overrides:
initin classTParseTreeNode
-
getFunctionName
-
getFunctionSegment
-
getArguments
If this class represents a method, the first element is the object expression of the method, and the real argument is start from the second element.- Returns:
- argument of function or method.
-
getMdxDataType
- Specified by:
getMdxDataTypein classTMdxExpNode
-
getExpSyntax
-
accept
Description copied from class:TParseTreeNodeAccept a visitor- Specified by:
acceptin interfaceVisitable- Overrides:
acceptin classTMdxExpNode- Parameters:
v- visitor is a descendant class ofTParseTreeVisitor
-
acceptChildren
Description copied from class:TParseTreeNodeAccept a visitor to iterate this class and sub-nodes of this class- Specified by:
acceptChildrenin interfaceVisitable- Overrides:
acceptChildrenin classTMdxExpNode- Parameters:
v- visitor is a descendant class ofTParseTreeVisitor
-