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.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<?> |
DataHandleStatistics.getBaseDataType(java.lang.String attribute) |
DataType<?> |
DataHandleSubset.getDataType(java.lang.String attribute) |
DataType<?> |
DataHandleStatistics.getDataType(java.lang.String attribute)
Method
|
DataType<?> |
DataHandleOutput.getDataType(java.lang.String attribute) |
DataType<?> |
DataHandle.getDataType(java.lang.String attribute)
Returns the according data type.
|
DataType<?> |
DataDefinition.getDataType(java.lang.String columnName)
Returns the data type for the given column.
|
abstract DataType<T> |
DataType.DataTypeDescription.newInstance()
Creates a new instance with default format string and default 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,
CSVSyntax config,
DataType<org.apache.poi.ss.formula.functions.T>[] datatypes)
Creates a new data object from a CSV file.
|
static Data |
Data.create(java.io.InputStream stream,
CSVSyntax config,
DataType<org.apache.poi.ss.formula.functions.T>[] datatypes)
Creates a new data object from a CSV file.
|
static Data |
Data.create(java.lang.String path,
CSVSyntax config,
DataType<org.apache.poi.ss.formula.functions.T>[] 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 |
---|---|
void |
DataHandleOutput.updateData(DataHandle data,
java.util.Map<java.lang.String,DataType<?>> types,
int[] outliers)
Used to update data when loading projects after local recoding.
|
Modifier and Type | Method and Description |
---|---|
DataType<T> |
HierarchyBuilderGroupingBased.getDataType()
Returns the data type.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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,
CSVSyntax config,
DataType<org.apache.poi.ss.formula.functions.T>[] datatype)
Instatiate.
|
CSVDataInput(java.io.InputStream stream,
CSVSyntax config,
DataType<org.apache.poi.ss.formula.functions.T>[] datatypes)
Instantiate.
|
CSVDataInput(java.io.Reader reader,
char delimiter,
char quote,
char escape,
char[] linebreak,
DataType<org.apache.poi.ss.formula.functions.T>[] datatypes)
Instantiate.
|
CSVDataInput(java.lang.String filename,
CSVSyntax config,
DataType<org.apache.poi.ss.formula.functions.T>[] 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.
|