In the right-hand pane, expand WLEventServerDomain NonClusteredServer Select the cql node. Select the Event Processing Network tab. Double-click the stockProcessor Oracle CQL processor icon. Select the Query Wizard tab. Double-click the SSource icon. Con

3-62 Oracle Complex Event Processing Getting Started Figure 3–49 Oracle CEP Visualizer Dashboard For more information about the Oracle CEP Visualizer user interface, see Understanding the Oracle CEP Visualizer User Interface in the Oracle Complex Event Processing Visualizer Users Guide.

4. In the right-hand pane, expand WLEventServerDomain NonClusteredServer

Applications .

5. Select the cql node.

The CQL application screen appears as Figure 3–30 shows. Oracle CEP Samples 3-63 Figure 3–50 CQL Application Screen: General Tab

6. Select the Event Processing Network tab.

The Event Processing Network screen appears as Figure 3–31 shows. 3-64 Oracle Complex Event Processing Getting Started Figure 3–51 CQL Application: Event Processing Network Tab

7. Double-click the stockProcessor Oracle CQL processor icon.

The Oracle CQL processor screen appears as Figure 3–32 shows. Oracle CEP Samples 3-65 Figure 3–52 Oracle CQL Processor: General Tab

8. Select the Query Wizard tab.

The Query Wizard screen appears as Figure 3–33 shows. 3-66 Oracle Complex Event Processing Getting Started Figure 3–53 Oracle CQL Processor: Query Wizard Tab You can use the Oracle CQL Query Wizard to construct an Oracle CQL query from a template or from individual Oracle CQL constructs. In this procedure, you are going to create an Oracle CQL view and query from individual Oracle CQL constructs. For more information, see Creating a Rule in an Oracle CQL Processor Using the Query Wizard in the Oracle Complex Event Processing Visualizer Users Guide. 9. Click and drag an SSource icon Stream Source from the CQL Constructs palette and drop it anywhere in the Query Wizard canvas as Figure 3–54 shows. Oracle CEP Samples 3-67 Figure 3–54 Query Wizard: SSource for Moving Average Query

10. Double-click the SSource icon.

The SSource configuration screen appears as Figure 3–55 shows. 3-68 Oracle Complex Event Processing Getting Started Figure 3–55 SSource Configuration Dialog: Moving Average Query

11. Configure the SSource dialog as follows:

■ Select View as the Type. ■ Select the StockVolGt1000 view from the Select a source pull-down menu. 12. Click Save. 13. Click Save Query. 14. Click and drag a Window icon from the CQL Constructs palette and drop it anywhere in the Query Wizard canvas as Figure 3–56 shows. Oracle CEP Samples 3-69 Figure 3–56 Query Wizard: Window for Moving Average Query

15. Click on the SSource icon and drag to the Window icon to connect the Oracle CQL