Define a Db2 LUW Index Extension
Use the Db2 for LUW Index Extension Editor to define an extension object for use with indexes on tables that have structured type or distinct type columns.
To define a Db2 LUW index extension
- Right-click an Index Extension in the Model Explorer and select Properties.
The Db2 for LUW Index Extension Editor opens.
- Select an index extension and work with the following options:
Click New
on the toolbar to create a index extension. Use the Enter filter text text box to filter a large list of indexes to locate the one you want to work with.
- Name
Specifies the name of the index extension.
- Schema
Specifies the default schema for the index extension.
- Generate
Specifies whether or not to generate DDL for this object during Forward Engineering.
- Click the Parameter tab and work with the following options:
- Parameter
Specifies the parameter that is passed to the index extension at the time of creating the index to define the behavior of this index extension.
- Physical Data Type
Specifies the data type for the parameter.
- Work with the following fields on the General tab:
- Source Key
Indicates a structured data type or distinct type for the source key column supported by the index extension.
- Generate Key Function Definition
Specifies how the index key is generated using a user-defined table function.
- Target Key
Specifies the target key parameters that are the output of the key generation function.
- Click the Search Method Definitions tab and work with the following options:
- Search Method Definitions
Specifies the method details of the index search. This definition should include a method name, the search arguments, a range producing function, and an optional index filter function.
- (Optional) Click the Commenttab and enter any comments that you want to associate with the object.
- (Optional) Click the Where Used tab to view where the object is used within the model.
- (Optional) Click the UDPtab to work with user-defined properties for the object.
- (Optional) Click the Notestab to view and edit user notes.
- (Optional) Click the Extended Notes tab to view or edit user notes.
- Click Close.
The index extension is saved and the Db2 for LUW Index Extension Editor closes.
Copyright © 2025 Quest Software, Inc. |