|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umd.cs.db.xsq.PDTOutputQ
Each BPDT has its own output queue. However, the content in the queue are actually references to the items in the global queue. The HPDT will put every possible answer into the global queue. The output in the queue will be flushed to the stdout in the flush() function by default. You can specify that the flush() function send the content to a buffer.
Constructor Summary | |
PDTOutputQ(int bpdtId,
edu.umd.cs.db.xsq.HPDTOutputQ q)
|
Method Summary | |
void |
clear(long flag)
|
void |
enqueue(edu.umd.cs.db.xsq.QueueItem qi,
long flag)
|
void |
flush(long flag)
Mark all items in the queue with flag as output. |
int |
getBpdtId()
|
java.util.Vector |
getBufferWithFlag(long flag)
|
void |
output(edu.umd.cs.db.xsq.QueueItem qi)
If the item qi is in the queue, mark it as output and remove its reference from current queue. |
void |
printContent()
|
void |
upload(long flag,
edu.umd.cs.db.xsq.PDTOutputQ anceQ)
The function will upload the items in the current queue that has the flag to the queue of its parent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDTOutputQ(int bpdtId, edu.umd.cs.db.xsq.HPDTOutputQ q)
Method Detail |
public int getBpdtId()
public java.util.Vector getBufferWithFlag(long flag)
public void enqueue(edu.umd.cs.db.xsq.QueueItem qi, long flag)
public void clear(long flag)
public void upload(long flag, edu.umd.cs.db.xsq.PDTOutputQ anceQ)
public void flush(long flag)
public void output(edu.umd.cs.db.xsq.QueueItem qi)
public void printContent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |