Default language.

Changing Rule Ordering Strategy


The default rule ordering strategy is by the occurrence of the data. By specifying the runtime property -DruleExecutionOrder=ByRule, the rule ordering strategy can be changed to the Execution Order of the Rules.

Example

Consider a record containing 2 SSN fields and 2 Name fields. The corresponding Data Privacy project can define a SSN Rule as well a Name Rule, and is ordered by the SSN Rule followed by the Name Rule.

-DruleExecutionOrder=byOccurrence

If the runtime property is set to -DruleExecutionOrder=byOccurence or is not specified, the rules are executed in the following order:
SSN Rule on the first SSN
Name Rule on the first name
SSN Rule on the second SSN
Name Rule on the second name

-DruleExecutionOrder=byRule

If the runtime property is set to -DruleExecutionOrder=byRule, then the execution order changes to:
SSN Rule on the first SSN
SSN Rule on the second SSN
Name Rule on the first name
Name Rule on the second name

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*