public class SparqlQueryApiSelectExecutor extends SparqlQueryApiExecutor
| Modifier and Type | Field and Description |
|---|---|
protected ResultSetMediaType |
mediaType |
queryString, rdfService| Constructor and Description |
|---|
SparqlQueryApiSelectExecutor(RDFService rdfService,
String queryString,
String acceptHeader) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAndFormat(OutputStream out)
Execute the query and write it to the output stream, in the selected
format.
|
String |
getMediaType()
What media type was selected, based on the Accept header?
|
protected InputStream |
getRawResultStream()
Ask the RDFService to run the query, and get the resulting stream.
|
instanceprotected final ResultSetMediaType mediaType
public SparqlQueryApiSelectExecutor(RDFService rdfService, String queryString, String acceptHeader) throws AcceptHeaderParsingException, NotAcceptableException
protected InputStream getRawResultStream() throws RDFServiceException
RDFServiceExceptionpublic String getMediaType()
SparqlQueryApiExecutorgetMediaType in class SparqlQueryApiExecutorpublic void executeAndFormat(OutputStream out) throws RDFServiceException, IOException
SparqlQueryApiExecutorexecuteAndFormat in class SparqlQueryApiExecutorRDFServiceExceptionIOExceptionCopyright © 2021. All rights reserved.