Coverage report: /development/source/library/org/datagraph/spocq-shard/src/algebra/matrix-operators/null.lisp
| Kind | Covered | All | % |
| expression | 0 | 34 | 0.0 |
| branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; -*- Mode: lisp; Syntax: ansi-common-lisp; Base: 10; Package: org.datagraph.spocq.implementation; -*-
3
(in-package :org.datagraph.spocq.implementation)
5
(:documentation "This file defines the NULL operator for the 'org.datagraph.spocq' RDF SPARQL engine."
8
"Copyright 2012 [james anderson](mailto:james.anderson@setf.de) All Rights Reserved."))
11
(defun matrix-null (result-field &optional (dimensions ()))
12
(incf-stat *algebra-operations*)
13
(setf result-field (make-null-matrix-field :dimensions dimensions))
14
(trace-algebra matrix-null result-field dimensions)
15
(values result-field 0 0))
18
(defun matrix-singleton (result-field &optional (dimensions ()))
19
(incf-stat *algebra-operations*)
20
(setf result-field (initialize-result-field result-field :dimensions dimensions :row-count 1))
21
(trace-algebra matrix-null result-field dimensions)
22
(rdfcache:matrix-fill (solution-field-solutions result-field) +null-term-id+)
23
(complete-field-data result-field)
24
(values result-field 0 1))