public class StatusServlet extends BigdataRDFServlet
Modifier and Type | Field and Description |
---|---|
protected static String |
CANCEL_QUERY
The name of a request parameter used to cancel a running query (or any
other kind of REST API operation).
|
ATTR_BLUEPRINTS, MIME_JSON, MIME_RDF_XML, MIME_SPARQL_QUERY, MIME_SPARQL_RESULTS_JSON, MIME_SPARQL_RESULTS_XML, MIME_SPARQL_UPDATE, NA, OUTPUT_FORMAT_JSON, OUTPUT_FORMAT_JSON_SHORT, OUTPUT_FORMAT_QUERY_PARAMETER, OUTPUT_FORMAT_XML, OUTPUT_FORMAT_XML_SHORT, UNDEFINED_WORKBENCH_NAMESPACE, UTF8
ATTRIBUTE_RDF_CONTEXT, charset, DELETE, GET, HTTP_BADREQUEST, HTTP_HEADER_BIGDATA_READ_ONLY, HTTP_INTERNALERROR, HTTP_METHOD_NOT_ALLOWED, HTTP_NOTFOUND, HTTP_NOTIMPLEMENTED, HTTP_OK, POST, PUT
MIME_APPLICATION_JSON, MIME_APPLICATION_URL_ENCODED, MIME_APPLICATION_XML, MIME_DEFAULT_BINARY, MIME_GRAPH_ML, MIME_PROPERTIES_XML, MIME_TEXT_HTML, MIME_TEXT_JAVASCRIPT, MIME_TEXT_PLAIN
Constructor and Description |
---|
StatusServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
A status page.
|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handles CANCEL requests (terminate a running query).
|
buildAndCommitBooleanResponse, buildAndCommitNamespaceNotFoundResponse, buildAndCommitRangeCountResponse, getNamespace, getTimestamp, isAttachment, launderThrowable, newPipedInputStream, parseBindings, sendGraph, sendProperties, toURIs
buildAndCommitResponse, decodeContexts, getBigdataRDFContext, getBooleanValue, getIndexManager, getIndexManager, getServiceURIs, readFully, submitApiTask
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected static final String CANCEL_QUERY
QUERY_ID
must
also be specified. Queries specified by their QUERY_ID
will be
cancelled if they are still running.QUERY_ID
,
QueryHints.QUERYID
,
Constant Field Valuesprotected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
doPost
in class javax.servlet.http.HttpServlet
IOException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
A status page. Options include:
QueryEngine
. The queries are listed in
order of decreasing elapsed time. You can also specify
showQueries=details
to get a detailed breakdown of the query
execution.queryId=<UUID>
to specify the query(s) of interest.
This parameter may appear zero or more times. When give, the response
will include information only about the specified queries.
AbstractTripleStore
instance
being served by this SPARQL end point.AbstractTripleStore
s.Journal
(if
any).doGet
in class javax.servlet.http.HttpServlet
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.