Caylir v0.10.0 Caylir.Graph behaviour View Source
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,
language: :gizmo
Link to this section Summary
Callbacks
Returns a supervisable graph child_spec
Returns the graph configuration
Deletes a quad from the graph
Queries the graph
Queries the graph with specific query options
Gets the shape of a query
Writes a quad to the graph
Link to this section Types
Link to this section Callbacks
Link to this callback
child_spec(_ignored)
View Source
child_spec(_ignored :: term()) :: Supervisor.Spec.spec()
Returns a supervisable graph child_spec.
Returns the graph configuration.
Deletes a quad from the graph.
Queries the graph.
Queries the graph with specific query options.
Gets the shape of a query.
Writes a quad to the graph.