CREATE MODULE statement
The CREATE MODULE statement creates a module, which is a named container associated with a node.
Syntax
A module in the Eclipse tools is referred to from a message processing node by name. The module must be in the <node schema>.
Module
names occupy the same symbol space as functions and procedures defined
in the schema. That is, modules, functions, and procedures contained
by a schema must all have unique names.
Note: You are warned if there
is no module associated with an ESQL node. You cannot deploy a flow
containing a node in which a module is missing.
The modules for the Compute node, Database node, and Filter node must all contain exactly one function called Main. This function should return a Boolean. It is the entry point used by a message flow node when processing a message.
The modules for the DatabaseInput node must contain
the following entry points:
Correlation name | Compute module | Filter module | Database module | DatabaseEvent module | ||
---|---|---|---|---|---|---|
Database | x | x | x | x | ||
Environment | x | x | x | x | ||
Root | x | x | x | |||
Body | x | x | ||||
Properties | x | x | x | |||
ExceptionList | x | x | x | |||
LocalEnvironment | x | x | x | |||
InputRoot | x | |||||
InputBody | x | |||||
InputProperties | x | |||||
InputExceptionList | x | |||||
InputLocalEnvironment | x | |||||
OutputRoot | x | |||||
OutputExceptionList | x | |||||
OutputLocalEnvironment | x | |||||
DestinationList | Deprecated synonym for LocalEnvironment | |||||
InputDestinationList | Deprecated synonym for InputLocalEnvironment | |||||
OutputDestinationList | Deprecated synonym for OutputLocalEnvironment |