Engine.invokeRule()
Signature
Object[] invokeRule(String uri, Object[] inputSet, boolean dirtyRead)
Description
Find all the matched tuples of a rule given partial input set. And for each tuple, execute the rule action.
Parameters
Name | Type | Description |
uri | String | The URI of the rule to invoke. |
inputSet | Object[] | support one input in the array.) |
dirtyRead | boolean | If true, it won't synchronize the working memory during the read when calling from preprocessor |
Returns
Type | Description |
Object[] | The result Set, each element in the Object[] is a result tuple which is another Object[]. |