com.akiban.sql.parser
Class NonStaticMethodCallNode

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.JavaValueNode
          extended by com.akiban.sql.parser.MethodCallNode
              extended by com.akiban.sql.parser.NonStaticMethodCallNode
All Implemented Interfaces:
Visitable

public class NonStaticMethodCallNode
extends MethodCallNode

A NonStaticMethodCallNode is really a node to represent a (static or non-static) method call from an object (as opposed to a static method call from a class.


Field Summary
 
Fields inherited from class com.akiban.sql.parser.MethodCallNode
javaClassName, methodName, methodParms
 
Fields inherited from class com.akiban.sql.parser.JavaValueNode
forCallStatement, jsqlType
 
Fields inherited from class com.akiban.sql.parser.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
 
Constructor Summary
NonStaticMethodCallNode()
           
 
Method Summary
 void copyFrom(QueryTreeNode node)
          Fill this node with a deep copy of the given node.
 void init(Object methodName, Object receiver)
          Initializer for a NonStaticMethodCallNode
 void printSubNodes(int depth)
          Prints the sub-nodes of this object.
 
Methods inherited from class com.akiban.sql.parser.MethodCallNode
addParms, getJavaClassName, getMethodName, getMethodParameters, init, setJavaClassName, toString
 
Methods inherited from class com.akiban.sql.parser.JavaValueNode
castToPrimitive, getJavaTypeName, getJSQLType, getPrimitiveTypeName, getType, isPrimitiveType, mapToTypeID, markForCallStatement, markReturnValueDiscarded, mustCastToPrimitive, returnValueDiscarded, returnValueToSQLDomain, setJavaTypeName, valueReturnedToSQLDomain
 
Methods inherited from class com.akiban.sql.parser.QueryTreeNode
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonStaticMethodCallNode

public NonStaticMethodCallNode()
Method Detail

init

public void init(Object methodName,
                 Object receiver)
          throws StandardException
Initializer for a NonStaticMethodCallNode

Overrides:
init in class QueryTreeNode
Parameters:
methodName - The name of the method to call
receiver - A JavaValueNode representing the receiving object
Throws:
StandardException - Thrown on error

copyFrom

public void copyFrom(QueryTreeNode node)
              throws StandardException
Fill this node with a deep copy of the given node.

Overrides:
copyFrom in class MethodCallNode
Throws:
StandardException

printSubNodes

public void printSubNodes(int depth)
Prints the sub-nodes of this object. See QueryTreeNode.java for how tree printing is supposed to work.

Overrides:
printSubNodes in class MethodCallNode
Parameters:
depth - The depth of this node in the tree


Copyright © 2013 Akiban Technologies, Inc. All rights reserved.