Oracle CEP IDE for Eclipse

Introduction to Oracle CQL 1-23 Figure 1–6 Oracle CEP IDE for Eclipse The Oracle CEP IDE for Eclipse is a set of plugins for the Eclipse IDE designed to help develop, deploy, and debug Oracle CEP applications. The key features of Oracle CEP IDE for Eclipse are: ■ Project creation wizards and templates to quickly get started building event driven applications. ■ Advanced editors for source files including Java and XML files common to Oracle CEP applications. ■ Integrated server management to seamlessly start, stop, and deploy to Oracle CEP server instances all from within the IDE. ■ Integrated debugging. ■ Event Processing Network EPN visual design views for orienting and navigating in event processing applications. ■ Integrated support for the Oracle CEP Visualizer so you can use the Oracle CEP Visualizer from within the IDE see Section 1.4.2.2, Oracle CEP Visualizer . For details, see: ■ Oracle Complex Event Processing Developers Guide for Eclipse ■ http:www.oracle.comtechnologyproductsevent-driven-architec turecep-ide11index.html 1-24 Oracle Complex Event Processing CQL Language Reference

1.4.2.2 Oracle CEP Visualizer

Oracle provides an advanced run-time administration console called the Oracle CEP Visualizer as Figure 1–7 shows. Figure 1–7 Oracle CEP Visualizer Using Oracle CEP Visualizer, you can manage, tune, and monitor Oracle CEP server domains and the Oracle CEP applications you deploy to them all from a browser. Oracle CEP Visualizer provides a variety of sophisticated run-time administration tools, including support for Oracle CQL and EPL rule maintenance and creation. For details, see Oracle Complex Event Processing Visualizer Users Guide 2 Basic Elements of Oracle CQL 2-1 2 Basic Elements of Oracle CQL This chapter contains reference information on the simplest building blocks of Oracle CQL statements.

2.1 Introduction to Basic Elements of Oracle CQL

The basic elements of Oracle CQL include: ■ Section 2.2, Datatypes ■ Section 2.3, Datatype Comparison Rules ■ Section 2.4, Literals ■ Section 2.5, Format Models ■ Section 2.6, Nulls ■ Section 2.7, Comments ■ Section 2.8, Aliases ■ Section 2.9, Schema Object Names and Qualifiers Before using the statements described in Part IV, Using Oracle CQL , you should familiarize yourself with the concepts covered in this chapter.

2.2 Datatypes

Each value manipulated by Oracle CEP has a datatype. The datatype of a value associates a fixed set of properties with the value. These properties cause Oracle CEP to treat values of one datatype differently from values of another. For example, you can add values of INTEGER datatype, but not values of CHAR datatype.When you create a stream, you must specify a datatype for each of its elements. When you create a user-defined function, you must specify a datatype for each of its arguments. These datatypes define the domain of values that each element can contain or each argument can have. For example, attributes with TIMESTAMP as datatype cannot accept the value February 29 except for a leap year or the values 2 or SHOE.Oracle CQL provides a number of built-in datatypes that you can use. The syntax of Oracle CQL datatypes appears in the diagrams that follow. If Oracle CQL does not support a datatype that your events use, you can use an Oracle CQL data cartridge or a user-defined function to evaluate that datatype in an Oracle CQL query. For more information, see: ■ Section 2.2.1, Oracle CQL Built-in Datatypes