public class BigdataSPARQLResultsJSONParser extends SPARQLJSONParserBase implements org.openrdf.query.resultio.TupleQueryResultParser
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT |
static String |
OBJECT |
static String |
PREDICATE |
static String |
SID |
static String |
SUBJECT |
| Constructor and Description |
|---|
BigdataSPARQLResultsJSONParser()
Default constructor.
|
BigdataSPARQLResultsJSONParser(org.openrdf.model.ValueFactory valueFactory)
Construct a parser with a specific
ValueFactory. |
| Modifier and Type | Method and Description |
|---|---|
org.openrdf.query.resultio.QueryResultFormat |
getQueryResultFormat() |
org.openrdf.query.resultio.TupleQueryResultFormat |
getTupleQueryResultFormat() |
void |
parse(InputStream in)
Deprecated.
|
protected org.openrdf.model.Value |
parseValue(String bindingStr,
com.fasterxml.jackson.core.JsonParser jp)
New method added to support Bigdata Sid extension.
|
void |
setTupleQueryResultHandler(org.openrdf.query.TupleQueryResultHandler handler)
Deprecated.
|
parseQueryResult, parseQueryResultInternal, parseValuegetParserConfig, getSupportedSettings, setParserConfig, setQueryResultHandler, setValueFactorypublic static final String SID
public static final String SUBJECT
public static final String PREDICATE
public static final String OBJECT
public static final String CONTEXT
public BigdataSPARQLResultsJSONParser()
public BigdataSPARQLResultsJSONParser(org.openrdf.model.ValueFactory valueFactory)
ValueFactory.valueFactory - The factory to use to create values.public org.openrdf.query.resultio.QueryResultFormat getQueryResultFormat()
getQueryResultFormat in interface org.openrdf.query.resultio.QueryResultParserpublic org.openrdf.query.resultio.TupleQueryResultFormat getTupleQueryResultFormat()
getTupleQueryResultFormat in interface org.openrdf.query.resultio.TupleQueryResultParser@Deprecated public void setTupleQueryResultHandler(org.openrdf.query.TupleQueryResultHandler handler)
setTupleQueryResultHandler in interface org.openrdf.query.resultio.TupleQueryResultParser@Deprecated public void parse(InputStream in) throws IOException, org.openrdf.query.resultio.QueryResultParseException, org.openrdf.query.TupleQueryResultHandlerException
parse in interface org.openrdf.query.resultio.TupleQueryResultParserIOExceptionorg.openrdf.query.resultio.QueryResultParseExceptionorg.openrdf.query.TupleQueryResultHandlerExceptionprotected org.openrdf.model.Value parseValue(String bindingStr, com.fasterxml.jackson.core.JsonParser jp) throws org.openrdf.query.resultio.QueryResultParseException, com.fasterxml.jackson.core.JsonParseException, IOException
SPARQLJSONParserBaseparseValue in class SPARQLJSONParserBaseorg.openrdf.query.resultio.QueryResultParseExceptioncom.fasterxml.jackson.core.JsonParseExceptionIOExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.