# NumericWorkSegmentationType (Complex Type)

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

Supertype: AbstractWorkSegmentationType
Segmentation strategy that divides the processing space (represented by an interval of numeric values) into a number of work buckets. Each bucket itself is defined as an interval of values.

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.
from | property integer | [0,1] | Start of the processing space (inclusive).
to | property integer | [0,1] | End of the processing space (exclusive).
bucketSize | property integer | [0,1] | Size of one bucket.

- ### Items

  - #### discriminator

    Flags: RAM,runtime

    Multiplicity: [0,1]

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

  - #### matchingRule

    Flags: RAM,runtime

    Multiplicity: [0,1]

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

  - #### numberOfBuckets

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configurable number of buckets. Optional.

  - #### from

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Start of the processing space (inclusive). If omitted, 0 is assumed.

  - #### to

    Flags: RAM,runtime

    Multiplicity: [0,1]

    End of the processing space (exclusive). If not present, both bucketSize and numberOfBuckets must be defined and the upper boundary is determined as their product.

  - #### bucketSize

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Size of one bucket. If not present it is computed as the total processing space divided by number of buckets (i.e. 'to' and 'numberOfBuckets' must be present).