|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.xml.dtsm.PullProcessor
PullProcessor is a simple pull processor for DocumentTable streams. It can be constructed to either traverse an entire stream or a stream fragment if constructed with an initial index.
Constructor Summary | |
PullProcessor(DocumentTable table)
|
|
PullProcessor(DocumentTable table,
int idx)
|
Method Summary | |
int |
getPos()
getPos returns the DocumentTable position of the most recently pulled DocumentTableEntry. |
boolean |
hasNext()
hasNext returns whether or not there are any more DocumentTableEntry objects available in the PullProcessor. |
DocumentTableEntry |
next()
next returns the next DocumentTableEntry in the PullProcessor, or it returns null if no more entries are available. |
DocumentTableEntry |
peek()
peek retrieves the next DocumentTableEntry without actually incrementing the PullProcessor's position. |
void |
pushBack()
pushBack pushes the most recently retrieved DocumentTableEntry back into the PullProcessor. |
void |
reset()
reset will reset the PullProcessor position to its original location. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PullProcessor(DocumentTable table)
public PullProcessor(DocumentTable table, int idx)
Method Detail |
public DocumentTableEntry next()
public int getPos()
public DocumentTableEntry peek()
public boolean hasNext()
public void reset()
public void pushBack()
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |