Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (RepositoryConnection $connection, ConditionBuilder $conditionBuilder, QueryResultFactory $queryResultFactory, EngineOptions $engineOptions=null) | |
getQueryResult (Query $query) | |
Public Attributes | |
const | RESULT_VARIABLE = 'result' |
Protected Member Functions | |
getOptions (Query $query, Condition $compoundCondition) | |
Class mapping SMWQuery objects to SPARQL, and for controlling the execution of these queries to obtain suitable QueryResult objects.
GNU GPL v2+
SMW\SPARQLStore\QueryEngine\QueryEngine::__construct | ( | RepositoryConnection | $connection, |
ConditionBuilder | $conditionBuilder, | ||
QueryResultFactory | $queryResultFactory, | ||
EngineOptions | $engineOptions = null |
||
) |
RepositoryConnection | $connection | |
ConditionBuilder | $conditionBuilder | |
QueryResultFactory | $queryResultFactory | |
EngineOptions | null | $EngineOptions |
|
protected |
Get a SPARQL option array for the given query.
Query | $query | |
Condition | $compoundCondition | (storing order by variable names) |
SMW\SPARQLStore\QueryEngine\QueryEngine::getQueryResult | ( | Query | $query | ) |
const SMW\SPARQLStore\QueryEngine\QueryEngine::RESULT_VARIABLE = 'result' |
The name of the SPARQL variable that represents the query result.