Top Description Fields Constructors Methods
org.apache.derby.impl.sql.compile

pack-priv Class SimpleStringOperatorNode

extends UnaryOperatorNode
Class Inheritance
Imports
java.sql.Types, java.util.List, org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.ClassName, .SQLState, org.apache.derby.iapi.services.context.ContextManager, org.apache.derby.iapi.types.DataTypeDescriptor, .TypeId

This node represents a unary upper or lower operator

Field Summary

Inherited from org.apache.derby.impl.sql.compile.UnaryOperatorNode:
K_BASEK_XMLPARSEK_XMLSERIALIZEkindmethodNameoperandoperatorreceiverInterfaceTyperesultInterfaceTypeUnaryArgTypesUnaryMethodNamesUnaryOperatorsUnaryResultTypes

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv ValueNode

Returns:

The new top of the expression tree.
bindExpression
(FromList
The query's FROM list
fromList
,
SubqueryList
The subquery list being built as we find SubqueryNodes
subqueryList
,
List<AggregateNode>
The aggregate list being built as we find AggregateNodes
aggregates
)

Overrides org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindExpression.

Bind this operator

pack-priv void
pack-priv String
Inherited from org.apache.derby.impl.sql.compile.UnaryOperatorNode:
acceptChildrenaddXmlOpMethodParamsbindOperandcategorizeconstantExpressiongenerateExpressiongetOperandgetOperatorStringgetOrderableVariantTypegetParameterOperandisConstantExpressionisEquivalentisSameNodeKindpreprocessprintSubNodesremapColumnReferencesToExpressionssetMethodNamesetOperatortoString

Constructor Detail

SimpleStringOperatorNodeback to summary
pack-priv SimpleStringOperatorNode(ValueNode operand, String methodName, ContextManager cm) throws StandardException

Method Detail

bindExpressionback to summary
pack-priv ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, List<AggregateNode> aggregates) throws StandardException

Overrides org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindExpression.

Bind this operator

Parameters
fromList:FromList

The query's FROM list

subqueryList:SubqueryList

The subquery list being built as we find SubqueryNodes

aggregates:List<AggregateNode>

The aggregate list being built as we find AggregateNodes

Returns:ValueNode

The new top of the expression tree.

Annotations
@Override
Exceptions
StandardException:
Thrown on error
bindParameterback to summary
pack-priv void bindParameter() throws StandardException

Overrides org.apache.derby.impl.sql.compile.UnaryOperatorNode.bindParameter.

Bind a ? parameter operand of the upper/lower function.

Annotations
@Override
Exceptions
StandardException:
Thrown on error
getReceiverInterfaceNameback to summary
pack-priv String getReceiverInterfaceName()

Overrides org.apache.derby.impl.sql.compile.UnaryOperatorNode.getReceiverInterfaceName.

This is a length operator node. Overrides this method in UnaryOperatorNode for code generation purposes.

Annotations
@Override