org.hsqldb
Class Expression

java.lang.Object
  extended byorg.hsqldb.Expression

public class Expression
extends Object

To Do:
fredt - move error string literals to Trace

Field Summary
static int PARAM_IN
           
static int PARAM_IN_OUT
           
static int PARAM_OUT
           
 
Method Summary
 boolean similarTo(Expression exp)
          Check if the given expression defines similar operation as this expression.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PARAM_IN

public static final int PARAM_IN
See Also:
Constant Field Values

PARAM_IN_OUT

public static final int PARAM_IN_OUT
See Also:
Constant Field Values

PARAM_OUT

public static final int PARAM_OUT
See Also:
Constant Field Values
Method Detail

toString

public String toString()

similarTo

public boolean similarTo(Expression exp)
Check if the given expression defines similar operation as this expression. This method is used for ensuring an expression in the ORDER BY clause has a matching column in the SELECT list. This check is necessary with a SELECT DISTINCT query.
In the future we may perform the test when evaluating the search condition to get a more accurate match.



Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.