public static class ResultSetConsumer.HasResult extends ResultSetConsumer
ResultSetConsumer.Chaining, ResultSetConsumer.HasResult| Constructor and Description |
|---|
HasResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasResult()
Were any results found
|
protected void |
processQuerySolution(org.apache.jena.query.QuerySolution qs)
Method for processing each QuerySolution - must be overridden in each implementation
|
void |
processResultSet(org.apache.jena.query.ResultSet rs)
Override the helper method for processing results to quickly check if there are any results
|
endProcessing, getResultVars, startProcessingpublic void processResultSet(org.apache.jena.query.ResultSet rs)
processResultSet in class ResultSetConsumerrs - - the ResultSet to processprotected void processQuerySolution(org.apache.jena.query.QuerySolution qs)
ResultSetConsumerprocessQuerySolution in class ResultSetConsumerqs - - the current query solutionpublic boolean hasResult()
Copyright © 2022. All rights reserved.