Package org.eclipse.rdf4j.query.resultio
Interface TupleQueryResultParser
- All Superinterfaces:
QueryResultParser
- All Known Implementing Classes:
AbstractTupleQueryResultParser
,BinaryQueryResultParser
,SPARQLResultsCSVParser
,SPARQLResultsJSONParser
,SPARQLResultsTSVParser
,SPARQLResultsXMLParser
,SPARQLStarResultsJSONParser
,SPARQLStarResultsJSONParser
,SPARQLStarResultsTSVParser
,SPARQLStarResultsTSVParser
,SPARQLStarResultsXMLParser
A general interface for tuple query result parsers.
-
Method Summary
Modifier and TypeMethodDescriptionGets the query result format that this parser can parse.void
parse(InputStream in)
Deprecated.void
Deprecated.Methods inherited from interface org.eclipse.rdf4j.query.resultio.QueryResultParser
getParserConfig, getQueryResultFormat, getSupportedSettings, parseQueryResult, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
-
Method Details
-
getTupleQueryResultFormat
TupleQueryResultFormat getTupleQueryResultFormat()Gets the query result format that this parser can parse. -
setTupleQueryResultHandler
Deprecated.Sets the TupleQueryResultHandler that will handle the parsed query result data. -
parse
@Deprecated void parse(InputStream in) throws IOException, QueryResultParseException, TupleQueryResultHandlerExceptionDeprecated.UseQueryResultParser.parseQueryResult(InputStream)
instead.Parses the data from the supplied InputStream.- Parameters:
in
- The InputStream from which to read the data.- Throws:
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.
-
QueryResultParser.parseQueryResult(InputStream)
instead.