public static class GeoSpatialServiceFactory.GeoSpatialInputBindingsIterator extends Object implements ICloseableIterator<IBindingSet>
Constructor and Description |
---|
GeoSpatialServiceFactory.GeoSpatialInputBindingsIterator(IBindingSet[] bindingSet,
GeoSpatialServiceFactory.GeoSpatialServiceCallConfiguration gssConfig,
AbstractTripleStore kb,
com.bigdata.rdf.sparql.ast.eval.GeoSpatialServiceFactory.GeoSpatialServiceCall serviceCall) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the iterator, releasing any associated resources.
|
boolean |
hasNext()
Checks whether there are more results available.
|
IBindingSet |
next() |
void |
remove() |
public GeoSpatialServiceFactory.GeoSpatialInputBindingsIterator(IBindingSet[] bindingSet, GeoSpatialServiceFactory.GeoSpatialServiceCallConfiguration gssConfig, AbstractTripleStore kb, com.bigdata.rdf.sparql.ast.eval.GeoSpatialServiceFactory.GeoSpatialServiceCall serviceCall)
public boolean hasNext()
hasNext
in interface Iterator<IBindingSet>
public IBindingSet next()
next
in interface Iterator<IBindingSet>
public void remove()
remove
in interface Iterator<IBindingSet>
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<IBindingSet>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.