12.4. Declaring the Compound Procedure

Documentation

VoltDB Home » Documentation » Guide to Performance and Customization

12.4. Declaring the Compound Procedure

Once the compound procedure class is loaded, you can declare the procedure. You declare a compound procedure using the CREATE COMPOUND PROCEDURE FROM CLASS statement. For example:

CREATE COMPOUND PROCEDURE FROM CLASS devices.ProcessMessage;

The procedure takes its name from the unqualified class name (in this case, ProcessMessage) and is case sensitive. Because compound procedures can call both multi-partitioned and partitioned procedures, you cannot partition the procedure.