Benefits of partitioning

Using the previous example, explore the benefits of partitioning.

  • The rule with partitioning is shorter than the rule without partitioning. The knowledge of which states belong to each region is maintained in the type tree rather than the rule.
  • It is easy to read this rule and understand the mapping function being performed. For example, if the state belongs to the list of states in the eastern region, execute the MapEast functional map.
  • The partitioning method is easier to maintain. If a value for State is added or moves from one region to another, it can be easily changed in the schema and automatically reflected in any rules that reference the partitioned object.
  • Partitioning using a restriction list used with the Ignore Case setting eliminates the need for PROPER, LOWERCASE, or UPPERCASE functions to compare each state with a literal.