# StringWorkSegmentationType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Supertype: AbstractWorkSegmentationType
Segmentation strategy that divides the processing space (represented by a set of string values) into a number of work buckets; either based on intervals, prefixes or exact value matching.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
discriminator | property ItemPathType | [0,1] | Item or OID whose values will used to divide objects into buckets - if applicable.
matchingRule | property anyURI | [0,1] | Matching rule to be applied when creating filters - if applicable.
numberOfBuckets | property int | [0,1] | Configurable number of buckets.
boundary | container BoundarySpecificationType | [0,-1] | Characters that make up the boundaries at given string position(s).
boundaryCharacters | property string | [0,-1] | Characters that make up the boundaries.
depth | property int | [0,1] | If a value N greater than 1 is specified here, values specified by boundary or boundaryCharacters are repeated N times (if values of V1, V2, .
comparisonMethod | property StringWorkBucketsBoundaryMarkingType | [0,1] | Whether to use intervals, prefixes or exact value match.

- ### Items

  - #### discriminator

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Item or OID whose values will used to divide objects into buckets - if applicable.

  - #### matchingRule

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Matching rule to be applied when creating filters - if applicable.

  - #### numberOfBuckets

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Configurable number of buckets. Optional.

  - #### boundary

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    Characters that make up the boundaries at given string position(s).

  - #### boundaryCharacters

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    Characters that make up the boundaries. These characters must be sorted. Reserved characters: '-', '$' (to be implemented later) Escaping character: '\' DEPRECATED. Please use boundary instead.

  - #### depth

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    If a value N greater than 1 is specified here, values specified by boundary or boundaryCharacters are repeated N times (if values of V1, V2, ..., Vk are specified, the resulting sequence is V1, V2, ..., Vk, V1, V2, ... Vk, etc, with N repetitions - so N*k values in total).

  - #### comparisonMethod

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Display order:

    Whether to use intervals, prefixes or exact value match. Interval matching is the default.