public abstract class AbstractSPARQLJSONParser extends AbstractQueryResultParser
| Modifier and Type | Field and Description |
|---|---|
static String |
BINDINGS |
static String |
BNODE |
static String |
BOOLEAN |
static String |
DATATYPE |
static String |
HEAD |
static String |
LINK |
static String |
LITERAL |
static String |
RESULTS |
static String |
TYPE |
static String |
TYPED_LITERAL |
static String |
URI |
static String |
VALUE |
static String |
VARS |
static String |
XMLLANG |
handler, valueFactory| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSPARQLJSONParser() |
protected |
AbstractSPARQLJSONParser(org.eclipse.rdf4j.model.ValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkTripleType(com.fasterxml.jackson.core.JsonParser jp,
String type) |
Collection<org.eclipse.rdf4j.rio.RioSetting<?>> |
getSupportedSettings() |
void |
parseQueryResult(InputStream in) |
protected boolean |
parseQueryResultInternal(InputStream in,
boolean attemptParseBoolean,
boolean attemptParseTuple) |
protected org.eclipse.rdf4j.model.Triple |
parseTripleValue(com.fasterxml.jackson.core.JsonParser jp,
String fieldName) |
protected org.eclipse.rdf4j.model.Value |
parseValue(com.fasterxml.jackson.core.JsonParser jp,
String bindingStr) |
getParseErrorListener, getParseLocationListener, getParserConfig, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetQueryResultFormatpublic static final String HEAD
public static final String LINK
public static final String VARS
public static final String BOOLEAN
public static final String RESULTS
public static final String BINDINGS
public static final String TYPE
public static final String VALUE
public static final String XMLLANG
public static final String DATATYPE
public static final String LITERAL
public static final String TYPED_LITERAL
public static final String BNODE
public static final String URI
protected AbstractSPARQLJSONParser()
protected AbstractSPARQLJSONParser(org.eclipse.rdf4j.model.ValueFactory valueFactory)
public void parseQueryResult(InputStream in) throws IOException, QueryResultParseException, QueryResultHandlerException
protected boolean parseQueryResultInternal(InputStream in, boolean attemptParseBoolean, boolean attemptParseTuple) throws IOException, QueryResultParseException, QueryResultHandlerException
protected org.eclipse.rdf4j.model.Value parseValue(com.fasterxml.jackson.core.JsonParser jp, String bindingStr) throws IOException
IOExceptionprotected org.eclipse.rdf4j.model.Triple parseTripleValue(com.fasterxml.jackson.core.JsonParser jp, String fieldName) throws IOException
IOExceptionprotected boolean checkTripleType(com.fasterxml.jackson.core.JsonParser jp,
String type)
public Collection<org.eclipse.rdf4j.rio.RioSetting<?>> getSupportedSettings()
getSupportedSettings in interface QueryResultParsergetSupportedSettings in class AbstractQueryResultParserCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.