Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (Store $store, TermsLookup $termsLookup, HierarchyLookup $hierarchyLookup, ServicesContainer $servicesContainer) | |
setOptions (Options $options) | |
getOption ( $key, $default=false) | |
setSortFields (array $sortFields) | |
getStore () | |
getTermsLookup () | |
getFieldMapper () | |
getQueryInfo () | |
addQueryInfo (array $queryInfo) | |
getDescriptionLog () | |
getErrors () | |
addError (array $error) | |
prepareCache (array $dataItems) | |
getID ( $dataItem) | |
newCondition ( $params) | |
makeFromDescription (Description $description, $isConstantScore=true) | |
findHierarchyMembers (DataItem $dataItem=null, $hierarchyDepth) | |
interpretDescription (Description $description, $isConjunction=false) | |
interpretSomeValue (ValueDescription $description, array &$options) | |
Protected Attributes | |
$isConstantScore = true | |
Build an internal representation for a SPARQL condition from individual query descriptions.
GNU GPL v2+
SMW\Elastic\QueryEngine\ConditionBuilder::__construct | ( | Store | $store, |
TermsLookup | $termsLookup, | ||
HierarchyLookup | $hierarchyLookup, | ||
ServicesContainer | $servicesContainer | ||
) |
Store | $store | |
TermsLookup | $termsLookup | |
HierarchyLookup | $hierarchyLookup | |
ServicesContainer | $servicesContainer |
SMW\Elastic\QueryEngine\ConditionBuilder::addError | ( | array | $error | ) |
array | $error |
SMW\Elastic\QueryEngine\ConditionBuilder::addQueryInfo | ( | array | $queryInfo | ) |
array | $queryInfo |
SMW\Elastic\QueryEngine\ConditionBuilder::findHierarchyMembers | ( | DataItem | $dataItem = null , |
$hierarchyDepth | |||
) |
DataItem | null | $dataItem | |
integer | $hierarchyDepth |
SMW\Elastic\QueryEngine\ConditionBuilder::getDescriptionLog | ( | ) |
[] |
SMW\Elastic\QueryEngine\ConditionBuilder::getErrors | ( | ) |
SMW\Elastic\QueryEngine\ConditionBuilder::getFieldMapper | ( | ) |
SMW\Elastic\QueryEngine\ConditionBuilder::getID | ( | $dataItem | ) |
SMW\Elastic\QueryEngine\ConditionBuilder::getOption | ( | $key, | |
$default = false |
|||
) |
string | $key |
SMW\Elastic\QueryEngine\ConditionBuilder::getQueryInfo | ( | ) |
[] |
SMW\Elastic\QueryEngine\ConditionBuilder::getStore | ( | ) |
SMW\Elastic\QueryEngine\ConditionBuilder::getTermsLookup | ( | ) |
SMW\Elastic\QueryEngine\ConditionBuilder::interpretDescription | ( | Description | $description, |
$isConjunction = false |
|||
) |
Description | $description |
SMW\Elastic\QueryEngine\ConditionBuilder::interpretSomeValue | ( | ValueDescription | $description, |
array & | $options | ||
) |
SMW\Elastic\QueryEngine\ConditionBuilder::makeFromDescription | ( | Description | $description, |
$isConstantScore = true |
|||
) |
Description | $description | |
boolean | $isConstantScore |
SMW\Elastic\QueryEngine\ConditionBuilder::newCondition | ( | $params | ) |
SMW\Elastic\QueryEngine\ConditionBuilder::prepareCache | ( | array | $dataItems | ) |
array | $dataItems |
SMW\Elastic\QueryEngine\ConditionBuilder::setOptions | ( | Options | $options | ) |
Options | $options |
SMW\Elastic\QueryEngine\ConditionBuilder::setSortFields | ( | array | $sortFields | ) |
array | $sortFields |