author | Sebastian Harl <sh@tokkee.org> | |
Wed, 5 Aug 2015 08:38:48 +0000 (10:38 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 5 Aug 2015 08:42:04 +0000 (10:42 +0200) | ||
commit | 182112ccd9852672b39ff958ab0c605c9ef856ad | |
tree | 635e291d6c9c0a36fc80a99501ac4ccec2072103 | tree | snapshot |
parent | f6a1eddf2425029e533969dbc716d9da99e05972 | commit | diff |
core: Add support for reader/query plugins.
A reader plugin can be used to query a data-store based on a query described
by an AST. The plugin module provides a generic function for this purpose.
At the moment, only a single reader plugin can be used at a time. Supporting
multiple readers requires a good merge strategy. The challenge is to handle
filters and query conditions correctly which may evaluate differently after
two stores have been merged.
A reader plugin can be used to query a data-store based on a query described
by an AST. The plugin module provides a generic function for this purpose.
At the moment, only a single reader plugin can be used at a time. Supporting
multiple readers requires a good merge strategy. The challenge is to handle
filters and query conditions correctly which may evaluate differently after
two stores have been merged.
src/core/plugin.c | diff | blob | history | |
src/core/store.c | diff | blob | history | |
src/include/core/plugin.h | diff | blob | history | |
src/include/core/store.h | diff | blob | history |