How to Stop and Start a Parameterized Query How to Delete a Rule in an Oracle CQL Processor

Managing Oracle CQL Rules 6-21

a. Select View to see only view rules.

b. Select Query to see only query views.

The Delete All Views or Delete All Queries button is active as Figure 6–28 shows. Figure 6–28 CQL Rules: Filtered by View

6. Decide what rules you want to delete:

a. To delete a single rule:

– Select the rule you want to delete. – Click Delete View or Delete Query. A confirmation dialog appears as Figure 6–29 shows. Note: You cannot add, delete, or modify a single rule if you select All Rules . You must select a particular view or query to add, delete, or modify a single rule. To make changes to either views or queries, you must select View or Query. The All Rules page is a read-only panel. Also note that you can turn off a query dynamically using the Enable radio buttons. 6-22 Oracle Complex Event Processing Visualizer Users Guide Figure 6–29 Delete Rule Dialog

b. To delete all rules:

– Click Cancel to unselect any rules that may be currently selected. – Click Delete All Views or Delete All Queries. A confirmation dialog appears as Figure 6–30 shows. Figure 6–30 Delete All Rule Dialog

7. Click OK.

6.1.7 How to Replace a Rule in an Oracle CQL Processor

Using Oracle CEP Visualizer, you can replace an existing view or query by either editing the Oracle CQL statement directly or using the Query Wizard. To replace a rule in an Oracle CQL processor: 1. In the left pane, navigate to and expand the Applications node of the Oracle CEP instance to which the application is deployed.

2. Select appname, where appname is the name of the application you want to use.

3. Select the Oracle CQL processor you wish to use:

a. To use the EPN diagram:

– Click the Event Processing Network tab. – Double-click the Oracle CQL processor you wish to use.

b. To use the domain tree:

– Expand the appname Stages node, where appname is the name of the application you want to use. – Click the Oracle CQL processor you wish to use. – In the right pane, click the General tab The Processor panel is displayed as Figure 6–31 shows. Managing Oracle CQL Rules 6-23 Figure 6–31 Oracle CQL Processor Panel

4. Click the CQL Rules tab.

The CQL Rules tab appears as Figure 6–32 shows. Figure 6–32 CQL Rules Tab 5. Filter the list of rules to show only the type of rule you want to replace: