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
ConstructorDescriptionResultSetCheckCondition
(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 TypeMethodDescriptionvoid
close()
Deprecated, for removal: This API element is subject to removal in a future version.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.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 nullDeprecated, 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 itemboolean
hasNext()
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, wait
Methods 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:ResultSet
Is there another result?- Specified by:
hasNext
in interfaceIterator<QuerySolution>
- Specified by:
hasNext
in interfaceResultSet
-
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 interfaceIterator<QuerySolution>
- Specified by:
next
in interfaceResultSet
-
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 interfaceResultSet
-
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 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:
forEachRemaining
in interfaceIterator<QuerySolution>
- Specified by:
forEachRemaining
in 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:ResultSet
Return the "row" number for the current iterator item- Specified by:
getRowNumber
in interfaceResultSet
-
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 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:ResultSet
Get the model that resources are created against - may be null- Specified by:
getResourceModel
in interfaceResultSet
-