Class IteratorRsJSON<E>

java.lang.Object
org.apache.jena.atlas.iterator.IteratorSlotted<E>
org.apache.jena.riot.rowset.rw.rs_json.IteratorRsJSON<E>
Type Parameters:
E - The type of elements to yield by this iterator
All Implemented Interfaces:
Iterator<E>, org.apache.jena.atlas.iterator.IteratorCloseable<E>, org.apache.jena.atlas.lib.Closeable

public class IteratorRsJSON<E> extends org.apache.jena.atlas.iterator.IteratorSlotted<E>
An iterator that reads sparql result set domain elements from a underlying gson JsonReader. This iterator is 'dumb': it neither validates nor keeps statistics. For this purpose the iterator delegates to RsJsonEltEncoder which is responsible for creating instances of type E from the state of the json stream.