SMWSparqlTrueCondition Class Reference
[SMWStore]

Represents a condition that matches everything. More...

Inherits SMWSparqlCondition.

List of all members.

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.


Detailed Description

Represents a condition that matches everything.

Weak conditions (see SMWSparqlCondition::$weakConditions) might be still be included to enable ordering (selecting sufficient data to order by).

Definition at line 107 of file SMW_SparqlStoreQueryEngine.php.


Member Function Documentation

SMWSparqlTrueCondition::getCondition (  ) 

Get the SPARQL condition string that this object represents.

This does not inlcude the weak conditions, or additional formulations to match singletons (see SMWSparqlSingletonCondition).

Returns:
string

Reimplemented from SMWSparqlCondition.

Definition at line 109 of file SMW_SparqlStoreQueryEngine.php.

SMWSparqlTrueCondition::isSafe (  ) 

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.

Returns:
boolean

Reimplemented from SMWSparqlCondition.

Definition at line 113 of file SMW_SparqlStoreQueryEngine.php.


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

Generated on Sun Mar 18 07:15:44 2012 for Semantic MediaWiki by  doxygen 1.5.6