Returns the map information of columns [info.
Returns the map information of columns [info. of column, its hierarchy] specified 'attr' attribute by using columnInfos
Spark Session
the detailed information of column
attribute types (e.x., identifier, quasi-identifier, sensitive, non-sensitive attributes)
Map[FieldInfo, ColumnHierarchy]
Automatically configures the hierarchy information from the given 'src' dataframe where the column type is equal to the given 'attr' attribute.
Automatically configures the hierarchy information from the given 'src' dataframe where the column type is equal to the given 'attr' attribute. The depth of hierarchy is nLevels.
The dataframe to configure hierarchy
The array of field info which contains the meta information of the dataframe
The attribute types (e.x., identifier, quasi-identifier, sensitive, non-sensitive attributes)
Map[FieldInfo, ColumnHierarchy]
Extracts the hierarhcy information from the file containing hierarhcy.
Extracts the hierarhcy information from the file containing hierarhcy. Note that the file is consisted of [original data of a column, the data by generalizing one times, the data by generalizing second times, ..., the data by generalizing n times]. This function makes the column hierarchy by using the read dataframe (hierarchy)
the DataFrame storing the hierarchy information
ColumnHierarchy
The member variable columnInfos contains various information of columns such as the column ID, name, the path of file including hierarchical information.
The member variable columnInfos contains various information of columns such as the column ID, name, the path of file including hierarchical information. This function returns the information of quasi-identifier columns [info. about column, its column hierarchy] by using columnInfos.
Spark Session
the detailed information of column
Map[FieldInfo, ColumnHierarchy]
Returns the map information of sensitive columns [info.
Returns the map information of sensitive columns [info. about column, its column hierarchy] by using columnInfos
Spark Session
the detailed information of column
Map[FieldInfo, ColumnHierarchy]
This object manages hierarchical information of column attributes