Uses of Interface
org.objectweb.medor.query.api.QueryTree

Packages that use QueryTree
org.objectweb.medor.eval.api   
org.objectweb.medor.eval.lib   
org.objectweb.medor.optim.api   
org.objectweb.medor.optim.jorm   
org.objectweb.medor.optim.lib   
org.objectweb.medor.optim.rdb   
org.objectweb.medor.query.api   
org.objectweb.medor.query.jorm.api   
org.objectweb.medor.query.jorm.lib   
org.objectweb.medor.query.lib   
org.objectweb.medor.query.rdb.api   
org.objectweb.medor.query.rdb.lib   
 

Uses of QueryTree in org.objectweb.medor.eval.api
 

Methods in org.objectweb.medor.eval.api that return QueryTree
 QueryTree QueryEvaluator.getQueryTree()
           
 

Uses of QueryTree in org.objectweb.medor.eval.lib
 

Methods in org.objectweb.medor.eval.lib that return QueryTree
 QueryTree MedorEvaluator.getQueryTree()
           
 

Constructors in org.objectweb.medor.eval.lib with parameters of type QueryTree
MedorEvaluator(QueryTree query, long cacheSize)
           
 

Uses of QueryTree in org.objectweb.medor.optim.api
 

Methods in org.objectweb.medor.optim.api that return QueryTree
 QueryTree RewriteRule.rewrite(QueryTree qt, QueryNode parent)
          This method applies a single rule.
 QueryTree RewriteRule.rewrite(QueryTree qt)
          This method applies a single rule.
 QueryTree LeafRewriter.rewrite(QueryLeaf ql)
          It rewrites the QueryLeaf into a QueryTree.
 QueryTree QueryTransformer.transform(QueryTree qt)
          This methods transforms a QueryTree into another QueryTree.
 

Methods in org.objectweb.medor.optim.api with parameters of type QueryTree
 QueryTree RewriteRule.rewrite(QueryTree qt, QueryNode parent)
          This method applies a single rule.
 QueryTree RewriteRule.rewrite(QueryTree qt)
          This method applies a single rule.
 QueryTree QueryTransformer.transform(QueryTree qt)
          This methods transforms a QueryTree into another QueryTree.
 

Uses of QueryTree in org.objectweb.medor.optim.jorm
 

Methods in org.objectweb.medor.optim.jorm that return QueryTree
 QueryTree JormGoUpDecodeRule.rewrite(QueryTree qt, QueryNode _parent)
          Rewrites a QueryTree by removing comparisons between PNames and moving up the Decode operators at the root of the QueryTree.
 QueryTree JormLeafRewriter.rewrite(QueryTree qt, QueryNode parent)
           
 QueryTree JormLeafRewriter.rewrite(QueryLeaf ql)
           
 QueryTree Jorm2Rdb.rewrite(QueryTree qt, QueryNode parent)
           
 QueryTree JormLeafRewriteRule.rewrite(QueryTree qt, QueryNode _parent)
           
 QueryTree JormAssignMapperRule.rewrite(QueryTree qt, QueryNode _parent)
           
 QueryTree JormFlatten2Rdb.rewrite(QueryTree qt, QueryNode parent)
           
 QueryTree JormFilteredInheritance.rewrite(QueryTree qt, QueryNode parent)
           
 

Methods in org.objectweb.medor.optim.jorm with parameters of type QueryTree
 QueryTree JormGoUpDecodeRule.rewrite(QueryTree qt, QueryNode _parent)
          Rewrites a QueryTree by removing comparisons between PNames and moving up the Decode operators at the root of the QueryTree.
 QueryTree JormLeafRewriter.rewrite(QueryTree qt, QueryNode parent)
           
 QueryTree Jorm2Rdb.rewrite(QueryTree qt, QueryNode parent)
           
 QueryTree JormLeafRewriteRule.rewrite(QueryTree qt, QueryNode _parent)
           
protected  java.util.Map JormLeafRewriteRule.getLeafUsers(QueryTree qt)
           
protected  void JormLeafRewriteRule.getLeafUsers(QueryTree qt, java.util.Map m, java.util.ArrayList al)
          It fetches the QueryTree nodes which are 'parents' of QueryLeaf nodes.
 QueryTree JormAssignMapperRule.rewrite(QueryTree qt, QueryNode _parent)
           
protected  void JormAssignMapperRule.assignMapper(QueryTree qt)
           
 QueryTree JormFlatten2Rdb.rewrite(QueryTree qt, QueryNode parent)
           
 QueryTree JormFilteredInheritance.rewrite(QueryTree qt, QueryNode parent)
           
 

