Implements interfaces:
A wrapper around the librdf_query_results datatype.
This is the generic query results wrapper. There are three possible types of query results--boolean (those returned by SPARQL "ASK"), bindings (returned by "SELECT" in SPARQL and RDQL) and graph (such as those returned by SPARQL "CONSTRUCT" and "DESCRIBE")--each with a specialized class, but each is an iterable object. This creates an odd case for booleans, which are an iterator containing one element. As a special concession for this single-result case, LibRDF_BooleanQueryResults objects also have a method to simply retrieve the boolean value without iteration.
Located in /QueryResults.php (line 59)
| Class | Description |
|---|---|
| LibRDF_BooleanQueryResults | A specialized librdf_query_results wrapper for boolean results. |
| LibRDF_GraphQueryResults | A specialized librdf_query_results wrapper for graph results. |
| LibRDF_BindingsQueryResults | A specialized librdf_query_results wrapper for bindings results. |
Make a specialized query results object.
This function is intended for use by LibRDF_Query, allowing the creating of a specific query results object from a librdf_query_results resource.
Free the query result resources.
Serialize the results to a string.
Clone the query.
Clonining a query is not supported, so this function disables the use of the clone keyword by setting the underlying resource to NULL and throwing an exception.
Return the query results as a string.
The language of the results depends on the query type.
Documentation generated on Thu, 15 Jun 2006 19:25:13 -0400 by phpDocumentor 1.3.0