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:
(1) builders for generalization hierarchies,
(2) various methods for analyzing data quality and utility
|
org.deidentifier.arx.aggregates.classification |
This package implementations for analyzing the effect of
anonymization on classification tasks
|
org.deidentifier.arx.framework.check.distribution |
This package implements means for efficiently maintaining distributions of values
for each equivalence class
|
org.deidentifier.arx.gui | |
org.deidentifier.arx.gui.view.impl | |
org.deidentifier.arx.gui.view.impl.menu | |
org.deidentifier.arx.gui.view.impl.utility | |
org.deidentifier.arx.gui.view.impl.wizard | |
org.deidentifier.arx.io |
This package provides basic input/output functionality
|
Modifier and Type | Class and Description |
---|---|
static class |
DataType.ARXDate
Base class for date/time types.
|
static class |
DataType.ARXDecimal
Base class for numeric types.
|
static class |
DataType.ARXInteger
Base class for numeric types.
|
static class |
DataType.ARXOrderedString
Base class for ordered string types.
|
static class |
DataType.ARXString
Base class for string types.
|
Modifier and Type | Field and Description |
---|---|
static DataType<java.util.Date> |
DataType.DATE
A date data type with default format dd.mm.yyyy
|
static DataType<java.lang.Double> |
DataType.DECIMAL
A generic decimal data type.
|
static DataType<java.lang.Long> |
DataType.INTEGER
A generic integer data type.
|
static DataType<java.lang.String> |
DataType.ORDERED_STRING
A ordered string data type.
|
static DataType<java.lang.String> |
DataType.STRING
A string data type.
|
Modifier and Type | Method and Description |
---|---|
abstract DataType<T> |
DataType.clone() |
DataType<java.util.Date> |
DataType.ARXDate.clone() |
DataType<java.lang.Double> |
DataType.ARXDecimal.clone() |
DataType<java.lang.Long> |
DataType.ARXInteger.clone() |
DataType<java.lang.String> |
DataType.ARXOrderedString.clone() |
DataType<java.lang.String> |
DataType.ARXString.clone() |
static DataType<java.util.Date> |
DataType.createDate(java.lang.String format)
A date data type with given format.
|
static DataType<java.util.Date> |
DataType.createDate(java.lang.String format,
java.util.Locale locale)
A date data type with given format.
|
static DataType<java.lang.Double> |
DataType.createDecimal(java.lang.String format)
A decimal data type with given format.
|
static DataType<java.lang.Double> |
DataType.createDecimal(java.lang.String format,
java.util.Locale locale)
Creates a decimal data type with a format string from the given locale.
|
static DataType<java.lang.Long> |
DataType.createInteger(java.lang.String format)
An integer data type with given format.
|
static DataType<java.lang.Long> |
DataType.createInteger(java.lang.String format,
java.util.Locale locale)
An integer data type with given format using the given locale.
|
static DataType<java.lang.String> |
DataType.createOrderedString(java.util.List<java.lang.String> format)
A ordered string type with given format.
|
static DataType<java.lang.String> |
DataType.createOrderedString(java.lang.String format)
A ordered string type with given format.
|
static DataType<java.lang.String> |
DataType.createOrderedString(java.lang.String[] format)
A ordered string type with given format.
|
DataType<?> |
DataHandleInternal.getBaseDataType(java.lang.String attribute) |
DataType<?> |
DataHandle.getDataType(java.lang.String attribute)
Returns the according data type.
|
DataType<?> |
DataHandleOutput.getDataType(java.lang.String attribute) |
DataType<?> |
DataDefinition.getDataType(java.lang.String columnName)
Returns the data type for the given column.
|
DataType<?> |
DataHandleSubset.getDataType(java.lang.String attribute) |
DataType<?> |
DataHandleInternal.getDataType(java.lang.String attribute)
Method
|
abstract DataType<T> |
DataType.DataTypeDescription.newInstance()
Creates a new instance with default format string and default locale.
|
DataType<T> |
DataType.DataTypeDescription.newInstance(java.util.Locale locale)
Creates a new instance with default format and the given locale.
|
abstract DataType<T> |
DataType.DataTypeDescription.newInstance(java.lang.String format)
Creates a new instance with the given format string and default locale.
|
abstract DataType<T> |
DataType.DataTypeDescription.newInstance(java.lang.String format,
java.util.Locale locale)
Creates a new instance with the given format string and the given locale.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<org.apache.commons.math3.util.Pair<DataType<?>,java.lang.Double>> |
DataHandle.getMatchingDataTypes(int column)
Returns a mapping from data types to the relative number of values that conform to the according type.
|
<U> java.util.List<org.apache.commons.math3.util.Pair<DataType<?>,java.lang.Double>> |
DataHandle.getMatchingDataTypes(int column,
java.lang.Class<U> clazz)
Returns a mapping from data types to the relative number of values that conform to the according type for a given wrapped class.
|
<U> java.util.List<org.apache.commons.math3.util.Pair<DataType<?>,java.lang.Double>> |
DataHandle.getMatchingDataTypes(int column,
java.lang.Class<U> clazz,
double threshold)
Returns a mapping from data types to the relative number of values that conform to the according type for a given wrapped class.
|
<U> java.util.List<org.apache.commons.math3.util.Pair<DataType<?>,java.lang.Double>> |
DataHandle.getMatchingDataTypes(int column,
java.lang.Class<U> clazz,
java.util.Locale locale)
Returns a mapping from data types to the relative number of values that conform to the according type for a given wrapped class.
|
<U> java.util.List<org.apache.commons.math3.util.Pair<DataType<?>,java.lang.Double>> |
DataHandle.getMatchingDataTypes(int column,
java.lang.Class<U> clazz,
java.util.Locale locale,
double threshold)
Returns a mapping from data types to the relative number of values that conform to the according type for a given wrapped class.
|
java.util.List<org.apache.commons.math3.util.Pair<DataType<?>,java.lang.Double>> |
DataHandle.getMatchingDataTypes(int column,
double threshold)
Returns a mapping from data types to the relative number of values that conform to the according type.
|
java.util.List<org.apache.commons.math3.util.Pair<DataType<?>,java.lang.Double>> |
DataHandle.getMatchingDataTypes(int column,
java.util.Locale locale)
Returns a mapping from data types to the relative number of values that conform to the according type
This method only returns types that match at least 80% of all values in the column .
|
java.util.List<org.apache.commons.math3.util.Pair<DataType<?>,java.lang.Double>> |
DataHandle.getMatchingDataTypes(int column,
java.util.Locale locale,
double threshold)
Returns a mapping from data types to the relative number of values that conform to the according type.
|
Modifier and Type | Method and Description |
---|---|
void |
DataSource.addColumn(int index,
DataType<?> datatype)
Adds a new column.
|
void |
DataSource.addColumn(int index,
DataType<?> datatype,
boolean cleansing)
Adds a new column.
|
void |
DataSource.addColumn(int index,
java.lang.String alias,
DataType<?> datatype)
Adds a new column.
|
void |
DataSource.addColumn(int index,
java.lang.String alias,
DataType<?> datatype,
boolean cleansing)
Adds a new column.
|
void |
DataSource.addColumn(java.lang.String name,
DataType<?> datatype)
Adds a new column.
|
void |
DataSource.addColumn(java.lang.String name,
DataType<?> datatype,
boolean cleansing)
Adds a new column.
|
void |
DataSource.addColumn(java.lang.String name,
java.lang.String alias,
DataType<?> datatype)
Adds a new column.
|
void |
DataSource.addColumn(java.lang.String name,
java.lang.String alias,
DataType<?> datatype,
boolean cleansing)
Adds a new column.
|
static Data |
Data.create(java.io.File file,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatypes)
Creates a new data object from a CSV file.
|
static Data |
Data.create(java.io.InputStream stream,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatypes)
Creates a new data object from a CSV file.
|
static Data |
Data.create(java.lang.String path,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatypes)
Creates a new data object from a CSV file.
|
java.lang.String[] |
DataHandle.getNonConformingValues(int column,
DataType<?> type,
int max)
Returns a set of values that do not conform to the given data type.
|
int |
DataHandle.getNumConformingValues(int column,
DataType<?> type)
Returns the number of (distinct) values that conform to the given data type.
|
void |
DataDefinition.setDataType(java.lang.String attribute,
DataType<?> type)
Define the datatype of a given attribute.
|
Modifier and Type | Method and Description |
---|---|
DataType<T> |
HierarchyBuilderGroupingBased.getDataType()
Returns the data type.
|
DataType<?> |
StatisticsQuality.getDataType(java.lang.String attribute)
Returns the data type for the attribute
|
Modifier and Type | Method and Description |
---|---|
static HierarchyBuilder<java.util.Date> |
HierarchyBuilderDate.create(DataType<java.util.Date> type,
HierarchyBuilderDate.Granularity... granularities)
Creates an hierarchy reflecting the given granularities
|
static HierarchyBuilder<java.util.Date> |
HierarchyBuilderDate.create(DataType<java.util.Date> type,
java.util.TimeZone timeZone,
HierarchyBuilderDate.Format format,
java.util.Date bottomCoding,
java.util.Date topCoding,
HierarchyBuilderDate.Granularity... granularities)
Creates an hierarchy reflecting the given granularities
|
static HierarchyBuilder<java.util.Date> |
HierarchyBuilderDate.create(DataType<java.util.Date> type,
java.util.TimeZone timeZone,
HierarchyBuilderDate.Format format,
HierarchyBuilderDate.Granularity... granularities)
Creates an hierarchy reflecting the given granularities
|
static <T> HierarchyBuilderIntervalBased<T> |
HierarchyBuilderIntervalBased.create(DataType<T> type)
Creates a new instance.
|
static <T> HierarchyBuilderOrderBased<T> |
HierarchyBuilderOrderBased.create(DataType<T> type,
boolean order)
Creates a new instance.
|
static <T> HierarchyBuilderOrderBased<T> |
HierarchyBuilderOrderBased.create(DataType<T> type,
java.util.Comparator<T> comparator)
Creates a new instance.
|
static <T> HierarchyBuilderIntervalBased<T> |
HierarchyBuilderIntervalBased.create(DataType<T> type,
HierarchyBuilderIntervalBased.Range<T> lowerRange,
HierarchyBuilderIntervalBased.Range<T> upperRange)
Creates a new instance.
|
static <T> HierarchyBuilderOrderBased<T> |
HierarchyBuilderOrderBased.create(DataType<T> type,
java.lang.String[] order)
Creates a new instance.
|
static <T> AggregateFunction.AggregateFunctionBuilder<T> |
AggregateFunction.forType(DataType<T> type)
Returns a builder for the given data type.
|
Constructor and Description |
---|
ClassificationFeatureMetadata(java.lang.String attribute,
DataType<?> type,
ARXFeatureScaling scaling,
boolean isTypePreservingMicroaggregation)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
DistributionAggregateFunction.initialize(java.lang.String[] dictionary,
DataType<?> type)
Initializes the function
|
void |
DistributionAggregateFunction.DistributionAggregateFunctionArithmeticMean.initialize(java.lang.String[] dictionary,
DataType<?> type) |
void |
DistributionAggregateFunction.DistributionAggregateFunctionGeometricMean.initialize(java.lang.String[] dictionary,
DataType<?> type) |
void |
DistributionAggregateFunction.DistributionAggregateFunctionMedian.initialize(java.lang.String[] dictionary,
DataType<?> type) |
void |
DistributionAggregateFunction.DistributionAggregateFunctionMode.initialize(java.lang.String[] dictionary,
DataType<?> type) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
Controller.actionShowOrderValuesDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String text,
DataType<?> type,
java.util.Locale locale,
java.lang.String[] values)
Shows an input dialog for ordering data items.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
MainWindow.showOrderValuesDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String header,
java.lang.String text,
DataType<?> type,
java.util.Locale locale,
java.lang.String[] values)
Shows an input dialog for ordering data items.
|
org.apache.commons.math3.util.Pair<org.apache.commons.math3.util.Pair<java.lang.String,java.lang.Boolean>,org.apache.commons.math3.util.Pair<java.lang.String,java.lang.Boolean>> |
MainWindow.showTopBottomCodingDialog(DataType<?> type)
Shows a top/bottom coding dialog
|
Constructor and Description |
---|
DialogOrderSelection(org.eclipse.swt.widgets.Shell parentShell,
java.lang.String[] elements,
DataType<?> type,
java.util.Locale locale,
Controller controller)
Creates a new instance.
|
DialogTopBottomCoding(org.eclipse.swt.widgets.Shell parentShell,
DataType<?> type)
Creates a new instance
|
Modifier and Type | Field and Description |
---|---|
DataType<?> |
AnalysisContextDistribution.dataType
Context information.
|
DataType<?> |
AnalysisContextContingency.dataType1
Context information.
|
DataType<?> |
AnalysisContextContingency.dataType2
Context information.
|
Modifier and Type | Method and Description |
---|---|
DataType<T> |
HierarchyWizardModelGrouping.getDataType() |
DataType<java.util.Date> |
HierarchyWizardModelDate.getDataType() |
DataType<T> |
HierarchyWizardModel.getDataType()
Returns the data type.
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.math3.util.Pair<java.util.Map<ImportWizardModelColumn,java.util.Map<java.lang.String,DataType<?>>>,java.util.Map<ImportWizardModelColumn,java.util.Map<java.lang.String,DataType<?>>>> |
ImportWizardModel.getMatchingDataTypes(Controller controller,
java.util.List<ImportWizardModelColumn> columns)
Returns a list of matching data types
|
org.apache.commons.math3.util.Pair<java.util.Map<ImportWizardModelColumn,java.util.Map<java.lang.String,DataType<?>>>,java.util.Map<ImportWizardModelColumn,java.util.Map<java.lang.String,DataType<?>>>> |
ImportWizardModel.getMatchingDataTypes(Controller controller,
java.util.List<ImportWizardModelColumn> columns)
Returns a list of matching data types
|
Modifier and Type | Method and Description |
---|---|
boolean |
HierarchyWizardModelOrder.sort(DataType<?> type)
Sorts the data.
|
Constructor and Description |
---|
HierarchyWizard(Controller controller,
java.lang.String attribute,
HierarchyBuilder<?> builder,
DataType<T> datatype,
java.util.Locale locale,
java.lang.String[] items)
Creates a new instance.
|
HierarchyWizardGroupingRange(DataType<U> type,
boolean lower) |
HierarchyWizardModel(DataType<T> dataType,
java.util.Locale locale,
java.lang.String[] data)
Creates a new instance for the given data type.
|
HierarchyWizardModelDate(DataType<java.util.Date> dataType,
java.lang.String[] data)
Creates a new instance.
|
HierarchyWizardModelGrouping(java.lang.String[] data,
DataType<T> type,
boolean intervals)
Creates a new instance.
|
HierarchyWizardModelIntervals(DataType<T> dataType,
java.lang.String[] data)
Constructor to create an initial definition.
|
HierarchyWizardModelOrder(DataType<T> dataType,
java.util.Locale locale,
java.lang.String[] data)
Constructor to create an initial definition.
|
HierarchyWizardModelRedaction(DataType<T> dataType,
java.lang.String[] data)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
DataType<?> |
ImportColumn.getDataType()
Gets the data type.
|
Modifier and Type | Method and Description |
---|---|
void |
ImportColumn.setDataType(DataType<?> dataType)
Sets the data type.
|
Constructor and Description |
---|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatype)
Instatiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatypes)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatypes,
CSVOptions options)
Instantiate.
|
CSVDataInput(java.io.Reader reader,
char delimiter,
char quote,
char escape,
char[] linebreak,
DataType<?>[] datatypes)
Instantiate.
|
CSVDataInput(java.io.Reader reader,
char delimiter,
char quote,
char escape,
char[] linebreak,
DataType<?>[] datatypes,
CSVOptions options)
Instantiate.
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatypes)
Instantiate.
|
ImportColumn(java.lang.String aliasName,
DataType<?> dataType)
Creates a new instance of this object with the given parameters.
|
ImportColumn(java.lang.String aliasName,
DataType<?> dataType,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnCSV(int index,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnCSV(int index,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnCSV(int index,
java.lang.String aliasName,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnCSV(int index,
java.lang.String aliasName,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnCSV(java.lang.String name,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnCSV(java.lang.String name,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnCSV(java.lang.String name,
java.lang.String alias,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnCSV(java.lang.String name,
java.lang.String alias,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnExcel(int index,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnExcel(int index,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnExcel(int index,
java.lang.String aliasName,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnExcel(int index,
java.lang.String aliasName,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnExcel(java.lang.String name,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnExcel(java.lang.String name,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnExcel(java.lang.String name,
java.lang.String alias,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnExcel(java.lang.String name,
java.lang.String alias,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnIndexed(int index,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnIndexed(int index,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnIndexed(int index,
java.lang.String aliasName,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnIndexed(int index,
java.lang.String aliasName,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnIndexed(java.lang.String name,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnIndexed(java.lang.String name,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnIndexed(java.lang.String name,
java.lang.String aliasName,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnIndexed(java.lang.String name,
java.lang.String aliasName,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnJDBC(int index,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnJDBC(int index,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnJDBC(int index,
java.lang.String aliasName,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnJDBC(int index,
java.lang.String aliasName,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnJDBC(java.lang.String name,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnJDBC(java.lang.String name,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|
ImportColumnJDBC(java.lang.String name,
java.lang.String aliasName,
DataType<?> datatype)
Creates a new instance of this object with the given parameters.
|
ImportColumnJDBC(java.lang.String name,
java.lang.String aliasName,
DataType<?> datatype,
boolean cleansing)
Creates a new instance of this object with the given parameters.
|