Sorts database types as the Sparql specs want it.
Located in /sparql/SparqlEngineDb/TypeSorter.php (line 9)
SQL types to cast XSD schema types to, so that they will get sorted correctly.
Defines the sort order for value types in the database, so that they get sorted correctly as the specs want it.
Compares two XSD data types and returns the comparison number.
Returns the SQL statement needed to case the given variable to the given type.
Returns the type number for an xsd data type.
Compares two type sets. Works like a normal comparision method that returns -1/0/1 for use in usort()
Returns an array of sql statements that need to be executed and deliver the full result set when combined.
Execute setData() before this.
Returns an array of variables that the result is going to be ordered by and that need to be sorted multiple times (because they may contain different data types)
Returns the ORDER BY sql query string if neccessary for the query. The returned string already has ORDER BY prefixed.
Returns the correct sql string comparison method.
Determines the type sets in the query results.
A type set is a distinct set of variables and their types, e.g. the variable and its type (r/b/l) and its datatype if its an object.
Creates and returns the SQL WHERE clauses needed to get only data in the given typeset.
Checks if a given variable name is a variable that needs special care when used in ORDER BY statements.
Takes an array of type sets (as returned by getTypeSets()) and sorts the variables according to the SPARQL specs.
Needs to be executed before getOrderifiedSqls and willBeDataDependent
Returns wether the returned queries will depend on the data or not.
If the queries depend on the data, they cannot be prepare()d and thus won't be that fast when executing.
Execute setData() before this.
Documentation generated on Fri, 1 Jun 2007 16:52:36 +0200 by phpDocumentor 1.3.2