Edit the Measure tab as

Managing Oracle CQL Rules 6-39 Figure 6–47 Select Icon The Select editor dialog appears as Figure 6–48 shows. Figure 6–48 Query Wizard Select Editor Dialog: Project Tab 2. Edit the Project tab as Table 6–9 describes. The general procedure is:

1. Select a Source.

2. Select a Target event type.

3. Double click a property in the Properties list to add the property to the Project

expression field.

4. Click the Expression Builder button and create a Project expression.

5. In the AS field, enter an alias for the project expression result or select one of

the Target event type attributes. 6. Click the Add button. To remove a project expression, select it in the Project predicates list and click Delete .

7. Optionally, check Distinct.

6-40 Oracle Complex Event Processing Visualizer Users Guide For more information, see select_clause in the Oracle Complex Event Processing CQL Language Reference.

3. Click the Group tab.

The Group tab editor dialog appears as Figure 6–48 shows. Table 6–9 Query Wizard Select Editor Attributes: Project Tab Attribute Description Distinct Check this option if you want Oracle CEP to return only one copy of each set of duplicate tuples selected. Uncheck this option if you want Oracle CEP to return all tuples selected, including duplicates. Duplicate tuples are those with matching values for each expression in the select list. Oracle CEP does not support nested aggregations. Target event type Select or input the name of the event expected by the down-stream channel you connected to this Oracle CQL processor. For more information, see Event Types in the Oracle Complex Event Processing Developers Guide for Eclipse Source Select the name of the stream, relation, or view Source CQL Construct that you connected to this Project CQL construct. For more information, see Section 6.1.9.1, Configuring an RSource CQL Construct . Properties Read-only list of the properties of the event offered by this source. For more information, see Section 6.1.9.1, Configuring an RSource CQL Construct . Project Predicates A list of the project expressions you define. To add a project expression to the Project Predicates list, click the Add button. To remove a project expression from the Project Predicates list, select the project expression in the Project Predicates list and click the Delete button. Project Expressions Define an expression by clicking the Expression Builder button. For example: LENGTH FxQuoteStream.symbol 100 For more information, see Section 6.1.9.17, Configuring an Expression Using the Expression Builder . AS Enter an alias for the project expression result or select one of the Target event type attributes. Generated CQL Statement Read-only Oracle CQL fragment associated with this CQL Construct.