Lines Matching defs:a

32      * @return a string with replaced tokens
82 * @param a string the expression to process
83 * @return a SQL expression
85 function _ci($a) {
86 return $this->_db->ci($a);
90 * Constructs a case insensitive string comparison in SQL.
92 * @param a string the left-hand side
95 * @return a case insensitive SQL string comparison
97 function _cic($a, $b) {
98 return $this->_ci($a).' = '.$this->_ci($b);
102 * Begins a preview.
109 * Ends a preview.
198 * Adds a single triple.
221 // put the batch in a transaction
224 // insert a single triple
243 * Executes the given abstract query tree as a query on the store.
281 * This method assumes that the root is a 'select' node.
287 // We transform the given query into a resource-centric query as follows:
292 // The query is ready for execution. Result set can be transformed into a
293 // resource-centric view by fetching all triples related to a single subject
294 // (each subject is in a single continuous block, due to the ordering)
373 function _ci($a) {
374 return $this->_triples->_ci($a);
381 function _alias($prefix='a') {
424 * Generates a conditional for the given triple pattern.
429 // the subject is a literal
436 // the predicate is a literal
443 // the object is a literal
473 * Generates a projection for the given triple pattern.
495 * Translates a triple pattern into a graph pattern.
501 // the subject is a variable
506 // the predicate is a variable
511 // the object is a variable
524 * Translates a group operation on the two graph patterns.
536 // handle overlapping terms by coalescing them into a single term
575 * Translate a filter operation. The filters are a conjunction of separate expressions.
732 // if we get a don't group, put sentinel value in place
808 $a = $this->_alias('o');
809 $fields[] = "$term AS $a";
810 $ordering[] = "$a ".($o['direction'] == 'asc'?'ASC':'DESC');
862 * This iterator is used to offer an interface over a
909 // this is a good safety net)
935 * This iterator is used to offer an interface over a
973 // construct a new subject
1050 private function keyCheck($a, $b) {
1051 return $a === $b;
1063 // construct a new subject
1072 // it is a key field, grab it directly from the key