org.objectweb.medor.optim.rdb
Class GroupSameDBRule.RdbQuery

java.lang.Object
  extended byorg.objectweb.medor.optim.rdb.GroupSameDBRule.RdbQuery
Enclosing class:
GroupSameDBRule

protected static final class GroupSameDBRule.RdbQuery
extends java.lang.Object

The RdbQuery class represents the result of rewriting a QueryTree. It has an array of RdbExpFields (its fields), an array of QualifiedTables (its tables), an Expression working on those Fields, an associated DataStore and a boolean indicating whether it is a query leaf, or whether it is the result of merging several QueryLeaves.


Field Summary
 DataStore ds
           
 Expression exp
           
 java.util.ArrayList fields
           
 boolean hasSubQuery
           
 java.util.ArrayList subQueries
           
 java.util.ArrayList tableIds
          tableIds is the current list of table names (without alias) and table alias names.
 java.util.ArrayList tables
           
 
Constructor Summary
protected GroupSameDBRule.RdbQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fields

public java.util.ArrayList fields

tables

public java.util.ArrayList tables

exp

public Expression exp

ds

public DataStore ds

tableIds

public java.util.ArrayList tableIds
tableIds is the current list of table names (without alias) and table alias names.


hasSubQuery

public boolean hasSubQuery

subQueries

public java.util.ArrayList subQueries
Constructor Detail

GroupSameDBRule.RdbQuery

protected GroupSameDBRule.RdbQuery()