Package org.deidentifier.arx
Klasse AttributeType.Hierarchy
java.lang.Object
org.deidentifier.arx.AttributeType
org.deidentifier.arx.AttributeType.Hierarchy
- Alle implementierten Schnittstellen:
Serializable,Cloneable
- Bekannte direkte Unterklassen:
AttributeType.Hierarchy.DefaultHierarchy
- Umschließende Klasse:
AttributeType
This class implements a generalization hierarchy.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classThe default implementation of a generalization hierarchy.Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.deidentifier.arx.AttributeType
AttributeType.Hierarchy, AttributeType.MicroAggregationFunction, AttributeType.MicroAggregationFunctionDescription -
Feldübersicht
Von Klasse geerbte Felder org.deidentifier.arx.AttributeType
IDENTIFYING_ATTRIBUTE, INSENSITIVE_ATTRIBUTE, QUASI_IDENTIFYING_ATTRIBUTE, SENSITIVE_ATTRIBUTE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract AttributeType.Hierarchyclone()create()Creates a new default hierarchy.static AttributeType.HierarchyCreates a new hierarchy from a CSV file.static AttributeType.HierarchyCreates a new hierarchy from a CSV file.static AttributeType.HierarchyCreates a new hierarchy from a CSV file.static AttributeType.HierarchyCreates a new hierarchy from a CSV file.static AttributeType.HierarchyCreates a new hierarchy from a CSV file.static AttributeType.HierarchyCreates a new hierarchy from a CSV file.static AttributeType.Hierarchycreate(InputStream stream, Charset charset) Creates a new hierarchy from a CSV file.static AttributeType.Hierarchycreate(InputStream stream, Charset charset, char delimiter) Creates a new hierarchy from a CSV file.static AttributeType.Hierarchycreate(InputStream stream, Charset charset, char delimiter, char quote) Creates a new hierarchy from a CSV file.static AttributeType.Hierarchycreate(InputStream stream, Charset charset, char delimiter, char quote, char escape) Creates a new hierarchy from a CSV file.static AttributeType.Hierarchycreate(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak) Creates a new hierarchy from a CSV file.static AttributeType.Hierarchycreate(InputStream stream, Charset charset, CSVSyntax config) Creates a new hierarchy from a CSV file.static AttributeType.HierarchyCreates a new hierarchy from a two-dimensional string array.static AttributeType.HierarchyCreates a new hierarchy from a CSV file.static AttributeType.HierarchyCreates a new hierarchy from a CSV file.static AttributeType.HierarchyCreates a new hierarchy from an iterator over tuples.static AttributeType.HierarchyCreates a new hierarchy from a list.abstract String[][]Returns the hierarchy as a two-dimensional string array.voidWrites the hierarchy to a CSV file.voidWrites the hierarchy to a CSV file.voidWrites the hierarchy to a CSV file.voidsave(OutputStream out) Writes the hierarchy to a CSV file.voidsave(OutputStream out, char delimiter) Writes the hierarchy to a CSV file.voidsave(OutputStream out, CSVSyntax config) Writes the hierarchy to a CSV file.voidWrites the hierarchy to a CSV file.voidWrites the hierarchy to a CSV file.voidWrites the hierarchy to a CSV file.Von Klasse geerbte Methoden org.deidentifier.arx.AttributeType
listMicroAggregationFunctions, toString
-
Konstruktordetails
-
Hierarchy
public Hierarchy()Instantiates a new hierarchy.
-
-
Methodendetails
-
create
Creates a new default hierarchy.- Gibt zurück:
- A Hierarchy
-
create
Creates a new hierarchy from a CSV file.- Parameter:
file- the filecharset- the charset- Gibt zurück:
- the hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(File file, Charset charset, char delimiter) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
file- A filedelimiter- The utilized separator character- Gibt zurück:
- A Hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(File file, Charset charset, char delimiter, char quote) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
file- the filecharset- the charsetdelimiter- the delimiterquote- the quote- Gibt zurück:
- the hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(File file, Charset charset, char delimiter, char quote, char escape) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
file- the filecharset- the charsetdelimiter- the delimiterquote- the quoteescape- the escape- Gibt zurück:
- the hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(File file, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
file- the filecharset- the charsetdelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreak- Gibt zurück:
- the hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(File file, Charset charset, CSVSyntax config) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
file-config-- Gibt zurück:
- Löst aus:
IOException
-
create
public static AttributeType.Hierarchy create(InputStream stream, Charset charset) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
stream- the stream- Gibt zurück:
- the hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(InputStream stream, Charset charset, char delimiter) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
stream- An input streamcharset- the charsetdelimiter- The utilized separator character- Gibt zurück:
- A Hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(InputStream stream, Charset charset, char delimiter, char quote) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
stream- the streamcharset- the charsetdelimiter- the delimiterquote- the quote- Gibt zurück:
- the hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(InputStream stream, Charset charset, char delimiter, char quote, char escape) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
stream- the streamcharset- the charsetdelimiter- the delimiterquote- the quoteescape- the escape- Gibt zurück:
- the hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
stream- the streamcharset- the charsetdelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreak- Gibt zurück:
- the hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(InputStream stream, Charset charset, CSVSyntax config) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
stream-charset-config-- Gibt zurück:
- Löst aus:
IOException
-
create
Creates a new hierarchy from an iterator over tuples.- Parameter:
iterator- An iterator- Gibt zurück:
- A Hierarchy
-
create
Creates a new hierarchy from a list.- Parameter:
list- The list- Gibt zurück:
- A Hierarchy
-
create
public static AttributeType.Hierarchy create(String path, Charset charset, char separator) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
path- A path to the filecharset- the charsetseparator- The utilized separator character- Gibt zurück:
- A Hierarchy
- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
create
public static AttributeType.Hierarchy create(String path, Charset charset, CSVSyntax config) throws IOException Creates a new hierarchy from a CSV file.- Parameter:
path-charset-config-- Gibt zurück:
- Löst aus:
IOException
-
create
Creates a new hierarchy from a two-dimensional string array.- Parameter:
array- The array- Gibt zurück:
- A Hierarchy
-
clone
- Setzt außer Kraft:
clonein KlasseAttributeType
-
getHierarchy
Returns the hierarchy as a two-dimensional string array.- Gibt zurück:
- the hierarchy
-
save
Writes the hierarchy to a CSV file.- Parameter:
file- the file- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
save
Writes the hierarchy to a CSV file.- Parameter:
file- A filedelimiter- The utilized separator character- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
save
Writes the hierarchy to a CSV file.- Parameter:
file- the fileconfig- the config- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
save
Writes the hierarchy to a CSV file.- Parameter:
out- the out- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
save
Writes the hierarchy to a CSV file.- Parameter:
out- A output streamdelimiter- The utilized separator character- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
save
Writes the hierarchy to a CSV file.- Parameter:
out- the outconfig- the config- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
save
Writes the hierarchy to a CSV file.- Parameter:
path- the path- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
save
Writes the hierarchy to a CSV file.- Parameter:
path- A pathdelimiter- The utilized separator character- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
save
Writes the hierarchy to a CSV file.- Parameter:
path- the pathconfig- the config- Löst aus:
IOException- Signals that an I/O exception has occurred.
-