CREATE MODULE 语句创建一个模块,该模块是与节点关联的指定容器。
Eclipse 工具中的模块,可以按名称从消息处理节点中引用。该模块必须在 <node schema> 中。
Compute 节点、Database 节点和 Filter 节点的模块都必须只包含一个 Main 函数。该函数应该返回一个布尔值。它是消息流节点在处理消息时使用的入口点。
相关名 | Compute 模块 | Filter 模块 | Database 模块 |
---|---|---|---|
Database | × | × | × |
Environment | × | × | × |
Root | × | × | |
Body | × | × | |
Properties | × | × | |
ExceptionList | × | × | |
LocalEnvironment | × | × | |
InputRoot | × | ||
InputBody | × | ||
InputProperties | × | ||
InputExceptionList | × | ||
InputLocalEnvironment | × | ||
OutputRoot | × | ||
OutputExceptionList | × | ||
OutputLocalEnvironment | × | ||
DestinationList | LocalEnvironment 的同义词,建议不要使用 | ||
InputDestinationList | InputLocalEnvironment 的同义词,建议不要使用 | ||
OutputDestinationList | OutputLocalEnvironment 的同义词,建议不要使用 |