Class DefaultQueryRequestHandler
java.lang.Object
org.eclipse.rdf4j.http.server.repository.handler.AbstractQueryRequestHandler
org.eclipse.rdf4j.http.server.repository.handler.DefaultQueryRequestHandler
- All Implemented Interfaces:
QueryRequestHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Boolean
evaluateQuery
(BooleanQuery query, long limit, long offset, boolean distinct) protected GraphQueryResult
evaluateQuery
(GraphQuery query, long limit, long offset, boolean distinct) protected Object
evaluateQuery
(Query query, long limit, long offset, boolean distinct) protected TupleQueryResult
evaluateQuery
(TupleQuery query, long limit, long offset, boolean distinct) protected SimpleDataset
getDataset
(javax.servlet.http.HttpServletRequest request, ValueFactory valueFactory, Query query) protected boolean
getIncludeInferred
(javax.servlet.http.HttpServletRequest request) protected int
getMaxExecutionTime
(javax.servlet.http.HttpServletRequest request) protected Query
getQuery
(javax.servlet.http.HttpServletRequest request, RepositoryConnection repositoryCon, String queryString) protected QueryLanguage
getQueryLanguage
(String queryLanguageParamName) protected String
getQueryString
(javax.servlet.http.HttpServletRequest request, org.springframework.web.bind.annotation.RequestMethod requestMethod) protected FileFormatServiceRegistry<? extends FileFormat,
?> getResultWriterFor
(Query query) protected org.springframework.web.servlet.View
getViewFor
(Query query) protected void
setQueryParameters
(javax.servlet.http.HttpServletRequest request, RepositoryConnection repositoryCon, Query query) Methods inherited from class org.eclipse.rdf4j.http.server.repository.handler.AbstractQueryRequestHandler
getLimit, getModelAndView, getOffset, handleQueryRequest, isDistinct
-
Constructor Details
-
DefaultQueryRequestHandler
-
-
Method Details
-
evaluateQuery
protected Object evaluateQuery(Query query, long limit, long offset, boolean distinct) throws ClientHTTPException - Specified by:
evaluateQuery
in classAbstractQueryRequestHandler
- Throws:
ClientHTTPException
-
evaluateQuery
-
evaluateQuery
protected GraphQueryResult evaluateQuery(GraphQuery query, long limit, long offset, boolean distinct) -
evaluateQuery
protected TupleQueryResult evaluateQuery(TupleQuery query, long limit, long offset, boolean distinct) -
getViewFor
- Specified by:
getViewFor
in classAbstractQueryRequestHandler
-
getResultWriterFor
- Specified by:
getResultWriterFor
in classAbstractQueryRequestHandler
-
getQueryString
protected String getQueryString(javax.servlet.http.HttpServletRequest request, org.springframework.web.bind.annotation.RequestMethod requestMethod) throws HTTPException - Specified by:
getQueryString
in classAbstractQueryRequestHandler
- Throws:
HTTPException
-
getQuery
protected Query getQuery(javax.servlet.http.HttpServletRequest request, RepositoryConnection repositoryCon, String queryString) throws IOException, HTTPException - Specified by:
getQuery
in classAbstractQueryRequestHandler
- Throws:
IOException
HTTPException
-
setQueryParameters
protected void setQueryParameters(javax.servlet.http.HttpServletRequest request, RepositoryConnection repositoryCon, Query query) throws ClientHTTPException - Throws:
ClientHTTPException
-
getMaxExecutionTime
protected int getMaxExecutionTime(javax.servlet.http.HttpServletRequest request) throws ClientHTTPException - Throws:
ClientHTTPException
-
getIncludeInferred
protected boolean getIncludeInferred(javax.servlet.http.HttpServletRequest request) throws ClientHTTPException - Throws:
ClientHTTPException
-
getDataset
protected SimpleDataset getDataset(javax.servlet.http.HttpServletRequest request, ValueFactory valueFactory, Query query) throws ClientHTTPException - Throws:
ClientHTTPException
-
getQueryLanguage
- Throws:
ClientHTTPException
-