Package org.deidentifier.arx.aggregates
Klasse HierarchyBuilder<T>
java.lang.Object
org.deidentifier.arx.aggregates.HierarchyBuilder<T>
- Typparameter:
T-
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
HierarchyBuilderDate,HierarchyBuilderGroupingBased,HierarchyBuilderPriorityBased,HierarchyBuilderRedactionBased
Base class for hierarchy builders. Hierarchies can be built in two ways:
1. Call prepare(data), which returns some metadata and preserves a state, and then calling build(), or
2. Call build(data)
1. Call prepare(data), which returns some metadata and preserves a state, and then calling build(), or
2. Call build(data)
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumThe three types of builders. -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract AttributeType.Hierarchybuild()Creates a new hierarchy, based on the predefined specification.abstract AttributeType.HierarchyCreates a new hierarchy, based on the predefined specification.static <T> HierarchyBuilder<T> Loads a builder from a file.static <T> HierarchyBuilder<T> Loads a builder from a file.getType()Returns the type of builder.abstract int[]Prepares the builder.voidSaves the specification of this builder to the given file.voidSaves the specification of this builder to the given file.
-
Konstruktordetails
-
HierarchyBuilder
Creates a new instance.- Parameter:
type-
-
-
Methodendetails
-
create
Loads a builder from a file.- Typparameter:
T-- Parameter:
file-- Gibt zurück:
- Löst aus:
IOException
-
create
Loads a builder from a file.- Typparameter:
T-- Parameter:
file-- Gibt zurück:
- Löst aus:
IOException
-
build
Creates a new hierarchy, based on the predefined specification.- Gibt zurück:
-
build
Creates a new hierarchy, based on the predefined specification.- Parameter:
data-- Gibt zurück:
-
getType
Returns the type of builder.- Gibt zurück:
-
prepare
Prepares the builder. Returns a list of the number of equivalence classes per level- Parameter:
data-- Gibt zurück:
-
save
Saves the specification of this builder to the given file.- Parameter:
file-- Löst aus:
IOException
-
save
Saves the specification of this builder to the given file.- Parameter:
file-- Löst aus:
IOException
-