com.triactive.jdo.store.sql.expr
Class BetweenExpression

java.lang.Object
  extended bycom.triactive.jdo.store.sql.expr.AbstractSqlExpression
      extended bycom.triactive.jdo.store.sql.expr.BooleanExpression
          extended bycom.triactive.jdo.store.sql.expr.ComparisonExpression
              extended bycom.triactive.jdo.store.sql.expr.BetweenExpression
All Implemented Interfaces:
SqlExpression, StatementTextGenerator

public class BetweenExpression
extends com.triactive.jdo.store.sql.expr.ComparisonExpression

An SQL expression using the BETWEEN operator.

Author:
Mike Martin

Nested Class Summary
 
Nested classes inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
AbstractSqlExpression.Body, AbstractSqlExpression.CompoundExpression, AbstractSqlExpression.SimpleColumnReference, AbstractSqlExpression.SubqueryExpression
 
Field Summary
 
Fields inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
body, qs
 
Constructor Summary
BetweenExpression(SqlExpression val, SqlExpression lo, SqlExpression hi)
          Constructs a BETWEEN expression of the form val BETWEEN lo AND hi.
 
Method Summary
 BooleanExpression not()
          
 
Methods inherited from class com.triactive.jdo.store.sql.expr.BooleanExpression
and, eor, eq, ior, noteq, protectOuterJoins, unprotectedOuterJoins, unprotectedOuterJoins
 
Methods inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
accessField, add, callMethod, cast, com, div, getColumnMapping, getJavaType, getMapping, getQueryStatement, getReferencedColumns, gt, gteq, innermostQuery, innermostQuery, lt, lteq, mod, mul, neg, newBody, newBody, newBody, newBody, newBody, newBody, newResultExpression, newSubqueryBody, select, setMapping, sub, toStatementText, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BetweenExpression

public BetweenExpression(SqlExpression val,
                         SqlExpression lo,
                         SqlExpression hi)
Constructs a BETWEEN expression of the form val BETWEEN lo AND hi.

Parameters:
val - The value expression to be tested.
lo - An expression representing the lower bound, inclusive.
hi - An expression representing the upper bound, inclusive.
Method Detail

not

public BooleanExpression not()

Specified by:
not in interface SqlExpression
Overrides:
not in class BooleanExpression


Copyright © 2001-2007 The TJDO Project All Rights Reserved.