Package org.eclipse.rdf4j.query.resultio
Interface BooleanQueryResultParser
- All Superinterfaces:
QueryResultParser
- All Known Implementing Classes:
BooleanTextParser
,SPARQLBooleanJSONParser
,SPARQLBooleanXMLParser
A general interface for boolean query result parsers.
- Author:
- Arjohn Kampman
-
Method Summary
Modifier and TypeMethodDescriptionGets the query result format that this parser can parse.boolean
parse
(InputStream in) Deprecated.Methods inherited from interface org.eclipse.rdf4j.query.resultio.QueryResultParser
getParserConfig, getQueryResultFormat, getSupportedSettings, parseQueryResult, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
-
Method Details
-
getBooleanQueryResultFormat
BooleanQueryResultFormat getBooleanQueryResultFormat()Gets the query result format that this parser can parse. -
parse
Deprecated.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.
-
QueryResultParser.parseQueryResult(InputStream)
instead.