Module: SPARQL::Client::Update
- Defined in:
- vendor/bundler/ruby/3.3.0/bundler/gems/sparql-client-464d3f76cfd5/lib/sparql/client/update.rb
Overview
SPARQL 1.1 Update operation builders.
Defined Under Namespace
Classes: Add, Clear, Copy, Create, DeleteData, DeleteInsert, Drop, InsertData, Load, Move, Operation
Class Method Summary collapse
-
.clear(*arguments, **options) ⇒ Object
Clear the graph.
-
.create(*arguments, **options) ⇒ Object
Create a graph.
-
.delete_data(*arguments, **options) ⇒ Object
Delete statements from the graph.
-
.drop(*arguments, **options) ⇒ Object
Drop a graph.
-
.insert_data(*arguments, **options) ⇒ Object
Insert statements into the graph.
-
.load(*arguments, **options) ⇒ Object
Load statements into the graph.
Class Method Details
.clear(*arguments, **options) ⇒ Object
Clear the graph
84 85 86 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sparql-client-464d3f76cfd5/lib/sparql/client/update.rb', line 84 def self.clear(*arguments, **) Clear.new(*arguments, **) end |
.create(*arguments, **options) ⇒ Object
Create a graph
99 100 101 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sparql-client-464d3f76cfd5/lib/sparql/client/update.rb', line 99 def self.create(*arguments, **) Create.new(*arguments, **) end |
.delete_data(*arguments, **options) ⇒ Object
Delete statements from the graph
37 38 39 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sparql-client-464d3f76cfd5/lib/sparql/client/update.rb', line 37 def self.delete_data(*arguments, **) DeleteData.new(*arguments, **) end |
.drop(*arguments, **options) ⇒ Object
Drop a graph
127 128 129 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sparql-client-464d3f76cfd5/lib/sparql/client/update.rb', line 127 def self.drop(*arguments, **) Drop.new(*arguments, **) end |
.insert_data(*arguments, **options) ⇒ Object
Insert statements into the graph
19 20 21 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sparql-client-464d3f76cfd5/lib/sparql/client/update.rb', line 19 def self.insert_data(*arguments, **) InsertData.new(*arguments, **) end |