Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

analytics-engine

Central hub plugin. Implements ExtensiblePlugin to discover and wire all analytics extensions at startup.

What it does

  1. During loadExtensions, discovers all QueryPlanExecutorPlugin, AnalyticsBackEndPlugin, and AnalyticsFrontEndPlugin implementations from extending plugins.
  2. Creates the SchemaProvider (via OpenSearchSchemaBuilder, which converts OpenSearch ClusterState index mappings into a Calcite SchemaPlus).
  3. Calls QueryPlanExecutorPlugin.createExecutor(backEnds) to build the QueryPlanExecutor.
  4. Binds QueryPlanExecutor and SchemaProvider into Guice via lazy providers, so front-end transport actions can @Inject them.

How it fits in

This is the stable plugin name that all extending plugins declare in extendedPlugins. It owns no query language logic and no execution logic — it just discovers, wires, and exposes the components that other plugins provide.

Key classes

  • AnalyticsPlugin — The ExtensiblePlugin hub. Handles discovery, wiring, and Guice binding.
  • OpenSearchSchemaBuilder — Converts ClusterState index mappings into Calcite tables with typed columns.