public class BigdataValueIteratorImpl extends Object implements BigdataValueIterator
BigdataValue (batch API).| Constructor and Description |
|---|
BigdataValueIteratorImpl(AbstractTripleStore db,
IChunkedIterator<IV> src) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the iterator, releasing any associated resources.
|
boolean |
hasNext() |
BigdataValue |
next() |
void |
remove() |
public BigdataValueIteratorImpl(AbstractTripleStore db, IChunkedIterator<IV> src)
db - Used to resolve term identifiers to Value objects.src - The source iterator.public boolean hasNext()
hasNext in interface Iterator<BigdataValue>public BigdataValue next()
next in interface Iterator<BigdataValue>public void remove()
remove in interface Iterator<BigdataValue>UnsupportedOperationExceptionpublic void close()
ICloseableIteratorICloseableIterator.close() if Iterator.hasNext()
method returns false to ensure that the iterator is closed
(and its resources release) as soon as it is exhausted.
Note: Implementations that support Iterator.remove() MUST NOT
eagerly close the iterator when it is exhausted since that would make it
impossible to remove the last visited statement. Instead they MUST wait
for an explicit ICloseableIterator.close() by the application.
close in interface ICloseableclose in interface ICloseableIterator<BigdataValue>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.