Class RowSetWrapper

java.lang.Object
org.apache.jena.riot.rowset.RowSetWrapper
All Implemented Interfaces:
Iterator<Binding>, org.apache.jena.atlas.iterator.IteratorCloseable<Binding>, org.apache.jena.atlas.lib.Closeable, RowSet
Direct Known Subclasses:
RowSetOnClose

public class RowSetWrapper extends Object implements RowSet
  • Constructor Details

    • RowSetWrapper

      public RowSetWrapper(RowSet other)
  • Method Details

    • get

      public RowSet get()
    • hasNext

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

      public Binding next()
      Specified by:
      next in interface Iterator<Binding>
      Specified by:
      next in interface RowSet
    • getResultVars

      public List<Var> getResultVars()
      Specified by:
      getResultVars in interface RowSet
    • getRowNumber

      public long getRowNumber()
      Description copied from interface: RowSet
      Return the row number. The first row is row 1.
      Specified by:
      getRowNumber in interface RowSet
    • close

      public void close()
      Description copied from interface: RowSet
      Normally a RowSet is processed until complete which implicitly closes any underlying resources. This "close" operation exists to explicitly do this in cases where it does onto automatically. There is no need to close RowSets normally - it is the QueryExec that should be closed.
      Specified by:
      close in interface org.apache.jena.atlas.lib.Closeable
      Specified by:
      close in interface RowSet