public abstract class MethodCallNode extends JavaValueNode
Modifier and Type | Field and Description |
---|---|
protected String |
javaClassName
The name of the class containing the method.
|
protected String |
methodName |
protected JavaValueNode[] |
methodParms |
forCallStatement, jsqlType
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
MethodCallNode() |
Modifier and Type | Method and Description |
---|---|
void |
addParms(List<ValueNode> parameterList)
Add the parameter list
|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
String |
getJavaClassName() |
String |
getMethodName() |
JavaValueNode[] |
getMethodParameters() |
void |
init(Object methodName)
Initializer for a MethodCallNode
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
void |
setJavaClassName(String javaClassName) |
String |
toString()
Convert this object to a String.
|
castToPrimitive, getJavaTypeName, getJSQLType, getPrimitiveTypeName, getType, isPrimitiveType, mapToTypeID, markForCallStatement, markReturnValueDiscarded, mustCastToPrimitive, returnValueDiscarded, returnValueToSQLDomain, setJavaTypeName, valueReturnedToSQLDomain
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, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
protected String methodName
protected String javaClassName
#bindExpression
,
getJavaClassName()
protected JavaValueNode[] methodParms
public void init(Object methodName)
init
in class QueryTreeNode
methodName
- The name of the method to callpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class JavaValueNode
StandardException
public String getMethodName()
public String getJavaClassName()
public void setJavaClassName(String javaClassName)
public JavaValueNode[] getMethodParameters()
public void addParms(List<ValueNode> parameterList) throws StandardException
parameterList
- A List of the parametersStandardException
- Thrown on errorpublic void printSubNodes(int depth)
printSubNodes
in class QueryTreeNode
depth
- The depth of this node in the treepublic String toString()
toString
in class QueryTreeNode
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.