Click the Define tab.

6-36 Oracle Complex Event Processing Visualizer Users Guide

5. Click the Subset tab.

The Subset tab appears as Figure 6–45 shows. Figure 6–45 Query Wizard Pattern Editor Dialog: Subset Tab

6. Edit the Subset tab as

Table 6–7 describes. For more information, see SUBSET Clause in the Oracle Complex Event Processing CQL Language Reference.

7. Click the Measure tab.

Table 6–7 Query Wizard Pattern Editor Attributes: Subset Tab Attribute Description Subset name Enter a name for the subset. AS Enter a list of the object names as you specified in the Pattern Expression attribute of the Pattern tab see Table 6–4 . For example, given the following pattern: A W+ X+ Y+ Z+ You could define subsets such as: S1 AS Z S2 AS A S3 AS A,W,Y Subset List A list of the subsets you specify. To add a subset to the Subset List, click the Add button. To remove a subset from the Subset List, click the Delete button. Generated CQL Statement Read-only Oracle CQL fragment associated with this CQL Construct. Managing Oracle CQL Rules 6-37 The Measure tab appears as Figure 6–46 shows. Figure 6–46 Query Wizard Pattern Editor Dialog: Measure Tab

8. Edit the Measure tab as

Table 6–8 describes. Table 6–8 Query Wizard Pattern Editor Attributes: Measure Tab Attribute Description Object Name Enter an object name as you specified in the Pattern Expression attribute of the Pattern tab see Table 6–4 or Subset name attribute of the Subset tab see Figure 6–45 . For example, if the pattern expression is: A B C Then you could create a measure for any of A, B, and C. If you define subsets: S1 AS Z S2 AS A S3 AS A,W,Y Then you could create a measure for any of S1, S2, and S3. AS Define an expression by clicking the Expression Builder button. For example: sumDecrArm as sumS3.c2 For more information, see Section 6.1.9.17, Configuring an Expression Using the Expression Builder . Measure List A list of the measures you specify. To add a measure to the Properties list, click the Add button. To remove a measure from the Properties list, click the Delete button.