Top
Interstage Big DataComplex Event Processing Server V1.1.0 Developer's Reference
FUJITSU Software

2.3.1 ON Statement

Indicates a rule to be described for a particular event type.


Event type

Specify the development asset ID of the event type definition.

Point

  • Only one ON statement can be described for one event type.

  • ON statements for multiple event types can be described in one rule definition.

  • Input events having an event type for which an ON statement is not described are passed directly to the Complex Event Processing.

Note

Multiple rule definitions can be deployed to one CEP engine, but the CEP engine will fail to start if these rule definitions contain more than one ON statement described for the same event type.


IF-THEN statement

Describe the input event processing for the specified type.

If multiple IF-THEN statements are described, the output of the previous IF-THEN statement will be the input for the next IF-THEN statement. The output of the IF-THEN statement described last is passed to the Complex Event Processing.

Point

  • If only an extraction process is described for the previous IF-THEN statement (if a join expression is not described and an output() without arguments is specified), the event type that is the input for the next IF-THEN statement does not change.

  • If the previous IF-THEN statement is other than the above (there is a join expression or an output() with arguments is specified), the input event of the next IF-THEN statement is in CSV format.

Note

A maximum of 10 IF-THEN statements can be described in one ON statement. If more than 10 IF-THEN statements are described, CEP engine startup fails.