public class BinaryQueryResultParser extends AbstractTupleQueryResultParser
BinaryQueryResultConstants.handler, valueFactory| Constructor and Description |
|---|
BinaryQueryResultParser()
Creates a new parser for the binary query result format that will use an instance of
SimpleValueFactory
to create Value objects. |
BinaryQueryResultParser(ValueFactory valueFactory)
Creates a new parser for the binary query result format that will use the supplied ValueFactory to create Value
objects.
|
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResultFormat |
getTupleQueryResultFormat()
Gets the query result format that this parser can parse.
|
void |
parse(InputStream in)
Parses the data from the supplied InputStream.
|
getQueryResultFormat, parseQueryResult, setTupleQueryResultHandlergetParseErrorListener, getParseLocationListener, getParserConfig, getSupportedSettings, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParserConfig, getSupportedSettings, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactorypublic BinaryQueryResultParser()
SimpleValueFactory
to create Value objects.public BinaryQueryResultParser(ValueFactory valueFactory)
public final TupleQueryResultFormat getTupleQueryResultFormat()
TupleQueryResultParserpublic void parse(InputStream in) throws IOException, QueryResultParseException, TupleQueryResultHandlerException
TupleQueryResultParserin - The InputStream from which to read the data.IOException - If an I/O error occurred while data was read from the InputStream.QueryResultParseException - If the parser has encountered an unrecoverable parse error.TupleQueryResultHandlerException - If the configured query result handler has encountered an unrecoverable
error.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.