Caylir v0.3.0 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
Summary
Callbacks
Returns the (internal) pool module
Returns a supervisable pool child_spec
Returns the connection configuration
Deletes a quad from the graph
Queries the graph
Gets the shape of a query
Writes a quad to the graph
Types
Callbacks
Returns a supervisable pool child_spec.
Returns the connection configuration.