public class WGStructEntryIterator extends de.innovationgate.utils.PrefetchingIterator<WGStructEntry> implements de.innovationgate.utils.SkippingIterator<WGStructEntry>, de.innovationgate.utils.CountReportingIterator<WGStructEntry>
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Returns the count of all entries in this iterator, only if the database supports effective count retrieval without loading all resources.
|
int |
getCurrentOffset()
Returns the offset of the last retrieved element inside the iterated collection
|
WGDocument |
getParent()
Returns the parent document of the iterated struct entries, either a
WGArea or a WGStructEntry |
int |
skip(int nrOfElements) |
hasNext, next, previewNextValue, remove
public int skip(int nrOfElements)
skip
in interface de.innovationgate.utils.SkippingIterator<WGStructEntry>
public WGDocument getParent()
WGArea
or a WGStructEntry
public int getCount()
getCount
in interface de.innovationgate.utils.CountReportingIterator<WGStructEntry>
WGAPIException
public int getCurrentOffset()
getCurrentOffset
in interface de.innovationgate.utils.CountReportingIterator<WGStructEntry>