|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.persistence.query.sql.BooleanSQLOptimizer net.ontopia.persistence.query.sql.EqualsSQLOptimizer
public class EqualsSQLOptimizer
INTERNAL: SQL optimizer that removes A = A and A != A expressions.
Constructor Summary | |
---|---|
EqualsSQLOptimizer()
|
Method Summary | |
---|---|
SQLQuery |
optimize(SQLQuery query)
|
protected int |
optimizeEquals(SQLEquals expr)
|
protected int |
optimizeNotEquals(SQLNotEquals expr)
|
Methods inherited from class net.ontopia.persistence.query.sql.BooleanSQLOptimizer |
---|
optimizeAnd, optimizeExists, optimizeExpression, optimizeFalse, optimizeFilter, optimizeIn, optimizeIsNull, optimizeJoin, optimizeLike, optimizeNot, optimizeOr, optimizeOrderBy, optimizeQuery, optimizeSelect, optimizeSetOperation, optimizeValueExpression, optimizeVerbatimExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EqualsSQLOptimizer()
Method Detail |
---|
public SQLQuery optimize(SQLQuery query)
optimize
in class BooleanSQLOptimizer
protected int optimizeEquals(SQLEquals expr)
optimizeEquals
in class BooleanSQLOptimizer
protected int optimizeNotEquals(SQLNotEquals expr)
optimizeNotEquals
in class BooleanSQLOptimizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |