Ferricstore.Commands.Flow (ferricstore v0.7.0)

Copy Markdown View Source

Command dispatch boundary for FerricFlow commands.

The native AST parser builds Flow tuples and this module forwards them to the public FerricStore.flow_* APIs, normalizing replies into protocol-friendly values. It intentionally stays thin so command parsing, API validation, and Raft apply logic remain separate.

Performance boundary

Flow write commands can be batched by the connection pipeline before reaching here. Keep this dispatcher mechanical: no behaviours/protocols, no per-command dynamic lookup tables in hot writes, and no response hydration beyond API contracts.

Summary

Functions

handle_ast(arg1, store)

@spec handle_ast(term(), map()) :: term()