Interface QueryAnswerMonitor
public interface QueryAnswerMonitor
This callback interface can be passed to a 
DataStoreConnection along with a query to receive query answers as they are processed.- 
Method SummaryModifier and Type Method Description voidprocessQueryAnswer(java.util.List<ResourceValue> answer, long multiplicity)Called for each query answer.voidqueryAnswersFinished()Called after all query answers have been processed.voidqueryAnswersStarted(java.lang.String[] answerVariableNames)Called at the start of query answering.
- 
Method Details- 
queryAnswersStartedCalled at the start of query answering.- Parameters:
- answerVariableNames- contains the names of the answer variables
- Throws:
- JRDFoxException- thrown if there is an error
 
- 
processQueryAnswervoid processQueryAnswer(java.util.List<ResourceValue> answer, long multiplicity) throws JRDFoxExceptionCalled for each query answer.- Parameters:
- answer- the array of resource values that constitute the query answer
- multiplicity- specifies now many times- answershould be counted
- Throws:
- JRDFoxException- thrown if there is an error
 
- 
queryAnswersFinishedCalled after all query answers have been processed.- Throws:
- JRDFoxException- thrown if there is an error
 
 
-