|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.compile.QueryTreeNode
org.apache.derby.impl.sql.compile.JavaValueNode
org.apache.derby.impl.sql.compile.MethodCallNode
org.apache.derby.impl.sql.compile.NewInvocationNode
public class NewInvocationNode
A NewInvocationNode represents a new object() invocation.
Field Summary | |
---|---|
private boolean |
delimitedIdentifier
|
private boolean |
isBuiltinVTI
|
private boolean |
singleInstantiation
|
Fields inherited from class org.apache.derby.impl.sql.compile.MethodCallNode |
---|
actualMethodReturnType, internalCall, javaClassName, method, methodName, methodParameterTypes, methodParms, routineInfo, signature |
Fields inherited from class org.apache.derby.impl.sql.compile.JavaValueNode |
---|
forCallStatement, jsqlType |
Fields inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode |
---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, isPrivilegeCollectionRequired |
Constructor Summary | |
---|---|
NewInvocationNode()
|
Method Summary | |
---|---|
protected boolean |
assignableTo(java.lang.String toClassName)
Is this class assignable to the specified class? |
JavaValueNode |
bindExpression(FromList fromList,
SubqueryList subqueryList,
java.util.Vector aggregateVector)
Bind this expression. |
boolean |
categorize(JBitSet referencedTabs,
boolean simplePredsOnly)
Categorize this predicate. |
protected java.lang.reflect.Member |
findPublicMethod(java.lang.String methodName,
boolean staticMethod)
Is this class have a public method with the specified signiture This is useful for the VTI interface where we want to see if the class has the option static method for returning the ResultSetMetaData. |
void |
generateExpression(ExpressionClassBuilder acb,
MethodBuilder mb)
Do code generation for this method call |
void |
init(java.lang.Object javaClassName,
java.lang.Object params,
java.lang.Object delimitedIdentifier)
Initializer for a NewInvocationNode. |
void |
init(java.lang.Object vtiTableFuncName,
java.lang.Object tableDescriptor,
java.lang.Object params,
java.lang.Object delimitedIdentifier)
Initialize a query tree node. |
boolean |
isBuiltinVTI()
Report whether this node represents a builtin VTI. |
(package private) void |
setSingleInstantiation()
Mark this node as only needing to to a single instantiation. |
Methods inherited from class org.apache.derby.impl.sql.compile.JavaValueNode |
---|
castToPrimitive, checkReliability, generate, generateReceiver, generateReceiver, getCollationType, getConstantValueAsObject, getJavaTypeName, getJSQLType, getPrimitiveTypeName, getReceiverExpression, isPrimitiveType, mapToTypeID, markForCallStatement, markReturnValueDiscarded, mustCastToPrimitive, returnValueDiscarded, returnValueToSQLDomain, setCollationType, setJavaTypeName, valueReturnedToSQLDomain |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private boolean singleInstantiation
private boolean delimitedIdentifier
private boolean isBuiltinVTI
Constructor Detail |
---|
public NewInvocationNode()
Method Detail |
---|
public void init(java.lang.Object javaClassName, java.lang.Object params, java.lang.Object delimitedIdentifier) throws StandardException
init
in class QueryTreeNode
StandardException
- Thrown on errorpublic void init(java.lang.Object vtiTableFuncName, java.lang.Object tableDescriptor, java.lang.Object params, java.lang.Object delimitedIdentifier) throws StandardException
QueryTreeNode
init
in class QueryTreeNode
StandardException
- Thrown on errorpublic boolean isBuiltinVTI()
void setSingleInstantiation()
public JavaValueNode bindExpression(FromList fromList, SubqueryList subqueryList, java.util.Vector aggregateVector) throws StandardException
bindExpression
in class JavaValueNode
fromList
- The FROM list for the query this
expression is in, for binding columns.subqueryList
- The subquery list being built as we find SubqueryNodesaggregateVector
- The aggregate vector being built as we find AggregateNodes
StandardException
- Thrown on errorValueNode.bindExpression(org.apache.derby.impl.sql.compile.FromList, org.apache.derby.impl.sql.compile.SubqueryList, java.util.Vector)
public boolean categorize(JBitSet referencedTabs, boolean simplePredsOnly) throws StandardException
categorize
in class MethodCallNode
referencedTabs
- JBitSet with bit map of referenced FromTablessimplePredsOnly
- Whether or not to consider method
calls, field references and conditional nodes
when building bit map
StandardException
- Thrown on errorValueNode.categorize(org.apache.derby.iapi.util.JBitSet, boolean)
protected boolean assignableTo(java.lang.String toClassName) throws StandardException
toClassName
- The java class name we want to assign to
StandardException
- Thrown on errorprotected java.lang.reflect.Member findPublicMethod(java.lang.String methodName, boolean staticMethod) throws StandardException
methodName
- The method name we are looking forstaticMethod
- Whether or not the method we are looking for is static
StandardException
- Thrown on errorpublic void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException
generateExpression
in class JavaValueNode
acb
- The ExpressionClassBuilder for the class we're generatingmb
- The method the expression will go into
StandardException
- Thrown on error
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |