SPARQLStarResultsJSONWriter@Deprecated public class SPARQLStarResultsJSONWriter extends SPARQLStarResultsJSONWriter
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
documentOpen |
protected boolean |
firstTupleWritten |
protected boolean |
headerComplete |
protected boolean |
headerOpen |
protected com.fasterxml.jackson.core.JsonGenerator |
jg |
protected boolean |
linksFound |
protected boolean |
tupleVariablesFound |
| Constructor and Description |
|---|
SPARQLStarResultsJSONWriter(OutputStream out)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
endDocument() |
void |
endHeader() |
void |
endQueryResult() |
Collection<org.eclipse.rdf4j.rio.RioSetting<?>> |
getSupportedSettings() |
Writer |
getWriter() |
void |
handleBoolean(boolean value) |
void |
handleLinks(List<String> linkUrls) |
void |
handleNamespace(String prefix,
String uri) |
protected void |
handleSolutionImpl(BindingSet bindingSet) |
void |
handleStylesheet(String stylesheetUrl) |
void |
startDocument() |
void |
startHeader() |
void |
startQueryResult(List<String> columnHeaders) |
acceptsFileFormat, getQueryResultFormat, getTupleQueryResultFormatwriteValuegetFileFormat, getWriterConfig, handleSolution, setWriterConfig, xsdStringToPlainLiteralclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendHeader, getSupportedSettings, getWriterConfig, handleNamespace, handleStylesheet, setWriterConfig, startDocument, startHeaderendQueryResult, handleBoolean, handleLinks, handleSolution, startQueryResultgetFileFormatprotected boolean firstTupleWritten
protected boolean documentOpen
protected boolean headerOpen
protected boolean headerComplete
protected boolean tupleVariablesFound
protected boolean linksFound
protected final com.fasterxml.jackson.core.JsonGenerator jg
public SPARQLStarResultsJSONWriter(OutputStream out)
public void endHeader()
throws QueryResultHandlerException
endHeader in interface QueryResultWriterQueryResultHandlerExceptionpublic void startQueryResult(List<String> columnHeaders) throws TupleQueryResultHandlerException
startQueryResult in interface QueryResultHandlerstartQueryResult in class AbstractQueryResultWriterTupleQueryResultHandlerExceptionprotected void handleSolutionImpl(BindingSet bindingSet) throws TupleQueryResultHandlerException
handleSolutionImpl in class AbstractQueryResultWriterTupleQueryResultHandlerExceptionpublic void endQueryResult()
throws TupleQueryResultHandlerException
endQueryResult in interface QueryResultHandlerTupleQueryResultHandlerExceptionpublic void startDocument()
throws QueryResultHandlerException
startDocument in interface QueryResultWriterQueryResultHandlerExceptionpublic void handleStylesheet(String stylesheetUrl) throws QueryResultHandlerException
handleStylesheet in interface QueryResultWriterQueryResultHandlerExceptionpublic void startHeader()
throws QueryResultHandlerException
startHeader in interface QueryResultWriterQueryResultHandlerExceptionpublic void handleLinks(List<String> linkUrls) throws QueryResultHandlerException
handleLinks in interface QueryResultHandlerQueryResultHandlerExceptionpublic void handleBoolean(boolean value)
throws QueryResultHandlerException
handleBoolean in interface QueryResultHandlerQueryResultHandlerExceptionpublic final Collection<org.eclipse.rdf4j.rio.RioSetting<?>> getSupportedSettings()
getSupportedSettings in interface QueryResultWritergetSupportedSettings in class AbstractQueryResultWriterpublic void handleNamespace(String prefix, String uri) throws QueryResultHandlerException
handleNamespace in interface QueryResultWriterQueryResultHandlerExceptionprotected void endDocument()
throws IOException
IOExceptionCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.