14. The computer-implemented method of claim 7 , wherein the query is input to a system, and wherein the determining the specialized compilation plan based, at least, on one or more parameter sensitive predicates of the query is based, at least, on inferring a state of the system.
7. A computer-implemented method comprising: executing on a processor, instructions that, when executed, cause the processor to perform: determining a specialized compilation plan based, at least, on one or more parameter sensitive predicates of a query; matching one or more query values, wherein the matching is performed via one or more dispatch expressions; evaluating a validity of pairing the specialized compilation plan with the query; outputting a Boolean value indicative of a determination that the specialized compilation plan paired with a guard expression is proper for execution of the query; outputting a key identifying the guard expression based, at least, on receiving an output Boolean value indicative of a determination that the specialized compilation plan paired with a guard expression is proper for execution of the query; and executing the query based, at least, on the specialized compilation plan.