Caylir.Graph behaviour
Base module to define graph connections.
All graph connections will be made using a user-defined extension of this module.
Example Module
defmodule MyGraph do
use Caylir.Graph, otp_app: :my_application
end
Example Configuration
config :my_application, MyGraph,
host: "localhost",
pool: [ max_overflow: 10, size: 5 ],
port: 64210
Types ↑
Callbacks
Specs:
- __pool__ :: module
Returns the (internal) pool module.
Specs:
- child_spec :: Supervisor.Spec.spec
Returns a supervisable pool child_spec.
Specs:
- config :: Keyword.t
Returns the connection configuration.
Specs:
Deletes a quad from the graph.
Specs:
Queries the graph.
Specs:
Gets the shape of a query.
Specs:
Writes a quad to the graph.