E
- the type of Sesame element (BindingSet or Statement)protected class BlazeGraph.GraphStreamer<E> extends Object
Constructor and Description |
---|
GraphStreamer(info.aduna.iteration.CloseableIteration<E,?> result,
Optional<Runnable> onClose)
Construct a streamer using the supplied Sesame iteration and optional
onClose() behavior.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the Sesame iteration and run the custom onClose
behavior if supplied.
|
Stream<E> |
stream()
Provide a one-time stream against the Sesame iteration with the
appropriate onClose behavior.
|
public GraphStreamer(info.aduna.iteration.CloseableIteration<E,?> result, Optional<Runnable> onClose)
public Stream<E> stream()
public void close()
Copyright © 2015–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.