org.apache.empire.db.expr.compare
Class DBCompareExpr
java.lang.Object
org.apache.empire.db.DBObject
org.apache.empire.db.DBExpr
org.apache.empire.db.expr.compare.DBCompareExpr
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DBCompareAndOrExpr, DBCompareColExpr, DBCompareNotExpr, DBExistsExpr, DBParenthesisExpr
public abstract class DBCompareExpr
- extends DBExpr
This class is a common base class for all SQL filter constraints classes
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBCompareExpr
public DBCompareExpr()
isMutuallyExclusive
public abstract boolean isMutuallyExclusive(DBCompareExpr other)
and
public DBCompareAndOrExpr and(DBCompareExpr expr)
- Creates a new DBCompareAndOrExpr object.
- Parameters:
expr
- the right part of the AND expression
- Returns:
- the and compare expression
or
public DBCompareAndOrExpr or(DBCompareExpr expr)
- Create a new DBCompareAndOrExpr object.
- Parameters:
expr
- the right part of the OR expression
- Returns:
- the or compare expression
not
public DBCompareExpr not()
- Creates a sql-expression for the not() function.
- Returns:
- the new DBCompareColExpr object
Copyright © 2008–2014 Apache Software Foundation. All rights reserved.