EVEDemo.SWEEP
Class ProcessQuery

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

public class ProcessQuery
extends java.lang.Thread
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  Relation currentRelation
           
 java.util.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.
(package private)  int MyIndex
           
(package private)  MultiQueue publicFIFOChannel
           
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadQ, values
 
Constructor Summary
ProcessQuery(MultiQueue FIFOChannel, Relation theRelation, int theIndex)
           
 
Method Summary
 Relation ComputeJoinOn(Relation theView, Relation theRelation, java.lang.String att1, java.lang.String att2)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

publicFIFOChannel

MultiQueue publicFIFOChannel

currentRelation

Relation currentRelation

MyIndex

int MyIndex

JCAttrs

public java.util.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.
Constructor Detail

ProcessQuery

public ProcessQuery(MultiQueue FIFOChannel,
                    Relation theRelation,
                    int theIndex)
Method Detail

run

public void run()
Overrides:
run in class java.lang.Thread

ComputeJoinOn

public Relation ComputeJoinOn(Relation theView,
                              Relation theRelation,
                              java.lang.String att1,
                              java.lang.String att2)