5.3. Building the Application Catalog

Documentation

VoltDB Home » Documentation » Using VoltDB

5.3. Building the Application Catalog

You build the application catalog for your VoltDB database by compiling the database schema and stored procedures into the catalog. To run the compiler, use the voltdb compile command, specifying three arguments:

  1. The path to your compiled stored procedure classes

  2. The name of the schema file to use as input

  3. The name of the application catalog to create as output

For example, if your stored procedure classes are in a subfolder called obj, the command might be:

$ voltdb compile --classpath="obj" -o flight.jar flightschema.sql

If you do not specify an output file, the catalog is created as catalog.jar in the current working directory.

>