Skip to content

Commit

Permalink
Remove commented out section that should've been removed ages ago
Browse files Browse the repository at this point in the history
  • Loading branch information
RickMoynihan committed Oct 28, 2019
1 parent eccd383 commit 50e6c7f
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions src/grafter_2/rdf/protocols.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -576,32 +576,3 @@

([target graph triples batch-size]
(apply-batched target (fn [repo batch] (delete repo graph batch)) triples batch-size))))


;; TODO TOOD TODO

#_(defn ^:no-doc statements
"Attempts to coerce an arbitrary source of RDF statements into a
sequence of grafter Statements.
If the source is a quad store quads from all the named graphs will
be returned. Any triples in an unnamed graph will be ignored.
Takes optional parameters which may be used depending on the
context e.g. specifiying the format of the source triples.
The `:format` option is supplied by the wrapping function and may be
nil, or act as an indicator about the format of the triples to read.
Implementers can choose whether or not to ignore or require the
format parameter.
The `:buffer-size` option can be used to configure the buffer size
at which statements are parsed from an RDF stream. Its default
value of 32 was found to work well in practice, and also aligns with
chunk size of Clojure's lazy sequences.
The `:base-uri` option can be supplied to automatically re`@base`
URI's on a new prefix when reading."
[this & {:keys [format buffer-size base-uri] :as options}]
(throw (ex-info "Moved function definition. Please use grafter-2.rdf4j/statements instead" {}))
#_(to-statements this options))

0 comments on commit 50e6c7f

Please sign in to comment.