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, parseValue
getParserConfig, getSupportedSettings, setParserConfig, setQueryResultHandler, setValueFactory
public 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.QueryResultParser
public 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.TupleQueryResultParser
IOException
org.openrdf.query.resultio.QueryResultParseException
org.openrdf.query.TupleQueryResultHandlerException
protected 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
SPARQLJSONParserBase
parseValue
in class SPARQLJSONParserBase
org.openrdf.query.resultio.QueryResultParseException
com.fasterxml.jackson.core.JsonParseException
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.