Class DAWGTestResultSetParser
java.lang.Object
org.eclipse.rdf4j.rio.helpers.AbstractRDFHandler
org.eclipse.rdf4j.query.dawg.DAWGTestResultSetParser
- All Implemented Interfaces:
RDFHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Modelprivate final TupleQueryResultHandlerRDFHandler to report the generated statements to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendRDF()Signals the end of the RDF data.private BindinggetBinding(Resource bindingNode) getBindingNames(Resource resultSetNode) voidHandles a statement.private voidreportSolution(Resource solutionNode, List<String> bindingNames) voidstartRDF()Signals the start of the RDF data.Methods inherited from class AbstractRDFHandler
handleComment, handleNamespace
-
Field Details
-
tqrHandler
RDFHandler to report the generated statements to. -
graph
-
-
Constructor Details
-
DAWGTestResultSetParser
-
-
Method Details
-
startRDF
Description copied from interface:RDFHandlerSignals the start of the RDF data. This method is called before any data is reported.- Specified by:
startRDFin interfaceRDFHandler- Overrides:
startRDFin classAbstractRDFHandler- Throws:
RDFHandlerException- If the RDF handler has encountered an unrecoverable error.
-
handleStatement
Description copied from interface:RDFHandlerHandles a statement.- Specified by:
handleStatementin interfaceRDFHandler- Overrides:
handleStatementin classAbstractRDFHandler- Parameters:
st- The statement.- Throws:
RDFHandlerException- If the RDF handler has encountered an unrecoverable error.
-
endRDF
Description copied from interface:RDFHandlerSignals the end of the RDF data. This method is called when all data has been reported.- Specified by:
endRDFin interfaceRDFHandler- Overrides:
endRDFin classAbstractRDFHandler- Throws:
RDFHandlerException- If the RDF handler has encountered an unrecoverable error.
-
getBindingNames
- Throws:
RDFHandlerException
-
reportSolution
private void reportSolution(Resource solutionNode, List<String> bindingNames) throws RDFHandlerException - Throws:
RDFHandlerException
-
getBinding
-