Uses of QueryTree in org.objectweb.medor.optim.lib
 

Fields in org.objectweb.medor.optim.lib declared as QueryTree
 QueryTree PushSelectionRule.SameQT.qt
           
 

Methods in org.objectweb.medor.optim.lib that return QueryTree
 QueryTree QueryNodeReplacer.replaceNode(QueryTree old, QueryTree neo, QueryTree root)
          Replace a QueryTree by another. this is doing by replacing the usage of its field in all tree.
 QueryTree SourceCodeGeneratorCompiler.getQueryTree()
           
 QueryTree SourceCodeGeneratorCompiler.transform(QueryTree query)
          In this case we will load the query filters generated class into the vm and reaffect them to the new QueryTree
 QueryTree MedorSourceTypeCompiler.getQueryTree()
           
 QueryTree MedorSourceTypeCompiler.transform(QueryTree query)
          In this case we will load the query filters generated class into the vm and reaffect them to the new QueryTree
 QueryTree DropUnusedProjFieldsRule.rewrite(QueryTree qt, QueryNode _parent)
          Relies on a Map which associates to each child the list of required Fields for that child.
 QueryTree PushSelectionRule.rewrite(QueryTree qt, QueryNode parent)
           
 QueryTree PushNotInExpressionRule.rewrite(QueryTree qt, QueryNode _parent)
          It modifies the expressions used as filter in a (tree of) QueryTree by pushing the not operator.
 QueryTree DropUselessNodeRule.rewrite(QueryTree qt, QueryNode _parent)
           
 QueryTree FlattenQueryTreeRule.rewrite(QueryTree qt, QueryNode parent)
           
 QueryTree FlattenQueryTreeRule.flatten(QueryNode parent, QueryTree qt)
           
 QueryTree BasicRule.rewrite(QueryTree qt)
           
 QueryTree BasicQueryRewriter.transform(QueryTree qt)
           
 QueryTree IndexesGenerator.transform(QueryTree query)
           
 

Methods in org.objectweb.medor.optim.lib with parameters of type QueryTree
 QueryTree QueryNodeReplacer.replaceNode(QueryTree old, QueryTree neo, QueryTree root)
          Replace a QueryTree by another. this is doing by replacing the usage of its field in all tree.
 void SourceCodeGeneratorCompiler.buildFilterSources(QueryTree query)
           
 void SourceCodeGeneratorCompiler.buildTupleLoader(QueryTree query)
           
 QueryTree SourceCodeGeneratorCompiler.transform(QueryTree query)
          In this case we will load the query filters generated class into the vm and reaffect them to the new QueryTree
 void MedorSourceTypeCompiler.builtFilterSources(QueryTree query)
           
 void MedorSourceTypeCompiler.builtTCTypeSources(QueryTree query)
           
 QueryTree MedorSourceTypeCompiler.transform(QueryTree query)
          In this case we will load the query filters generated class into the vm and reaffect them to the new QueryTree
 QueryTree DropUnusedProjFieldsRule.rewrite(QueryTree qt, QueryNode _parent)
          Relies on a Map which associates to each child the list of required Fields for that child.
 QueryTree PushSelectionRule.rewrite(QueryTree qt, QueryNode parent)
           
protected  void PushSelectionRule.rewriteExp(QueryTree qt, Expression addedExp)
           
 QueryTree PushNotInExpressionRule.rewrite(QueryTree qt, QueryNode _parent)
          It modifies the expressions used as filter in a (tree of) QueryTree by pushing the not operator.
 QueryTree DropUselessNodeRule.rewrite(QueryTree qt, QueryNode _parent)
           
protected  DropUselessNodeRule.UsedFields DropUselessNodeRule.isUseless(QueryTree qt)
           
 QueryTree FlattenQueryTreeRule.rewrite(QueryTree qt, QueryNode parent)
           
 QueryTree FlattenQueryTreeRule.flatten(QueryNode parent, QueryTree qt)
           
 QueryTree BasicRule.rewrite(QueryTree qt)
           
 QueryTree BasicQueryRewriter.transform(QueryTree qt)
           
 QueryTree IndexesGenerator.transform(QueryTree query)
           
 int[] IndexesGenerator.computesFieldIndexes(TupleStructure ts, QueryTree[] nodes)
           
 void IndexesGenerator.setFilterIndexes(Expression e, QueryTree[] qts)
          This method inherited from QueryIndexGenerator.
 

