public class ResultSetStreamingOutput extends com.google.common.util.concurrent.AbstractFuture<Void> implements javax.ws.rs.core.StreamingOutput
| Constructor and Description |
|---|
ResultSetStreamingOutput(com.hp.hpl.jena.query.ResultSet results,
javax.ws.rs.core.MediaType mediaType)
Stream the results of a SPARQL Query with the given MediaType
|
| Modifier and Type | Method and Description |
|---|---|
static com.hp.hpl.jena.sparql.resultset.ResultsFormat |
getResultsFormat(javax.ws.rs.core.MediaType mediaType)
Map the HTTP MediaType to a SPARQL ResultsFormat
|
void |
write(OutputStream entityStream) |
public ResultSetStreamingOutput(com.hp.hpl.jena.query.ResultSet results,
javax.ws.rs.core.MediaType mediaType)
results - mediaType - public void write(OutputStream entityStream) throws IOException
write in interface javax.ws.rs.core.StreamingOutputentityStream - IOExceptionpublic static com.hp.hpl.jena.sparql.resultset.ResultsFormat getResultsFormat(javax.ws.rs.core.MediaType mediaType)
mediaType - Copyright © 2013 DuraSpace, Inc.. All Rights Reserved.