java.lang.Object
org.apache.jena.sparql.engine.ResultSetCheckCondition
- All Implemented Interfaces:
Iterator<QuerySolution>
,ResultSet
Deprecated.
To be removed.
ResultSet wrapper that check whether some condition is true
(e.g. the QueryExecution has not been closed).
-
Constructor Summary
ConstructorDescriptionResultSetCheckCondition
(ResultSet other, QueryExecution qExec) Deprecated.ResultSetCheckCondition
(ResultSet other, org.apache.jena.sparql.engine.ResultSetCheckCondition.Condition condition) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.void
forEachRemaining
(Consumer<? super QuerySolution> action) Deprecated.Attention: The check is only done once before the first consumer accept call.org.apache.jena.rdf.model.Model
Deprecated.Get the model that resources are created against - may be nullDeprecated.Get the variable names for the projection.int
Deprecated.Return the "row" number for the current iterator itemboolean
hasNext()
Deprecated.Is there another result?next()
Deprecated.Moves onto the next result.Deprecated.Move to the next binding (low level)Deprecated.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 org.apache.jena.query.ResultSet
materialise, rewindable
-
Constructor Details
-
ResultSetCheckCondition
Deprecated. -
ResultSetCheckCondition
@Deprecated public ResultSetCheckCondition(ResultSet other, org.apache.jena.sparql.engine.ResultSetCheckCondition.Condition condition) Deprecated.
-
-
Method Details
-
hasNext
public boolean hasNext()Deprecated.Description copied from interface:ResultSet
Is there another result?- Specified by:
hasNext
in interfaceIterator<QuerySolution>
- Specified by:
hasNext
in interfaceResultSet
-
next
Deprecated.Description copied from interface:ResultSet
Moves onto the next result.- Specified by:
next
in interfaceIterator<QuerySolution>
- Specified by:
next
in interfaceResultSet
-
nextSolution
Deprecated.Description copied from interface:ResultSet
Moves onto the next result (legacy - use .next()).- Specified by:
nextSolution
in interfaceResultSet
-
nextBinding
Deprecated.Description copied from interface:ResultSet
Move to the next binding (low level)- Specified by:
nextBinding
in interfaceResultSet
-
close
public void close()Deprecated. -
forEachRemaining
Deprecated.Attention: The check is only done once before the first consumer accept call.- Specified by:
forEachRemaining
in interfaceIterator<QuerySolution>
- Specified by:
forEachRemaining
in interfaceResultSet
- Parameters:
action
- The action to be performed for each element
-
getRowNumber
public int getRowNumber()Deprecated.Description copied from interface:ResultSet
Return the "row" number for the current iterator item- Specified by:
getRowNumber
in interfaceResultSet
-
getResultVars
Deprecated.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 interfaceResultSet
-
getResourceModel
public org.apache.jena.rdf.model.Model getResourceModel()Deprecated.Description copied from interface:ResultSet
Get the model that resources are created against - may be null- Specified by:
getResourceModel
in interfaceResultSet
-