All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class SWEEP.ProcessQuery

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----SWEEP.ProcessQuery

public class ProcessQuery
extends Thread
implements Serializable

Variable Index

 o currentRelation
 o JCAttrs
Because there will be more than one Join Condition connects to one Relation, So, we use Hashtable stores all the Join Conditions, and ordered by the Relation.
 o MyIndex
 o publicFIFOChannel

Constructor Index

 o ProcessQuery(MultiQueue, Relation, int)

Method Index

 o ComputeJoinOn(Relation, Relation, String, String)
 o run()

Variables

 o publicFIFOChannel
 MultiQueue publicFIFOChannel
 o currentRelation
 Relation currentRelation
 o MyIndex
 int MyIndex
 o JCAttrs
 public Hashtable JCAttrs
Because there will be more than one Join Condition connects to one Relation, So, we use Hashtable stores all the Join Conditions, and ordered by the Relation. This is the Hashtable of Attribute Pairs. They are indexed on the Relation Name.

Constructors

 o ProcessQuery
 public ProcessQuery(MultiQueue FIFOChannel,
                     Relation theRelation,
                     int theIndex)

Methods

 o run
 public void run()
Overrides:
run in class Thread
 o ComputeJoinOn
 public Relation ComputeJoinOn(Relation theView,
                               Relation theRelation,
                               String att1,
                               String att2)

All Packages  Class Hierarchy  This Package  Previous  Next  Index