Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\QueryEngine Interface Reference
Inheritance diagram for SMW\QueryEngine:
Inheritance graph
[legend]

Public Member Functions

 getQueryResult (Query $query)
 

Detailed Description

Interface for query answering that depend on concrete implementations to provide the filtering and matching process for specific conditions against a select back-end.

GNU GPL v2+

Since
2.5
Author
mwjames

Member Function Documentation

◆ getQueryResult()

SMW\QueryEngine::getQueryResult ( Query  $query)

Returns a QueryResult object that matches the condition described by a query.

Note
If the request was made for a debug (querymode MODE_DEBUG) query then a simple HTML-compatible string is returned.
Since
2.5
Parameters
Query$query
Returns
QueryResult|string

Implemented in SMW\SQLStore\SQLStore, SMW\SPARQLStore\SPARQLStore, SMW\Query\Cache\ResultCache, SMW\SQLStore\QueryEngine\QueryEngine, SMW\Tests\Query\FakeQueryEngine, SMW\Elastic\QueryEngine\QueryEngine, SMW\Query\RemoteRequest, SMW\SPARQLStore\QueryEngine\QueryEngine, SMW\SQLStore\Lookup\SingleEntityQueryLookup, and SEQL\ByHttpRequestQueryLookup.


The documentation for this interface was generated from the following file:

About | General disclaimer | Privacy policy