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