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
ConstructorsConstructorDescriptionResultSetCheckCondition(ResultSet other, QueryExecution qExec) Deprecated, for removal: This API element is subject to removal in a future version.ResultSetCheckCondition(ResultSet other, org.apache.jena.sparql.engine.ResultSetCheckCondition.Condition condition) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated, for removal: This API element is subject to removal in a future version.voidforEachRemaining(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.org.apache.jena.rdf.model.ModelDeprecated, for removal: This API element is subject to removal in a future version.Get the model that resources are created against - may be nullDeprecated, for removal: This API element is subject to removal in a future version.Get the variable names for the projection.intDeprecated, for removal: This API element is subject to removal in a future version.Return the "row" number for the current iterator itembooleanhasNext()Deprecated, for removal: This API element is subject to removal in a future version.Is there another result?next()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, waitMethods inherited from interface org.apache.jena.query.ResultSet
materialise, rewindable
-
Constructor Details
-
ResultSetCheckCondition
Deprecated, for removal: This API element is subject to removal in a future version. -
ResultSetCheckCondition
public ResultSetCheckCondition(ResultSet other, org.apache.jena.sparql.engine.ResultSetCheckCondition.Condition condition) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
hasNext
public boolean hasNext()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ResultSetIs there another result?- Specified by:
hasNextin interfaceIterator<QuerySolution>- Specified by:
hasNextin interfaceResultSet
-
next
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ResultSetMoves onto the next result.- Specified by:
nextin interfaceIterator<QuerySolution>- Specified by:
nextin interfaceResultSet
-
nextSolution
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ResultSetMoves onto the next result (legacy - use .next()).- Specified by:
nextSolutionin interfaceResultSet
-
nextBinding
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ResultSetMove to the next binding (low level)- Specified by:
nextBindingin interfaceResultSet
-
close
public void close()Deprecated, for removal: This API element is subject to removal in a future version. -
forEachRemaining
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:
forEachRemainingin interfaceIterator<QuerySolution>- Specified by:
forEachRemainingin interfaceResultSet- 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:ResultSetReturn the "row" number for the current iterator item- Specified by:
getRowNumberin interfaceResultSet
-
getResultVars
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ResultSetGet the variable names for the projection. Not all query solutions from a result have every variable defined.- Specified by:
getResultVarsin interfaceResultSet
-
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:ResultSetGet the model that resources are created against - may be null- Specified by:
getResourceModelin interfaceResultSet
-