Official CefasDB website
Plugins Authoring - CefasDB Docs
Define a CefasDB plugin with registry metadata, lifecycle hooks, planner integration, and a manifest.
Documentation excerpt
A CefasDB plugin is a Go type that implements one of the plugin contracts and registers itself during package initialization.
Index plugins receive an opaque JSON config. Decode it into a typed config and validate it before building state.
Every index plugin should reject missing required fields with a clear error. Defaults should be explicit and tested.
Index plugins usually maintain state per (table, indexName) descriptor. Use a stable key such as table + "/" + name and guard state with a mutex or another concurrency primitive.