Click Save. Click on the pull-down menu next to the AS field and select movingAvgPrice. Click the plus Sign button. Click Validate. Select the Group tab. Configure the Group tab as follows: Click Save. Click Save Query. Click and drag an Output icon from
34. Click Save.
The expression is added to the Project Expression field as Figure 3–66 shows. Oracle CEP Samples 3-79 Figure 3–66 Select Configuration Dialog: With Expression35. Click on the pull-down menu next to the AS field and select movingAvgPrice.
36. Click the plus Sign button.
The source property is added to the project expression of the Generated CQL Statement as Figure 3–67 shows. 3-80 Oracle Complex Event Processing Getting Started Figure 3–67 Select Configuration Dialog: Source Property price Mapped to Output Event Property37. Click Validate.
A validation error dialog is shown as Figure 3–68 shows. Figure 3–68 Validation Error: GROUP BY Because we are partitioning, we must specify a GROUP BY clause.38. Select the Group tab.
The Group tab appears as Figure 3–69 shows. Oracle CEP Samples 3-81 Figure 3–69 Group Tab39. Configure the Group tab as follows:
■ Select StockVolGt1000 from the Select a source pull-down menu. ■ Select symbol from the Properties list. ■ Click the Plus Sign button. The symbol property is added to GROUP BY clause as Figure 3–70 shows. 3-82 Oracle Complex Event Processing Getting Started Figure 3–70 Group Tab: With symbol Grouping Property40. Click Save.
41. Click Save Query.
Next, we want to connect the query to an output.42. Click and drag an Output icon from the CQL Constructs palette and drop it
anywhere in the Query Wizard canvas as Figure 3–71 shows. Oracle CEP Samples 3-83 Figure 3–71 Query Wizard: Output43. Click on the Select icon and drag to the Output icon to connect the Oracle CQL
constructs.44. Double-click the Output icon.
The Output configuration screen appears as Figure 3–72 shows. 3-84 Oracle Complex Event Processing Getting Started Figure 3–72 Output Configuration Dialog45. Configure the Output as follows:
Parts
» Oracle Fusion Middleware Online Documentation Library
» Introduction to Oracle Complex Event Processing Conceptual Overview of Oracle CEP
» Event Processing Networks Use Cases
» Summary of Oracle CEP Features
» Supported Platforms Oracle CEP IDE for Eclipse Oracle CEP Visualizer
» Oracle CEP-Specific Middleware Home Existing Oracle Fusion Middleware Home
» Next Steps Installing Oracle CEP in Graphical Mode
» To install into a new Oracle Middleware Home directory:
» Installing Oracle CEP in Console Mode
» Creating a silent.xml File for Silent-Mode Installation
» Guidelines for Component Selection Returning Exit Codes to the Command Window
» Upgrading a WebLogic Event Server 2.0 Domain to Oracle CEP 10.3
» Upgrading an Oracle CEP 10.3 Domain to Oracle CEP 11g Release 1 11.1.1.4.0
» Upgrading a WebLogic Event Server 2.0 Application to Run on Oracle CEP 10.3
» Upgrading an Oracle CEP 10.3 Application to Run on Oracle CEP 11g Release 1 11.1.1.4.0
» Ready-to-Run Samples Sample Source
» How to Set Your Development Environment on Windows
» Description of the Ant Targets to Build Hello World Implementation of the HelloWorld Example
» The HelloWorld EPN Assembly File
» The HelloWorld Component Configuration File
» Building and Deploying the CQL Example Description of the Ant Targets to Build the CQL Example
» Running the Oracle Spatial Example
» Implementation of the Oracle Spatial Example
» Oracle Spatial Example EPN Assembly File
» Oracle Spatial Example Component Configuration File
» Running the Foreign Exchange Example
» Implementation of the FX Example The FX EPN Assembly File
» FX Processor Component Configuration File: spreader.xml
» Implementation of the Signal Generation Example
» The Signal Generation EPN Assembly File
» The Signal Generation Component Configuration Files
» Running the Event RecordPlayback Example
Show more