Grax (Grax v0.2.0) View Source

The Grax API.

For now there is no API documentation. Read about the API in the guide here.

Link to this section Summary

Link to this section Functions

Link to this function

build!(mod, id, initial)

View Source
Link to this function

load(mod, id, graph, opts \\ [])

View Source
Link to this function

load!(mod, id, graph, opts \\ [])

View Source
Link to this function

normalize_preload_opt(depth, _)

View Source
Link to this function

preload(mapping, graph, opts \\ [])

View Source
Link to this function

preload!(mapping, graph, opts \\ [])

View Source
Link to this function

put(mapping, property, value)

View Source
Link to this function

put!(mapping, property, value)

View Source
Link to this function

setup_depth_preload_opts(opts)

View Source
Link to this function

to_rdf(mapping, opts \\ [])

View Source

Specs

to_rdf(struct(), opts :: Keyword) :: {:ok, RDF.Graph.t()} | {:error, any()}
Link to this function

valid?(mapping, opts \\ [])

View Source

Specs

valid?(struct(), opts :: Keyword) :: boolean()
Link to this function

validate(mapping, opts \\ [])

View Source

Specs

validate(struct(), opts :: Keyword) ::
  {:ok, struct()} | {:error, Grax.ValidationError.t()}
Link to this function

validate!(mapping, opts \\ [])

View Source

Specs

validate!(struct(), opts :: Keyword) :: struct()