Class ResultSetCheckCondition

java.lang.Object
org.apache.jena.sparql.engine.ResultSetCheckCondition
All Implemented Interfaces:
Iterator<QuerySolution>, ResultSet

@Deprecated(forRemoval=true) public class ResultSetCheckCondition extends Object implements ResultSet
Deprecated, for removal: This API element is subject to removal in a future version.
To be removed.
ResultSet wrapper that check whether some condition is true (e.g. the QueryExecution has not been closed).
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Attention: The check is only done once before the first consumer accept call.
    org.apache.jena.rdf.model.Model
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the model that resources are created against - may be null
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the variable names for the projection.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return the "row" number for the current iterator item
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Is there another result?
    Deprecated, for removal: This API element is subject to removal in a future version.
    Moves onto the next result.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Move to the next binding (low level)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Moves onto the next result (legacy - use .next()).

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    remove

    Methods inherited from interface org.apache.jena.query.ResultSet

    materialise, rewindable
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResultSet
      Is there another result?
      Specified by:
      hasNext in interface Iterator<QuerySolution>
      Specified by:
      hasNext in interface ResultSet
    • next

      public QuerySolution next()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResultSet
      Moves onto the next result.
      Specified by:
      next in interface Iterator<QuerySolution>
      Specified by:
      next in interface ResultSet
    • nextSolution

      public QuerySolution nextSolution()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResultSet
      Moves onto the next result (legacy - use .next()).
      Specified by:
      nextSolution in interface ResultSet
    • nextBinding

      public Binding nextBinding()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResultSet
      Move to the next binding (low level)
      Specified by:
      nextBinding in interface ResultSet
    • close

      public void close()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      close in interface ResultSet
    • forEachRemaining

      public void forEachRemaining(Consumer<? super QuerySolution> action)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Attention: The check is only done once before the first consumer accept call.
      Specified by:
      forEachRemaining in interface Iterator<QuerySolution>
      Specified by:
      forEachRemaining in interface ResultSet
      Parameters:
      action - The action to be performed for each element
    • getRowNumber

      public int getRowNumber()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResultSet
      Return the "row" number for the current iterator item
      Specified by:
      getRowNumber in interface ResultSet
    • getResultVars

      public List<String> getResultVars()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • getResourceModel

      public org.apache.jena.rdf.model.Model getResourceModel()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ResultSet
      Get the model that resources are created against - may be null
      Specified by:
      getResourceModel in interface ResultSet