Class ResultsStAX

  • All Implemented Interfaces:
    java.util.Iterator<QuerySolution>, org.apache.jena.atlas.lib.Closeable, ResultSet

    public class ResultsStAX
    extends java.lang.Object
    implements ResultSet, org.apache.jena.atlas.lib.Closeable
    Public only for use by XMLOutput (legacy)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Description copied from interface: ResultSet
        Is there another result?
        Specified by:
        hasNext in interface java.util.Iterator<QuerySolution>
        Specified by:
        hasNext in interface ResultSet
      • getRowNumber

        public int getRowNumber()
        Description copied from interface: ResultSet
        Return the "row" number for the current iterator item
        Specified by:
        getRowNumber in interface ResultSet
      • getResultVars

        public java.util.List<java.lang.String> getResultVars()
        Description copied from interface: ResultSet
        Get the variable names for the projection. Not all query solutions from a result have every variable defined.
        Specified by:
        getResultVars in interface ResultSet
      • isOrdered

        public boolean isOrdered()
      • isDistinct

        public boolean isDistinct()
      • getResourceModel

        public Model getResourceModel()
        Description copied from interface: ResultSet
        Get the model that resources are created against - may be null
        Specified by:
        getResourceModel in interface ResultSet
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<QuerySolution>
      • close

        public void close()
        Specified by:
        close in interface org.apache.jena.atlas.lib.Closeable