public class BigdataGraph.WrappedResult<E> extends Object implements ICloseableIterator<E>
Constructor and Description |
---|
BigdataGraph.WrappedResult(info.aduna.iteration.CloseableIteration<E,?> it) |
BigdataGraph.WrappedResult(info.aduna.iteration.CloseableIteration<E,?> it,
UUID queryId)
Allows you to pass a query UUID to perform a tear down
when it exits.
|
public BigdataGraph.WrappedResult(info.aduna.iteration.CloseableIteration<E,?> it)
public void close()
ICloseableIterator
ICloseableIterator.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 ICloseable
close
in interface ICloseableIterator<E>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.