# Uses of Class org.deidentifier.arx.aggregates.HierarchyBuilder (ARX API Documentation)

## Uses of Class
org.deidentifier.arx.aggregates.HierarchyBuilder

- Packages that use HierarchyBuilder
  Package | Description
  --- | ---
  org.deidentifier.arx | This package provides the public API for the ARX anonymization framework.
  org.deidentifier.arx.aggregates | This package provides methods for aggregating data.
  org.deidentifier.arx.metric.v2 |

- - ### Uses of HierarchyBuilder in org.deidentifier.arx

    Methods in org.deidentifier.arx that return HierarchyBuilder
    Modifier and Type | Method and Description
    --- | ---
    `HierarchyBuilder<?>` | DataDefinition.`getHierarchyBuilder(java.lang.String attribute)` Returns the associated builder, if any.

    Methods in org.deidentifier.arx with parameters of type HierarchyBuilder
    Modifier and Type | Method and Description
    --- | ---
    `void` | DataDefinition.`setAttributeType(java.lang.String attribute, HierarchyBuilder<?> builder)` Defines the given attribute as a quasi-identifier and stores the functional representation of the generalization hierarchy.
    `void` | DataDefinition.`setHierarchy(java.lang.String attribute, HierarchyBuilder<?> builder)` Associates the given hierarchy builder

  - ### Uses of HierarchyBuilder in org.deidentifier.arx.aggregates

    Subclasses of HierarchyBuilder in org.deidentifier.arx.aggregates
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HierarchyBuilderGroupingBased<T>` This abstract base class enables building hierarchies for categorical and non-categorical values.
    `class` | `HierarchyBuilderIntervalBased<T>` This class enables building hierarchies for non-categorical values by mapping them into given intervals.
    `class` | `HierarchyBuilderOrderBased<T>` This class enables building hierarchies for categorical and non-categorical values by ordering the data items and merging into groups with predefined sizes.
    `class` | `HierarchyBuilderRedactionBased<T>` This class enables building hierarchies for categorical and non-categorical values using redaction.

    Methods in org.deidentifier.arx.aggregates that return HierarchyBuilder
    Modifier and Type | Method and Description
    --- | ---
    `static <T> HierarchyBuilder<T>` | HierarchyBuilder.`create(java.io.File file)` Loads a builder from a file.
    `static <T> HierarchyBuilder<T>` | HierarchyBuilder.`create(java.lang.String file)` Loads a builder from a file.

  - ### Uses of HierarchyBuilder in org.deidentifier.arx.metric.v2

    Subclasses of HierarchyBuilder in org.deidentifier.arx.metric.v2
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DomainShareInterval<T>` This class represents a set of domain shares for an attribute.