Class TSVInputIterator

  • All Implemented Interfaces:
    java.util.Iterator<Binding>

    public class TSVInputIterator
    extends java.lang.Object
    implements java.util.Iterator<Binding>
    Class used to do streaming parsing of actual result rows from the TSV
    • Constructor Summary

      Constructors 
      Constructor Description
      TSVInputIterator​(java.io.BufferedReader reader, java.util.List<Var> vars)
      Creates a new TSV Input Iterator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      Binding next()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Constructor Detail

      • TSVInputIterator

        public TSVInputIterator​(java.io.BufferedReader reader,
                                java.util.List<Var> vars)
        Creates a new TSV 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

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Binding>
      • next

        public Binding next()
        Specified by:
        next in interface java.util.Iterator<Binding>