GNU GPL v2+
- Since
- 2.2
- Author
- Markus Krötzsch
-
Jeroen De Dauw
-
mwjames
◆ __construct()
◆ addError()
SMW\SQLStore\QueryEngine\ConditionBuilder::addError |
( |
|
$error, |
|
|
|
$type = Message::TEXT |
|
) |
| |
◆ addQuerySegment()
SMW\SQLStore\QueryEngine\ConditionBuilder::addQuerySegment |
( |
QuerySegment |
$query | ) |
|
◆ buildCondition()
SMW\SQLStore\QueryEngine\ConditionBuilder::buildCondition |
( |
Query |
$query | ) |
|
Compute abstract representation of the query (compilation)
- Parameters
-
- Returns
- integer
◆ buildFromDescription()
SMW\SQLStore\QueryEngine\ConditionBuilder::buildFromDescription |
( |
Description |
$description | ) |
|
Create a new QueryContainer object that can be used to obtain results for the given description. The result is stored in $this->queries using a numeric key that is returned as a result of the function. Returns -1 if no query was created.
- Parameters
-
- Returns
- integer
◆ findQuerySegment()
SMW\SQLStore\QueryEngine\ConditionBuilder::findQuerySegment |
( |
|
$id | ) |
|
- Since
- 2.2
- Parameters
-
- Returns
- QuerySegment
- Exceptions
-
InvalidArgumentException | |
OutOfBoundsException | |
◆ getErrors()
SMW\SQLStore\QueryEngine\ConditionBuilder::getErrors |
( |
| ) |
|
◆ getLastQuerySegmentId()
SMW\SQLStore\QueryEngine\ConditionBuilder::getLastQuerySegmentId |
( |
| ) |
|
◆ getQuerySegmentList()
SMW\SQLStore\QueryEngine\ConditionBuilder::getQuerySegmentList |
( |
| ) |
|
◆ getSortKeys()
SMW\SQLStore\QueryEngine\ConditionBuilder::getSortKeys |
( |
| ) |
|
◆ isFilterDuplicates()
SMW\SQLStore\QueryEngine\ConditionBuilder::isFilterDuplicates |
( |
|
$isFilterDuplicates | ) |
|
Filter dulicate segments that represent the same query and to be identified by the same hash.
- Since
- 2.5
- Parameters
-
boolean | $isFilterDuplicates | |
◆ setSortKeys()
SMW\SQLStore\QueryEngine\ConditionBuilder::setSortKeys |
( |
|
$sortKeys | ) |
|
- Since
- 2.2
- Parameters
-
- Returns
- $this
The documentation for this class was generated from the following file:
- SQLStore/QueryEngine/ConditionBuilder.php