In-memory executor for development and testing with optimized in-memory vector processing
InMemoryExecutor
provides an in-memory implementation for executing queries against indexed data. It creates optimized vector spaces based on the provided indices and allows querying data from in-memory sources, making it ideal for development, testing, and prototyping scenarios.
InMemoryExecutor
extends the executor hierarchy for in-memory processing:
Inheritance Chain:
InMemoryExecutor
InteractiveExecutor
Executor
ABC
Generic
Executor
InteractiveExecutor
ABC
InMemoryApp
that can accept queries and provide immediate results from in-memory data.
The run method:
context_data
parameter allows fine-tuning of execution behavior: