Home | Previous Page | Next Page   Developing an Access Method >

In This Chapter

This chapter describes the steps that you take to implement a user-defined access method with the Virtual-Index Interface (VII).

To provide an access method
  1. Choose the optional features that the access method supports.
  2. Program and compile the C header files and purpose functions as well as the modules that the purpose functions call.
  3. Execute the CREATE FUNCTION statement to register each purpose function in the sysprocedures system catalog table.
  4. Execute the CREATE SECONDARY ACCESS_METHOD statement to register the user-defined access method in the sysams system catalog table.
  5. If necessary, create support and strategy functions for an operator class and then execute the CREATE FUNCTION to register the functions in the sysprocedures system catalog table.
  6. Execute the CREATE OPERATOR CLASS statement to register the operator class in the sysopclasses system catalog table.
  7. Test the access method in an end-user environment.

The rest of this chapter describes the preceding steps in more detail.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]