Uses of Class
org.apache.empire.db.expr.compare.DBCompareExpr

Packages that use DBCompareExpr
org.apache.empire.db This package contains the core Empire-DB implementation classes. 
org.apache.empire.db.expr.column This package contains SQL-generator classes for column expressions. 
org.apache.empire.db.expr.compare This package contains SQL-generator classes for compare expressions used in the where and having clause. 
org.apache.empire.db.expr.join This package contains SQL-generator classes for join expressions used in the from clause. 
org.apache.empire.db.oracle This package contains classes necessary to support the Oracle database system. 
 

Uses of DBCompareExpr in org.apache.empire.db
 

Fields in org.apache.empire.db with type parameters of type DBCompareExpr
protected  List<DBCompareExpr> DBCommand.having
           
protected  List<DBCompareExpr> DBCommand.where
           
 

Methods in org.apache.empire.db that return types with arguments of type DBCompareExpr
 List<DBCompareExpr> DBCommand.getWhereConstraints()
          Returns a copy of the defined where clauses.
 

Methods in org.apache.empire.db with parameters of type DBCompareExpr
 void DBCommand.having(DBCompareExpr expr)
          adds a constraint to the having clause.
 DBJoinExpr DBCommand.join(DBRowSet rowset, DBCompareExpr cmp)
          Adds an inner join based on a compare expression to the command.
 DBJoinExpr DBCommand.join(DBRowSet rowset, DBCompareExpr cmp, DBJoinType joinType)
          Adds a join based on a compare expression to the command.
protected  void DBCommand.setConstraint(List<DBCompareExpr> list, DBCompareExpr expr)
          adds a constraint to the 'where' or 'having' collections
 DBCaseExpr DBColumnExpr.when(DBCompareExpr compExpr, Object otherwise)
          Creates and returns a sql-expression for the SQL case-phrase.
The result will be in the form:
"case when [compExpr] then [this] else [otherwise] end"
 void DBCommand.where(DBCompareExpr expr)
          Adds a compare expression to the list of constraints.
 

Method parameters in org.apache.empire.db with type arguments of type DBCompareExpr
 void DBCommand.addWhereConstraints(List<DBCompareExpr> constraints)
          Adds a list of constraints to the command.
protected  void DBCommand.removeConstraintOn(List<DBCompareExpr> list, DBColumnExpr col)
          removes a constraint on a particular column to the 'where' or 'having' collections
protected  void DBCommand.setConstraint(List<DBCompareExpr> list, DBCompareExpr expr)
          adds a constraint to the 'where' or 'having' collections
 

Uses of DBCompareExpr in org.apache.empire.db.expr.column
 

Constructors in org.apache.empire.db.expr.column with parameters of type DBCompareExpr
DBCaseExpr(DBCompareExpr compExpr, DBColumnExpr trueExpr, DBColumnExpr elseExpr)
          Constructs a DBCaseExpr
 

Uses of DBCompareExpr in org.apache.empire.db.expr.compare
 

Subclasses of DBCompareExpr in org.apache.empire.db.expr.compare
 class DBCompareAndOrExpr
          This class is used for combining two filter constraints by and / or operator
 class DBCompareColExpr
          This class is used for defining filter constraints based on a column expression in SQL
 class DBCompareNotExpr
          This class is used for defining filter constraints based on a column expression in SQL
 class DBExistsExpr
          This class is used for building up the SQL-Command for the EXISTS syntax.
 class DBParenthesisExpr
          This class wraps an existing compare expression with parenthesis.
 

Fields in org.apache.empire.db.expr.compare declared as DBCompareExpr
 DBCompareExpr DBExistsExpr.compareExpr
           
 DBCompareExpr DBCompareNotExpr.expr
           
protected  DBCompareExpr DBCompareAndOrExpr.left
           
protected  DBCompareExpr DBCompareAndOrExpr.right
           
 

Methods in org.apache.empire.db.expr.compare that return DBCompareExpr
 DBCompareExpr DBCompareAndOrExpr.getLeft()
           
 DBCompareExpr DBCompareAndOrExpr.getRight()
           
 DBCompareExpr DBCompareExpr.not()
          Creates a sql-expression for the not() function.
 DBCompareExpr DBCompareAndOrExpr.parenthesis()
          wraps the current expression with parenthesis.
 

Methods in org.apache.empire.db.expr.compare with parameters of type DBCompareExpr
 DBCompareAndOrExpr DBCompareExpr.and(DBCompareExpr expr)
          Creates a new DBCompareAndOrExpr object.
abstract  boolean DBCompareExpr.isMutuallyExclusive(DBCompareExpr other)
           
 boolean DBExistsExpr.isMutuallyExclusive(DBCompareExpr other)
          Returns wheter the constraint should replace another one or not.
 boolean DBCompareColExpr.isMutuallyExclusive(DBCompareExpr other)
          Returns whether the constraint should replace another one or not.
 boolean DBCompareNotExpr.isMutuallyExclusive(DBCompareExpr other)
          Returns wheter the constraint should replace another one or not.
 boolean DBParenthesisExpr.isMutuallyExclusive(DBCompareExpr other)
           
 boolean DBCompareAndOrExpr.isMutuallyExclusive(DBCompareExpr other)
          Returns wheter the constraint should replace another one or not.
 DBCompareAndOrExpr DBCompareExpr.or(DBCompareExpr expr)
          Create a new DBCompareAndOrExpr object.
 

Constructors in org.apache.empire.db.expr.compare with parameters of type DBCompareExpr
DBCompareAndOrExpr(DBCompareExpr left, DBCompareExpr right, boolean or)
          Constructs a DBCompareColExpr object
DBCompareNotExpr(DBCompareExpr expr)
          Constructs a DBCompareColExpr object
DBExistsExpr(DBCommandExpr cmd, DBCompareExpr compareExpr)
          Constructs a DBExistsExpr object set the specified parameters to this object.
DBParenthesisExpr(DBCompareExpr wrap)
           
 

Uses of DBCompareExpr in org.apache.empire.db.expr.join
 

Fields in org.apache.empire.db.expr.join declared as DBCompareExpr
protected  DBCompareExpr DBJoinExprEx.cmp
           
 DBCompareExpr DBJoinExpr.compExpr
           
 

Methods in org.apache.empire.db.expr.join that return DBCompareExpr
 DBCompareExpr DBJoinExprEx.getJoinConstraint()
           
 DBCompareExpr DBJoinExpr.getWhere()
          Returns any additional constraints to the join
 

Methods in org.apache.empire.db.expr.join with parameters of type DBCompareExpr
 void DBJoinExpr.where(DBCompareExpr expr)
          This function adds an additional constraint to the join.
 

Constructors in org.apache.empire.db.expr.join with parameters of type DBCompareExpr
DBJoinExprEx(DBRowSet rset, DBCompareExpr cmp, DBJoinType joinType)
          Constructs a new DBJoinExprEx
 

Uses of DBCompareExpr in org.apache.empire.db.oracle
 

Fields in org.apache.empire.db.oracle declared as DBCompareExpr
protected  DBCompareExpr DBCommandOracle.connectBy
           
protected  DBCompareExpr DBCommandOracle.startWith
           
 

Methods in org.apache.empire.db.oracle with parameters of type DBCompareExpr
 void DBCommandOracle.connectByPrior(DBCompareExpr expr)
           
 void DBCommandOracle.startWith(DBCompareExpr expr)
           
 



Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.