Constructors in org.objectweb.medor.optim.lib with parameters of type QueryTree
PushSelectionRule.SameQT(boolean i, QueryTree q)
           
 

Uses of QueryTree in org.objectweb.medor.optim.rdb
 

Methods in org.objectweb.medor.optim.rdb that return QueryTree
 QueryTree RdbAssignRdbAdapterRule.rewrite(QueryTree qt, QueryNode _parent)
           
 QueryTree GroupSameDBRule.rewrite(QueryTree qt, QueryNode parent)
          Implementation of the RewriteRule interface.
 

Methods in org.objectweb.medor.optim.rdb with parameters of type QueryTree
 QueryTree RdbAssignRdbAdapterRule.rewrite(QueryTree qt, QueryNode _parent)
           
protected  void RdbAssignRdbAdapterRule.assignAdapter(QueryTree qt)
           
 QueryTree GroupSameDBRule.rewrite(QueryTree qt, QueryNode parent)
          Implementation of the RewriteRule interface.
 

Uses of QueryTree in org.objectweb.medor.query.api
 

Subinterfaces of QueryTree in org.objectweb.medor.query.api
 interface FilteredQueryTree
          This interface is implemented by all QueryTree which have a QueryFilter associated (QueryNode, RdbExpLeaf, ...).
 interface NestQueryNode
          All nesting fields (group by) are projected.
 interface QueryLeaf
           
 interface QueryNode
           
 interface TCQueryLeaf
          It's a DataStore witch is attached to a Medor TupleCollection Data Store...
 interface UnnestQueryNode
           
 

Methods in org.objectweb.medor.query.api that return QueryTree
 QueryTree[] QueryNode.getChildren()
          It retreives the array of the QueryTree used by this QueryNode.
 QueryTree QueryTreeField.getQueryTree()
           
 

Methods in org.objectweb.medor.query.api with parameters of type QueryTree
 QueryNode BinaryUnaryQueryNodeFactory.createQueryNode(QueryTree child, short operationType, Expression filter, TupleStructure tupleStructure)
          This methods creates the links between the children QueryTrees and the created QueryNode.
 QueryNode BinaryUnaryQueryNodeFactory.createQueryNode(QueryTree leftChild, QueryTree rightChild, short operationType, Expression filter, TupleStructure tupleStructure)
           
 QueryNode QueryNodeFactory.createQueryNode(QueryTree[] children, short OperationType, Expression filter, TupleStructure tupleStructure)
          This methods creates the links between the children QueryTrees and the created QueryNode.
 

Uses of QueryTree in org.objectweb.medor.query.jorm.api
 

Subinterfaces of QueryTree in org.objectweb.medor.query.jorm.api
 interface JormExtent
          This class represent a a jorm query leaf.
 

Uses of QueryTree in org.objectweb.medor.query.jorm.lib
 

Classes in org.objectweb.medor.query.jorm.lib that implement QueryTree
 class BasicJormExtent
          This class is the common implementation of the jorm leaves (ClassExtent, GenClassExtent).
 class ClassExtent
          This class represents the extent of a JORM class.
 class GenClassExtent
          This class represents the extent of a JORM GenClass.
 

Methods in org.objectweb.medor.query.jorm.lib with parameters of type QueryTree
static java.util.Collection JormQueryTreeHelper.getJormExtents(QueryTree qt)
          Retrieves a Collection of JormExtent instance which are used in a given query tree.
static java.util.Collection JormQueryTreeHelper.getRequiredPNameManagers(QueryTree qt)
          Retrieves a Collection of ParameterOperand reuiqring in a given query tree which the type is NAMING_CONTEXT.
static void JormQueryTreeHelper.addPrefetchFields(ClassExtent ext, QueryTree oldroot, QueryNode newroot)
           
static void JormQueryTreeHelper.addPrefetchFields(ClassExtent ext, QueryTree qt)
           
 

Constructors in org.objectweb.medor.query.jorm.lib with parameters of type QueryTree
BasicJormField(java.lang.String fieldName, QueryTree qt)
           
BasicJormField(java.lang.String fieldName, QueryTree qt, TypedElement te)
           
BasicJormField(QueryTree qt, TypedElement te)
           
PNameField(java.lang.String fieldName, GenClassRef gcr, boolean isGenClassPName, QueryTree qt)
          This constructor must be used to built a PNameField associated to a GenClass identifier or the genclass element.
