An operator class defines how a particular data type can be used with an index. The operator class specifies that certain operators will fill particular roles or "strategies" for this data type and this index method. The operator class also specifies the support procedures to be used by the index method when the operator class is selected for an index column. All the operators and functions used by an operator class must be defined before the operator class is created.
Note: Two operator classes in the same schema can have the same name only if they are for different index methods.
Just simply click -> Operator Class to open
an object pane for Operator Class. A right-click displays
the popup menu or using the object pane toolbar below, allowing you to create
new, edit and delete the selected operator class.
Create Operator Class
To create a new operator class
- Select anywhere on the object pane.
- Click the
New Operator Class from the object pane toolbar.
or - Right-click and select
New Operator Class from the popup menu.
- Edit operator class properties on the appropriate tabs of the Operator Class Designer.
To create a new operator class with modification as one of the existing operator class
- Select the operator class for modifying in the object pane.
- Right-click and select the
Design Operator Class from the popup menu or simply double-click the operator class.
or - Click the
Design Operator Class from the object pane toolbar.
- Modify operator class properties on the appropriate tabs of the Operator Class Designer.
- Click
Save As.
To edit the existing operator class(manage its general, operators etc)
- Select the operator class for editing in the object pane.
- Right-click and select the
Design Operator Class from the popup menu or simply double-click the operator class.
or - Click the
Design Operator Class from the object pane toolbar.
- Edit operator class properties on the appropriate tabs of the Operator Class Designer.
To change the name of the operator class
- Select the operator class for editing in the object pane.
- Right-click and select the Rename from the popup menu.
Delete Operator Class
To delete an operator class
- Select the operator class for deleting in the object pane.
- Right-click and select the
Delete Operator Class from the popup menu.
or - Click the
Delete Operator Class from the object pane toolbar.
- Confirm deleting in the dialog window.
Achieve Operator Class Information
To achieve an operator class information (Schema, Name and DDL, etc)
- Select the operator class in the object pane.
- Right-click the selected operator class and choose Operator Class Information from the popup menu to view the Object Information.
or - Choose View -> Object Information in the main menu.