net.ontopia.persistence.query.sql
Class BooleanSQLOptimizer

java.lang.Object
  extended by net.ontopia.persistence.query.sql.BooleanSQLOptimizer
Direct Known Subclasses:
EqualsSQLOptimizer

public abstract class BooleanSQLOptimizer
extends java.lang.Object

INTERNAL: Class used to build SQL queries from JDO queries.


Constructor Summary
BooleanSQLOptimizer()
           
 
Method Summary
abstract  SQLQuery optimize(SQLQuery query)
           
protected  int optimizeAnd(SQLAnd expr)
           
protected  int optimizeEquals(SQLEquals expr)
           
protected  int optimizeExists(SQLExists expr)
           
protected  int optimizeExpression(SQLExpressionIF sqlexpr)
           
protected  int optimizeFalse(SQLFalse expr)
           
protected  void optimizeFilter(SQLQuery query)
           
protected  int optimizeIn(SQLIn expr)
           
protected  int optimizeIsNull(SQLIsNull expr)
           
protected  int optimizeJoin(SQLJoin expr)
           
protected  int optimizeLike(SQLLike expr)
           
protected  int optimizeNot(SQLNot expr)
           
protected  int optimizeNotEquals(SQLNotEquals expr)
           
protected  int optimizeOr(SQLOr expr)
           
protected  void optimizeOrderBy(SQLQuery query)
           
protected  void optimizeQuery(SQLQuery query)
           
protected  void optimizeSelect(SQLQuery query)
           
protected  int optimizeSetOperation(SQLSetOperation expr)
           
protected  int optimizeValueExpression(SQLValueExpression expr)
           
protected  int optimizeVerbatimExpression(SQLVerbatimExpression expr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanSQLOptimizer

public BooleanSQLOptimizer()
Method Detail

optimize

public abstract SQLQuery optimize(SQLQuery query)

optimizeQuery

protected void optimizeQuery(SQLQuery query)

optimizeSelect

protected void optimizeSelect(SQLQuery query)

optimizeFilter

protected void optimizeFilter(SQLQuery query)

optimizeOrderBy

protected void optimizeOrderBy(SQLQuery query)

optimizeExpression

protected int optimizeExpression(SQLExpressionIF sqlexpr)

optimizeAnd

protected int optimizeAnd(SQLAnd expr)

optimizeEquals

protected int optimizeEquals(SQLEquals expr)

optimizeExists

protected int optimizeExists(SQLExists expr)

optimizeFalse

protected int optimizeFalse(SQLFalse expr)

optimizeIn

protected int optimizeIn(SQLIn expr)

optimizeIsNull

protected int optimizeIsNull(SQLIsNull expr)

optimizeJoin

protected int optimizeJoin(SQLJoin expr)

optimizeLike

protected int optimizeLike(SQLLike expr)

optimizeNot

protected int optimizeNot(SQLNot expr)

optimizeNotEquals

protected int optimizeNotEquals(SQLNotEquals expr)

optimizeOr

protected int optimizeOr(SQLOr expr)

optimizeSetOperation

protected int optimizeSetOperation(SQLSetOperation expr)

optimizeVerbatimExpression

protected int optimizeVerbatimExpression(SQLVerbatimExpression expr)

optimizeValueExpression

protected int optimizeValueExpression(SQLValueExpression expr)


Copyright © 2000-2012 Ontopia.