Edit the dialog as Click the Validate button to ensure that your changes are syntactically correct. Click Save.

6-30 Oracle Complex Event Processing Visualizer Users Guide

3. Click the Validate button to ensure that your changes are syntactically correct.

Correct any errors before proceeding.

4. Click Save.

The Source icon displays a green check mark to indicate that it is configured.

6.1.9.3 Configuring a Cache-Table CQL Construct

The Cache-Table CQL construct represents an external relation, usually a pull data source, that a cache or relational database table provides. The only operation that is allowed on the Cache-Table CQL construct is a join with another stream source using the Now window. For more information, see: ■ Configuring Access to a Relational Database in the Oracle Complex Event Processing Administrators Guide ■ Configuring an Oracle CQL Processor Table Source in the Oracle Complex Event Processing Developers Guide for Eclipse ■ Configuring Caching in the Oracle Complex Event Processing Developers Guide for Eclipse ■ Configuring an Oracle CQL Processor Cache Source in the Oracle Complex Event Processing Developers Guide for Eclipse ■ Oracle Continuous Query Language CQL Example in the Oracle Complex Event Processing Getting Started ■ Section 6.1.9.6, Configuring a Join CQL Construct Using + Syntax ■ Section 6.1.9.8, Configuring a Window CQL Construct To configure a Cache-Table CQL construct: 1. Double click the Cache-Table icon as Figure 6–40 shows. Figure 6–40 Cache-Table Icon The Cache-Table editor dialog appears as Figure 6–41 shows. Table 6–2 Query Wizard Source Editor Attributes Attribute Description Type Select the type of source: ■ Stream : select this option to process events offered by a stream provided by your Oracle CEP application. ■ View : select this option to process events offered by a view currently running on this Oracle CQL processor. Select a source Select the stream or view to use as the source of events. As Optionally specify an alias for this source. Source Properties Read-only list of the properties of the event offered by this source. Generated CQL Statement Read-only Oracle CQL fragment associated with this CQL Construct. Managing Oracle CQL Rules 6-31 Figure 6–41 Query Wizard Cache-Table Editor Dialog

2. Edit the dialog as

Table 6–3 describes.

3. Click Save.

The Cache-Table icon displays a green check mark to indicate that it is configured.

6.1.9.4 Configuring a Pattern CQL Construct

The Pattern Oracle CQL construct represents the Oracle CQL MATCH_RECOGNIZE condition. The MATCH_RECOGNIZE condition is the principle means of performing complex event processing. Using its various clauses, you can succinctly express complex conditions among stream elements to perform advanced comparisons optimized for data streams. The Pattern Oracle CQL construct editor provides a tab for each of the following MATCH_RECOGNIZE sub-clauses: Table 6–3 Query Wizard Cache-Table Editor Attributes Attribute Description Select a source Select the cache to use as the source of events. As Optionally specify an alias for this source. Source Properties Read-only list of the properties of the event offered by this source. Generated CQL Statement Read-only Oracle CQL fragment associated with this CQL Construct.