Class RowSetJSONStreaming<E>

java.lang.Object
org.apache.jena.atlas.iterator.IteratorSlotted<Binding>
org.apache.jena.riot.rowset.rw.rs_json.RowSetJSONStreaming<E>
All Implemented Interfaces:
Iterator<Binding>, org.apache.jena.atlas.iterator.IteratorCloseable<Binding>, org.apache.jena.atlas.lib.Closeable, RowSet

public class RowSetJSONStreaming<E> extends org.apache.jena.atlas.iterator.IteratorSlotted<Binding> implements RowSet
Streaming RowSet implementation for application/sparql-results+json The getResultVars() will return null as long as the header has not been consumed from the underlying stream. Use RowSetBuffered to modify the behavior such that getResultVars() immediately consumes the underlying stream until the header is read, thereby buffering any encountered bindings for replay.