PNameField(java.lang.String fieldName, ClassRef cr, QueryTree qt)
          This constructor must be used to built a PNameField associated to a classRef.
 

Uses of QueryTree in org.objectweb.medor.query.lib
 

Classes in org.objectweb.medor.query.lib that implement QueryTree
 class BasicQueryNode
          A BasicQueryNode is an implementation of QueryNode.
 class BasicQueryTree
          A BasicQueryNode is an implementation of QueryNode.
 class Cartesian
           
 class Intersection
           
 class JoinProject
           
 class MedorTCQueryLeaf
          A TupleCollection is one of the DataStore that is queryable by Medor.
 class Nest
           
 class Project
           
 class SelectProject
           
 class Union
           
 class Unnest
           
 

Fields in org.objectweb.medor.query.lib declared as QueryTree
protected  QueryTree BasicQueryTreeField.qt
           
protected  QueryTree BasicNestedField.qt
           
 

Methods in org.objectweb.medor.query.lib that return QueryTree
 QueryTree BasicQueryTreeField.getQueryTree()
           
 QueryTree[] BasicQueryNode.getChildren()
           
 QueryTree BasicNestedField.getQueryTree()
           
 

Methods in org.objectweb.medor.query.lib with parameters of type QueryTree
 QueryNode BasicBinaryUnaryQueryNodeFactory.createQueryNode(QueryTree child, short operationType, Expression filter, TupleStructure tupleStructure)
           
 QueryNode BasicBinaryUnaryQueryNodeFactory.createQueryNode(QueryTree leftChild, QueryTree rightChild, short operationType, Expression filter, TupleStructure tupleStructure)
           
protected  void BasicQueryNode.addChild(QueryTree qt)
           
static void QueryTreePrinter.printQueryTree(QueryTree qt, Logger log, int level)
           
static void QueryTreePrinter.printQueryTree(QueryTree qt, Logger log)
           
 

Constructors in org.objectweb.medor.query.lib with parameters of type QueryTree
Union(QueryTree leftQT, QueryTree rightQT, java.lang.String nodeName, OptimizationMetaData optimizationMD)
           
BasicCalculatedField(java.lang.String name, PType type, QueryTree qt, Expression e)
           
BasicQueryTreeField(java.lang.String name, QueryTree qt)
           
BasicQueryTreeField(java.lang.String name, PType type, QueryTree qt)
           
BasicPropagFromNestedField(java.lang.String name, PType type, QueryTree qt, Field[] parents, Field[] ancestors)
           
Cartesian(QueryTree leftQT, QueryTree rightQT, java.lang.String name, OptimizationMetaData optimizationMD)
           
BasicPropagatedField(java.lang.String name, PType type, QueryTree qt, Field[] _ancestors)
           
Project(java.lang.String[] fieldNames, QueryTree child, java.lang.String nodeName, OptimizationMetaData optimizationMD)
          Constructs a Project node from an array of fieldNames to be projected from a given (child) QueryTree.
BasicNestedField(java.lang.String name, QueryTree qt, Field[] nestedFields)
           
Intersection(QueryTree leftQT, QueryTree rightQT, java.lang.String name, OptimizationMetaData optimizationMD)
           
 

Uses of QueryTree in org.objectweb.medor.query.rdb.api
 

Subinterfaces of QueryTree in org.objectweb.medor.query.rdb.api
 interface RdbExpQueryLeaf
          An RdbExpQueryLeaf is a particular type of RdbQueryLeaf for which the associated SQL query if not given as a SQL String, but is computed from an Expression (representing the filter) and from abstract information made of QualifiedTables, representing the FROM part of the SQL query.
 interface RdbQueryLeaf
          An RdbQueryLeaf represents a query leaf which encapsulates access to a relational database.
 interface RdbStringQueryLeaf
          An RdbStringQueryLeaf is an RdbQueryLeaf built from a SQL request provided as a String.
 

Uses of QueryTree in org.objectweb.medor.query.rdb.lib
 

Classes in org.objectweb.medor.query.rdb.lib that implement QueryTree
 class AggregateRdbQueryNode
          This class represents a QueryLeaf which contains aggregate functions.
 class BasicRdbExpQueryLeaf
          This class represents a QueryLeaf that maps onto a relational database store.
 class BasicRdbQueryLeaf
           
 class BasicRdbStringQueryLeaf
          This class represents a QueryLeaf that maps onto a relational database store.
 

Methods in org.objectweb.medor.query.rdb.lib that return QueryTree
 QueryTree BasicRdbField.getQueryTree()