com.hp.hpl.jena.sparql.resultset
Class CSVInputIterator

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.PrintSerializableBase
      extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
          extended by com.hp.hpl.jena.sparql.resultset.CSVInputIterator
All Implemented Interfaces:
QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable

public class CSVInputIterator
extends QueryIteratorBase

Class used to do streaming parsing of actual result rows from the CSV


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
 
Constructor Summary
CSVInputIterator(BufferedReader reader, List<Var> vars)
          Creates a new CSV Input Iterator
 
Method Summary
 void output(IndentedWriter out, SerializationContext sCxt)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
abort, cancel, cancelAllowContinue, close, debug, hasNext, next, nextBinding, remove
 
Methods inherited from class com.hp.hpl.jena.sparql.util.PrintSerializableBase
output, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.sparql.util.PrintSerializable
toString
 
Methods inherited from interface org.openjena.atlas.io.Printable
output
 

Constructor Detail

CSVInputIterator

public CSVInputIterator(BufferedReader reader,
                        List<Var> vars)
Creates a new CSV Input Iterator

Assumes the Header Row has already been read and that the next row to be read from the reader will be a Result Row

Method Detail

output

public void output(IndentedWriter out,
                   SerializationContext sCxt)


Licenced under the Apache License, Version 2.0