edu.umd.cs.db.xsq
Class QueueItem

java.lang.Object
  |
  +--edu.umd.cs.db.xsq.QueueItem

public class QueueItem
extends java.lang.Object

The item in the queue. The item is stored in the HPDTOutputQ. The PDTOutputQ is only storing the references.


Constructor Summary
QueueItem()
           
QueueItem(long globalId, java.lang.String s)
           
 
Method Summary
 void decreaseCount()
          Decrease the value of count by 1.
 int getCount()
          Return the count of the item.
 void increaseCount()
          Increase the value of count by 1.
 boolean isOutput()
          Get the value of Output.
 boolean isZeroCount()
          If the reference count is zero, return true.
 void setContent(java.lang.String content)
           
 void setOutput(boolean v)
          Set the value of Output.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueueItem

public QueueItem()

QueueItem

public QueueItem(long globalId,
                 java.lang.String s)
Method Detail

setContent

public void setContent(java.lang.String content)

isOutput

public boolean isOutput()
Get the value of Output.

Returns:
value of Output.

setOutput

public void setOutput(boolean v)
Set the value of Output.

Parameters:
v - Value to assign to Output.

isZeroCount

public boolean isZeroCount()
If the reference count is zero, return true.


increaseCount

public void increaseCount()
Increase the value of count by 1.


decreaseCount

public void decreaseCount()
Decrease the value of count by 1.


getCount

public int getCount()
Return the count of the item.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object