Inherited by SMWSparqlFalseCondition, SMWSparqlFilterCondition, SMWSparqlSingletonCondition, SMWSparqlTrueCondition, and SMWSparqlWhereCondition.
Public Member Functions | |
| getCondition () | |
| Get the SPARQL condition string that this object represents. | |
| isSafe () | |
| Tell whether the condition string returned by getCondition() is safe in the sense that it can be used alone in a SPARQL query. | |
| getWeakConditionString () | |
Public Attributes | |
| $orderByVariable = '' | |
| $orderVariables = array() | |
| $weakConditions = array() | |
| $namespaces = array() | |
Definition at line 20 of file SMW_SparqlStoreQueryEngine.php.
| SMWSparqlCondition::getCondition | ( | ) | [abstract] |
Get the SPARQL condition string that this object represents.
This does not inlcude the weak conditions, or additional formulations to match singletons (see SMWSparqlSingletonCondition).
Reimplemented in SMWSparqlFalseCondition, SMWSparqlTrueCondition, SMWSparqlWhereCondition, SMWSparqlSingletonCondition, and SMWSparqlFilterCondition.
Referenced by SMWSparqlStoreQueryEngine::getSparqlConditionString().
| SMWSparqlCondition::isSafe | ( | ) | [abstract] |
Tell whether the condition string returned by getCondition() is safe in the sense that it can be used alone in a SPARQL query.
This requires that all filtered variables occur in some graph pattern, and that the condition is not empty.
Reimplemented in SMWSparqlFalseCondition, SMWSparqlTrueCondition, SMWSparqlWhereCondition, SMWSparqlSingletonCondition, and SMWSparqlFilterCondition.
| SMWSparqlCondition::getWeakConditionString | ( | ) |
Definition at line 77 of file SMW_SparqlStoreQueryEngine.php.
Referenced by SMWSparqlStoreQueryEngine::addMissingOrderByConditions(), and SMWSparqlStoreQueryEngine::getSparqlConditionString().
| SMWSparqlCondition::$orderByVariable = '' |
Definition at line 29 of file SMW_SparqlStoreQueryEngine.php.
| SMWSparqlCondition::$orderVariables = array() |
Definition at line 37 of file SMW_SparqlStoreQueryEngine.php.
| SMWSparqlCondition::$weakConditions = array() |
Definition at line 49 of file SMW_SparqlStoreQueryEngine.php.
| SMWSparqlCondition::$namespaces = array() |
Definition at line 56 of file SMW_SparqlStoreQueryEngine.php.
Referenced by SMWSparqlFilterCondition::__construct(), SMWSparqlSingletonCondition::__construct(), and SMWSparqlWhereCondition::__construct().
1.5.6