public class AGTQRStreamer extends AGResponseHandler
SPARQLResultsXMLParser
but uses XMLStreamReader instead of SAXParser so the results
streaming in the http response can be processed in a
TupleQueryResult pulling from the stream.| Constructor and Description |
|---|
AGTQRStreamer(TupleQueryResultFormat format,
AGValueFactory vf) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestMIMEType() |
TupleQueryResult |
getResult() |
void |
handleResponse(org.apache.commons.httpclient.HttpMethod method) |
boolean |
releaseConnection()
False because the Result will release the HTTP resources.
|
public AGTQRStreamer(TupleQueryResultFormat format, AGValueFactory vf)
public String getRequestMIMEType()
getRequestMIMEType in class AGResponseHandlerpublic boolean releaseConnection()
handleResponse(HttpMethod),
but here the work is pulled later from the Result.releaseConnection in class AGResponseHandlerpublic void handleResponse(org.apache.commons.httpclient.HttpMethod method)
throws IOException,
AGHttpException
handleResponse in class AGResponseHandlerIOExceptionAGHttpExceptionpublic TupleQueryResult getResult()
Copyright © 2017 Franz Inc.. All rights reserved.