public class MultithreadedItemMappingIterator extends ItemMappingIterator
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
MultithreadedItemMappingIterator(SequenceIterator base,
ItemMappingFunction action) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the iterator.
|
Item |
next()
Get the next item in the sequence.
|
getBaseIterator, getLength, getMappingFunction, getProperties, hasNext, isOneToOne, setOneToOnepublic MultithreadedItemMappingIterator(SequenceIterator base, ItemMappingFunction action) throws XPathException
XPathExceptionpublic Item next() throws XPathException
SequenceIteratornext in interface SequenceIteratornext in class ItemMappingIteratorXPathException - if an error occurs retrieving the next itempublic void close()
SequenceIterator(Currently, closing an iterator is important only when the data is being "pushed" in another thread. Closing the iterator terminates that thread and means that it needs to do no additional work. Indeed, failing to close the iterator may cause the push thread to hang waiting for the buffer to be emptied.)
close in interface SequenceIteratorclose in class ItemMappingIteratorCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.