Function Table Event Sources

Introduction to Oracle CQL 1-17 ■ single-row statistical and advanced arithmetic operations based on the Colt open source libraries for high performance scientific and technical computing. ■ aggregate statistical and advanced arithmetic operations based on the Colt open source libraries for high performance scientific and technical computing. ■ statistical and advanced arithmetic operations based on the java.lang.Math class If Oracle CQL built-in functions do not provide the capabilities your application requires, you can easily create user-defined functions in Java by using the classes in the oracle.cep.extensibility.functions package. You can create aggregate and single-row user-defined functions. You can create overloaded functions and you can override built-in functions. If you call an Oracle CQL function with an argument of a datatype other than the datatype expected by the Oracle CQL function, then Oracle CEP attempts to convert the argument to the expected datatype before performing the Oracle CQL function. For more information, see: ■ Chapter 8, Built-In Single-Row Functions ■ Chapter 9, Built-In Aggregate Functions ■ Chapter 10, Colt Single-Row Functions ■ Chapter 11, Colt Aggregate Functions ■ Chapter 12, java.lang.Math Functions ■ Chapter 13, User-Defined Functions ■ Section 2.3.4, Datatype Conversion

1.1.12 Data Cartridges

The Oracle CQL data cartridge framework allows you to tightly integrate arbitrary domain objects with the Oracle CQL language and use domain object fields, methods, and constructors within Oracle CQL queries in the same way you use Oracle CQL native types. Currently, Oracle CEP provides the following data cartridges: ■ Oracle Java data cartridge: this data cartridge exposes Java types, methods, fields, and constructors that you can use in Oracle CQL queries and views as you would Oracle CQL native types. See Chapter 15, Oracle Java Data Cartridge . ■ Oracle Spatial: this data cartridge exposes Oracle Spatial types, methods, fields, and constructors that you can use in Oracle CQL queries and views as you would Oracle CQL native types. See Chapter 16, Oracle Spatial . Note: Function names are case sensitive: ■ Built-in functions: lower case. ■ User-defined functions: welvs:function element function-name attribute determines the case you use.