Caylir.Graph behaviour
Base module to define graph connections.
Example
defmodule SomeGraph do
use Caylir.Graph
def conf() do
[ host: "localhost", port: 64210 ]
end
end
Types ↑
Callbacks
Specs:
- child_spec :: Supervisor.Spec.spec
Returns the child specification to start and supervise the graph connection.
Specs:
- conf :: Keyword.t
Should return the configuration options used to communicate with the graph.
Needed parameters:
- host
- port
Specs:
Deletes a quad from the graph.
Specs:
Queries the graph.
Specs:
Writes a quad to the graph.