1. A system comprising: a memory; and a processor coupled to the memory, the processor configured to: compile a query using information provided by a data cartridge to generate executable code, the executable code comprising an index instance generated using the information provided by the data cartridge, the index instance being generated for evaluation of a first function occurring in the query; and execute the executable code, wherein the execution causes execution of a function provided by the data cartridge related to the index instance.