db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: Checking whether the two "expressions" are equal
Date Sat, 24 Apr 2010 14:44:37 GMT
Nirmal Fernando wrote:
> I am in a trouble of finding where is the value/s used in an expression 
> (eg: j*2 i.e. value is 2) stored. If I expand this (j*2) value node, I 
> can see the operator used as '*' or times, but not the value.

I think you should see that '*' becomes a BinaryArithmeticOperatorNode,
with two children: the left operand should be a ColumnReference, while
the right operand should be a NumericConstantNode.

The NumericConstantNode should be the data structure holding the
constant value '2'.



View raw message