Class CSVInputIterator

  • All Implemented Interfaces:
    java.util.Iterator<Binding>, org.apache.jena.atlas.io.Printable, org.apache.jena.atlas.lib.Closeable, QueryIterator, PrintSerializable

    public class CSVInputIterator
    extends QueryIteratorBase
    Class used to do streaming parsing of actual result rows from the CSV
    • Constructor Detail

      • CSVInputIterator

        public CSVInputIterator​(java.io.BufferedReader reader,
                                java.util.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​(org.apache.jena.atlas.io.IndentedWriter out,
                           SerializationContext sCxt)