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
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, XMLLANGFields inherited from class org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
handler, valueFactory -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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, setTupleQueryResultHandlerMethods inherited from class org.eclipse.rdf4j.query.resultio.sparqljson.AbstractSPARQLJSONParser
getSupportedSettings, parseQueryResult, parseQueryResultInternal, parseValueMethods inherited from class org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
getParseErrorListener, getParseLocationListener, getParserConfig, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:TupleQueryResultParserGets the query result format that this parser can parse.- Specified by:
getTupleQueryResultFormatin interfaceTupleQueryResultParser- Overrides:
getTupleQueryResultFormatin classSPARQLResultsJSONParser
-