Package org.eclipse.rdf4j.query.dawg
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 Model
private final TupleQueryResultHandler
RDFHandler to report the generated statements to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
endRDF()
Signals the end of the RDF data.private Binding
getBinding
(Resource bindingNode) getBindingNames
(Resource resultSetNode) void
Handles a statement.private void
reportSolution
(Resource solutionNode, List<String> bindingNames) void
startRDF()
Signals the start of the RDF data.Methods inherited from class org.eclipse.rdf4j.rio.helpers.AbstractRDFHandler
handleComment, handleNamespace
-
Field Details
-
tqrHandler
RDFHandler to report the generated statements to. -
graph
-
-
Constructor Details
-
DAWGTestResultSetParser
-
-
Method Details
-
startRDF
Description copied from interface:RDFHandler
Signals the start of the RDF data. This method is called before any data is reported.- Specified by:
startRDF
in interfaceRDFHandler
- Overrides:
startRDF
in classAbstractRDFHandler
- Throws:
RDFHandlerException
- If the RDF handler has encountered an unrecoverable error.
-
handleStatement
Description copied from interface:RDFHandler
Handles a statement.- Specified by:
handleStatement
in interfaceRDFHandler
- Overrides:
handleStatement
in classAbstractRDFHandler
- Parameters:
st
- The statement.- Throws:
RDFHandlerException
- If the RDF handler has encountered an unrecoverable error.
-
endRDF
Description copied from interface:RDFHandler
Signals the end of the RDF data. This method is called when all data has been reported.- Specified by:
endRDF
in interfaceRDFHandler
- Overrides:
endRDF
in 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
-