Interface BooleanQueryResultWriter
- All Superinterfaces:
BooleanQueryResultHandler, QueryResultHandler, QueryResultWriter
- All Known Implementing Classes:
BooleanTextWriter, SPARQLBooleanJSONWriter, SPARQLBooleanXMLWriter
The interface of objects that writer query results in a specific query result format.
- Author:
- Arjohn Kampman
-
Method Summary
Modifier and TypeMethodDescriptionGets the query result format that this writer uses.voidwrite(boolean value) Deprecated.Methods inherited from interface QueryResultHandler
endQueryResult, handleBoolean, handleLinks, handleSolution, startQueryResultModifier and TypeMethodDescriptionvoidIndicates the end of a sequence of solutions.voidhandleBoolean(boolean value) Handles the specified boolean value.voidhandleLinks(List<String> linkUrls) Handles the links elements which are present in SPARQL Results JSON and SPARQL Results XML documents in the header.voidhandleSolution(BindingSet bindingSet) Handles a solution.voidstartQueryResult(List<String> bindingNames) Indicates the start of a sequence of Solutions.Methods inherited from interface QueryResultWriter
endHeader, getQueryResultFormat, getSupportedSettings, getWriterConfig, handleNamespace, handleStylesheet, setWriterConfig, startDocument, startHeaderModifier and TypeMethodDescriptionvoidIndicates the end of the header.Gets the query result format that this writer uses.Collection<RioSetting<?>> Retrieves the current writer configuration as a single object.voidhandleNamespace(String prefix, String uri) Handles a namespace prefix declaration.voidhandleStylesheet(String stylesheetUrl) Handles a stylesheet URL.voidsetWriterConfig(WriterConfig config) Sets all supplied writer configuration options.voidIndicates the start of the document.voidIndicates the start of the header.
-
Method Details
-
write
Deprecated.UseQueryResultHandler.handleBoolean(boolean)instead.Writes the specified boolean value.- Throws:
IOException
-
getBooleanQueryResultFormat
BooleanQueryResultFormat getBooleanQueryResultFormat()Gets the query result format that this writer uses.
-
QueryResultHandler.handleBoolean(boolean)instead.