|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.JavaValueNode
com.akiban.sql.parser.MethodCallNode
public abstract class MethodCallNode
A MethodCallNode represents a Java method call. Method calls can be done through DML (as expressions) or through the CALL statement.
| Field Summary | |
|---|---|
protected String |
javaClassName
The name of the class containing the method. |
protected String |
methodName
|
protected JavaValueNode[] |
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 | |
|---|---|
MethodCallNode()
|
|
| Method Summary | |
|---|---|
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. |
| 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, 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 |
| Field Detail |
|---|
protected String methodName
protected String javaClassName
#bindExpression,
getJavaClassName()protected JavaValueNode[] methodParms
| Constructor Detail |
|---|
public MethodCallNode()
| Method Detail |
|---|
public void init(Object methodName)
init in class QueryTreeNodemethodName - The name of the method to call
public void copyFrom(QueryTreeNode node)
throws StandardException
copyFrom in class JavaValueNodeStandardExceptionpublic 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 parameters
StandardException - Thrown on errorpublic void printSubNodes(int depth)
printSubNodes in class QueryTreeNodedepth - The depth of this node in the treepublic String toString()
toString in class QueryTreeNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||