net.ontopia.persistence.query.sql
Class RedundantTablesSQLOptimizer
java.lang.Object
net.ontopia.persistence.query.sql.FilterSQLOptimizer
net.ontopia.persistence.query.sql.RedundantTablesSQLOptimizer
public class RedundantTablesSQLOptimizer
- extends FilterSQLOptimizer
INTERNAL: SQL optimizer that removes table- and column references
that are redundant.
Field Summary |
protected java.util.Map |
cemap
|
protected java.util.Map |
rcmap
|
protected java.util.Map |
rtmap
|
protected java.util.Map |
tcmap
|
protected java.util.Set |
tvset
|
Methods inherited from class net.ontopia.persistence.query.sql.FilterSQLOptimizer |
filterAggregate, filterAnd, filterColumns, filterEquals, filterExists, filterExpression, filterExpressions, filterFalse, filterFilter, filterFunction, filterIn, filterIsNull, filterJoin, filterLike, filterNot, filterNotEquals, filterNull, filterOr, filterOrderBy, filterParameter, filterPrimitive, filterSelect, filterSetOperation, filterTuple, filterValueExpression, filterValues, filterVerbatim, filterVerbatimExpression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tcmap
protected java.util.Map tcmap
cemap
protected java.util.Map cemap
tvset
protected java.util.Set tvset
rcmap
protected java.util.Map rcmap
rtmap
protected java.util.Map rtmap
RedundantTablesSQLOptimizer
public RedundantTablesSQLOptimizer()
optimize
public SQLQuery optimize(SQLQuery query)
- Overrides:
optimize
in class FilterSQLOptimizer
addTableVerbatim
protected void addTableVerbatim(SQLTable tbl)
addTableColumns
protected void addTableColumns(SQLExpressionIF expr,
SQLColumns cols)
addEntry
protected void addEntry(java.util.Map map,
java.lang.Object key,
java.lang.Object value)
filterValue
protected SQLValueIF filterValue(SQLValueIF value)
- Overrides:
filterValue
in class FilterSQLOptimizer
Copyright © 2000-2012 Ontopia.