net.ontopia.persistence.query.sql
Class AbstractSQLOptimizer

java.lang.Object
  extended by net.ontopia.persistence.query.sql.AbstractSQLOptimizer

public abstract class AbstractSQLOptimizer
extends java.lang.Object

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


Constructor Summary
AbstractSQLOptimizer()
           
 
Method Summary
protected  void analyzeAnd(SQLAnd expr)
           
protected  void analyzeColumns(SQLColumns value)
           
protected  void analyzeEquals(SQLEquals expr)
           
protected  void analyzeExists(SQLExists expr)
           
protected  void analyzeExpression(SQLExpressionIF sqlexpr)
           
protected  void analyzeExpressions(SQLExpressionIF[] exprs)
           
protected  void analyzeFalse(SQLFalse expr)
           
protected  void analyzeFunction(SQLFunction value)
           
protected  void analyzeIn(SQLIn expr)
           
protected  void analyzeIsNull(SQLIsNull expr)
           
protected  void analyzeJoin(SQLJoin expr)
           
protected  void analyzeLike(SQLLike expr)
           
protected  void analyzeNot(SQLNot expr)
           
protected  void analyzeNotEquals(SQLNotEquals expr)
           
protected  void analyzeNull(SQLNull value)
           
protected  void analyzeOr(SQLOr expr)
           
protected  void analyzeParameter(SQLParameter value)
           
protected  void analyzePrimitive(SQLPrimitive value)
           
protected  void analyzeSetOperation(SQLSetOperation expr)
           
protected  void analyzeTuple(SQLTuple value)
           
protected  void analyzeValue(SQLValueIF sqlvalue)
           
protected  void analyzeValueExpression(SQLValueExpression expr)
           
protected  void analyzeValues(SQLValueIF[] values)
           
protected  void analyzeVerbatim(SQLVerbatim value)
           
protected  void analyzeVerbatimExpression(SQLVerbatimExpression expr)
           
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  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  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

AbstractSQLOptimizer

public AbstractSQLOptimizer()
Method Detail

analyzeExpressions

protected void analyzeExpressions(SQLExpressionIF[] exprs)

analyzeExpression

protected void analyzeExpression(SQLExpressionIF sqlexpr)

analyzeAnd

protected void analyzeAnd(SQLAnd expr)

analyzeEquals

protected void analyzeEquals(SQLEquals expr)

analyzeExists

protected void analyzeExists(SQLExists expr)

analyzeFalse

protected void analyzeFalse(SQLFalse expr)

analyzeIn

protected void analyzeIn(SQLIn expr)

analyzeIsNull

protected void analyzeIsNull(SQLIsNull expr)

analyzeJoin

protected void analyzeJoin(SQLJoin expr)

analyzeLike

protected void analyzeLike(SQLLike expr)

analyzeNot

protected void analyzeNot(SQLNot expr)

analyzeNotEquals

protected void analyzeNotEquals(SQLNotEquals expr)

analyzeOr

protected void analyzeOr(SQLOr expr)

analyzeSetOperation

protected void analyzeSetOperation(SQLSetOperation expr)

analyzeVerbatimExpression

protected void analyzeVerbatimExpression(SQLVerbatimExpression expr)

analyzeValueExpression

protected void analyzeValueExpression(SQLValueExpression expr)

analyzeValues

protected void analyzeValues(SQLValueIF[] values)

analyzeValue

protected void analyzeValue(SQLValueIF sqlvalue)

analyzeColumns

protected void analyzeColumns(SQLColumns value)

analyzeNull

protected void analyzeNull(SQLNull value)

analyzeParameter

protected void analyzeParameter(SQLParameter value)

analyzePrimitive

protected void analyzePrimitive(SQLPrimitive value)

analyzeTuple

protected void analyzeTuple(SQLTuple value)

analyzeVerbatim

protected void analyzeVerbatim(SQLVerbatim value)

analyzeFunction

protected void analyzeFunction(SQLFunction value)

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.