Class SPARQLStarResultsJSONParser
java.lang.Object
org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
org.eclipse.rdf4j.query.resultio.sparqljson.AbstractSPARQLJSONParser
org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLResultsJSONParser
org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLStarResultsJSONParser
- All Implemented Interfaces:
QueryResultParser
,TupleQueryResultParser
- Direct Known Subclasses:
SPARQLStarResultsJSONParser
Parser for SPARQL-star JSON results. This is equivalent to the SPARQL JSON parser with the addition of support for
RDF-star triples. See
SPARQLStarResultsJSONConstants
for a description of the RDF-star extension.- Author:
- Pavel Mihaylov
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.query.resultio.sparqljson.AbstractSPARQLJSONParser
BINDINGS, BNODE, BOOLEAN, DATATYPE, HEAD, LINK, LITERAL, RESULTS, TYPE, TYPED_LITERAL, URI, VALUE, VARS, XMLLANG
Fields inherited from class org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
handler, valueFactory
-
Constructor Summary
ConstructorDescriptionDefault constructor.SPARQLStarResultsJSONParser
(ValueFactory valueFactory) Constructs a parser with the suppliedValueFactory
. -
Method Summary
Modifier and TypeMethodDescriptionGets the query result format that this parser can parse.Methods inherited from class org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLResultsJSONParser
checkTripleType, getQueryResultFormat, parse, parseTripleValue, setTupleQueryResultHandler
Methods inherited from class org.eclipse.rdf4j.query.resultio.sparqljson.AbstractSPARQLJSONParser
getSupportedSettings, parseQueryResult, parseQueryResultInternal, parseValue
Methods inherited from class org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
getParseErrorListener, getParseLocationListener, getParserConfig, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.query.resultio.QueryResultParser
getParserConfig, getSupportedSettings, parseQueryResult, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
-
Constructor Details
-
SPARQLStarResultsJSONParser
public SPARQLStarResultsJSONParser()Default constructor. -
SPARQLStarResultsJSONParser
Constructs a parser with the suppliedValueFactory
.- Parameters:
valueFactory
- The factory to use to create values.
-
-
Method Details
-
getTupleQueryResultFormat
Description copied from interface:TupleQueryResultParser
Gets the query result format that this parser can parse.- Specified by:
getTupleQueryResultFormat
in interfaceTupleQueryResultParser
- Overrides:
getTupleQueryResultFormat
in classSPARQLResultsJSONParser
-