Visitable
class NewInvocationNode extends MethodCallNode
Modifier and Type | Field | Description |
---|---|---|
private boolean |
delimitedIdentifier |
|
private boolean |
isBuiltinVTI |
|
private boolean |
singleInstantiation |
forCallStatement, jsqlType
actualMethodReturnType, internalCall, javaClassName, method, methodName, methodParameterTypes, methodParms, routineInfo, signature
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_CYCLE, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor | Description |
---|---|
NewInvocationNode(java.lang.String javaClassName,
java.util.List<ValueNode> params,
boolean delimitedIdentifier,
ContextManager cm) |
Constructor for a NewInvocationNode.
|
NewInvocationNode(TableName vtiTableFuncName,
TableDescriptor tableDescriptor,
java.util.List<ValueNode> params,
boolean delimitedIdentifier,
ContextManager cm) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
assignableTo(java.lang.String toClassName) |
Is this class assignable to the specified class?
|
(package private) JavaValueNode |
bindExpression(FromList fromList,
SubqueryList subqueryList,
java.util.List<AggregateNode> aggregates) |
Bind this expression.
|
(package private) 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.
|
(package private) void |
generateExpression(ExpressionClassBuilder acb,
MethodBuilder mb) |
Do code generation for this method call
|
(package private) 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.
|
castToPrimitive, checkReliability, generate, generateReceiver, generateReceiver, getCollationType, getConstantValueAsObject, getJavaTypeName, getJSQLType, getPrimitiveTypeName, getReceiverExpression, isPrimitiveType, mapToTypeID, markForCallStatement, markReturnValueDiscarded, mustCastToPrimitive, returnValueDiscarded, returnValueToSQLDomain, setCollationType, setJavaTypeName, valueReturnedToSQLDomain
acceptChildren, addParms, areParametersQueryInvariant, bindParameters, generateOneParameter, generateParameters, getCorrelationTables, getDataType, getFirstVarargIdx, getFullName, getIsParam, getJavaClassName, getMethodName, getMethodParameterClasses, getMethodParms, getObjectSignature, getObjectTypeName, getOrderableVariantType, getParameterTypeName, getPrimitiveSignature, getResolvedMethod, getRoutineArgIdx, getRoutineArgIdx, getRoutineInfo, hasVarargs, isVararg, preprocess, printSubNodes, remapColumnReferencesToExpressions, resolveMethodCall, setNullParameterInfo, someParametersAreNull, stripOneArrayLevel, throwNoMethodFound, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, addTag, addUDTUsagePriv, addUDTUsagePriv, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, copyTagsFrom, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContext, getContextManager, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getLongProperty, getNullNode, getOffsetOrderedNodes, getOptimizerFactory, getOptimizerTracer, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, getUDTDesc, isAtomic, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, optimizerTracingIsOn, orReliability, parseSearchCondition, parseStatement, printLabel, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setEndOffset, setRefActionInfo, stackPrint, taggedWith, treePrint, treePrint, verifyClassExist
private boolean singleInstantiation
private boolean delimitedIdentifier
private boolean isBuiltinVTI
NewInvocationNode(java.lang.String javaClassName, java.util.List<ValueNode> params, boolean delimitedIdentifier, ContextManager cm) throws StandardException
javaClassName
- The full package.class name of the classparams
- The parameter list for the constructordelimitedIdentifier
- cm
- The context managerStandardException
- Thrown on errorNewInvocationNode(TableName vtiTableFuncName, TableDescriptor tableDescriptor, java.util.List<ValueNode> params, boolean delimitedIdentifier, ContextManager cm) throws StandardException
StandardException
boolean isBuiltinVTI()
void setSingleInstantiation()
JavaValueNode bindExpression(FromList fromList, SubqueryList subqueryList, java.util.List<AggregateNode> aggregates) 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 SubqueryNodesaggregates
- The aggregate list being built as we find AggregateNodesStandardException
- Thrown on errorValueNode.bindExpression(org.apache.derby.impl.sql.compile.FromList, org.apache.derby.impl.sql.compile.SubqueryList, java.util.List<org.apache.derby.impl.sql.compile.AggregateNode>)
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 mapStandardException
- 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 toStandardException
- 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 staticStandardException
- Thrown on errorvoid 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 intoStandardException
- Thrown on errorApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.