ksb.csle.didentification.privacy
Anonymizes the src dataframe.
Anonymizes the src dataframe. Since this method is only applicable on the identifier column, there is no need to specify the columns to be anonymized.
Dataframe to anonymize
DataFrame Anonymized dataframe which replaces original column with anonymized column
Anonymizes the column specified in src dataframe using generic 'Type' method.
Anonymizes the column specified in src dataframe using generic 'Type' method. The 'Type' is decided by inherited object module.
Dataframe to anonymize
Column to be anonymized
DataFrame The dataframe which replaces original column with anonymized column
Drops the identifier column or replaces it with randomized string
Drops the identifier column or replaces it with randomized string
Dataframe to anonymize
Column to be anonymized
DataFrame Anonymized dataframe
Returns column name from src dataframe specified by the column ID defined by protobuf.
Returns column name from src dataframe specified by the column ID defined by protobuf.
dataframe to get names of columns.
column ID to anonymize.
String.
Returns column names from src dataframe specified by column IDs.
Returns column names from src dataframe specified by column IDs. Note that the column with invalid IDs are ignored.
dataframe to get names of columns.
Array[String].
Checks the given column ID is valid.
Checks the given column ID is valid.
dataframe to get names of columns.
Boolean.
Checks the given column Name is valid.
Checks the given column Name is valid.
dataframe to get names of columns.
column Name.
Boolean.
Operates iden reduction module for basic de-identification
Operates iden reduction module for basic de-identification
Input dataframe
DataFrame Anonymized dataframe
This object implements the identity reduction module in the Data Reduction algorithm.