ksb.csle.didentification.privacy
Object that contains message ksb.csle.common.proto.StreamDidentProto.RoundingInfo RoundingInfo contains attributes as follows:
enum RoundingMethod { ROUND = 0; ROUND_UP = 1; ROUND_DOWN = 2; } message RoundingInfo { repeated int32 selectedColumnId = 1; required int32 roundStep = 2 [default = 10]; required RoundingMethod method = 3 [default = ROUND]; repeated FieldInfo fieldInfo = 4; optional PrivacyCheckInfo check = 5; }
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
Rounds the values of the column in src dataframe
Rounds the values of the column in src dataframe
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 rounding module for basic de-identification
Operates rounding module for basic de-identification
Input dataframe
DataFrame Anonymized dataframe
Rounds the numercial values of the column in src dataframe using 'roundType' method
Rounds the numercial values of the column in src dataframe using 'roundType' method
Dataframe to anonymize
Column to be anonymized
Methods of rounding modules. ex., round, round-up, round-down
DataFrame Anonymized dataframe
:: ApplicationDeveloperApi ::
Operator that implements the Rounding module in the Aggregation algorithm. It rounds up or down given numerical values.