Package org.deidentifier.arx
Klasse DataSubset
java.lang.Object
org.deidentifier.arx.DataSubset
- Alle implementierten Schnittstellen:
Serializable
This class represents a the dataset that is to be de-identified
as a subset of the given population table.
- Siehe auch:
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()Clonestatic DataSubsetCreates a new subset from the given set of tuple indices.static DataSubsetCreates a new subset from the given row set, from which a copy is created.static DataSubsetCreates a new subset from the given set of tuple indices.static DataSubsetCreate a subset by matching two data instances.static DataSubsetcreate(Data data, DataSelector selector) Creates a subset from the given selector.static DataSubsetCreates a new subset from the given row set, from which a copy is created.int[]getArray()GettergetSet()GetterintgetSize()Returns the size of the data subsetprotected DataSubsetgetSubsetInstance(RowSet rowset) Returns a new data subset, only containing those rows that are included in the subset
-
Felddetails
-
set
The subset as a bitset. -
array
protected int[] arrayThe subset as a sorted array of indices.
-
-
Methodendetails
-
create
Create a subset by matching two data instances.- Parameter:
data-subset-- Gibt zurück:
-
create
Creates a subset from the given selector.- Parameter:
data-selector-- Gibt zurück:
-
create
Creates a new subset from the given row set, from which a copy is created.- Parameter:
data-subset-- Gibt zurück:
-
create
Creates a new subset from the given set of tuple indices.- Parameter:
data-subset-- Gibt zurück:
-
create
Creates a new subset from the given row set, from which a copy is created.- Parameter:
subset-data-- Gibt zurück:
-
create
Creates a new subset from the given set of tuple indices.- Parameter:
rows-subset-- Gibt zurück:
-
clone
Clone -
getArray
public int[] getArray()Getter- Gibt zurück:
-
getSet
Getter- Gibt zurück:
-
getSize
public int getSize()Returns the size of the data subset- Gibt zurück:
-
getSubsetInstance
Returns a new data subset, only containing those rows that are included in the subset- Parameter:
rowset-- Gibt zurück:
-