API Reference kura_ets v#0.0.1
View SourceModules
ETS backend aggregator. One config knob for users
"Dialect" for the ETS backend. There is no SQL to emit: each callback
wraps the portable #kura_query{} AST (or the operation data) into an
opaque {kura_ets, Plan} term that kura_ets_driver hands to
kura_ets_query for interpretation against ETS tables.
ETS driver impl. Receives the {kura_ets, Plan} terms emitted by
kura_ets_dialect in place of SQL and executes them via
kura_ets_query.
ETS pool implementation. There are no connections to pool: the "pool" is a table registry, one gen_server per pool that owns all the ETS data tables so they survive the (arbitrary, short-lived) processes that read and write through the repo API.
Plan interpreter for the ETS backend. Executes the {kura_ets, Plan}
terms emitted by kura_ets_dialect against the pool's ETS tables and
returns pgo-shaped results (#{command, rows, num_rows}).