## Uses of Class
org.apache.sysds.runtime.privacy.PrivacyConstraint.PrivacyLevel

- Packages that use PrivacyConstraint.PrivacyLevel
  Package | Description
  --- | ---
  org.apache.sysds.parser |
  org.apache.sysds.runtime.controlprogram.federated |
  org.apache.sysds.runtime.privacy |
  org.apache.sysds.runtime.privacy.finegrained |
  org.apache.sysds.runtime.privacy.propagation |

- - ### Uses of PrivacyConstraint.PrivacyLevel in org.apache.sysds.parser

    Methods in org.apache.sysds.parser with parameters of type PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Identifier.`setPrivacy​(PrivacyConstraint.PrivacyLevel privacyLevel)` |

  - ### Uses of PrivacyConstraint.PrivacyLevel in org.apache.sysds.runtime.controlprogram.federated

    Method parameters in org.apache.sysds.runtime.controlprogram.federated with type arguments of type PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | FederatedResponse.`setCheckedConstraints​(Map<PrivacyConstraint.PrivacyLevel,​LongAdder> checkedConstraints)` | Set checked privacy constraints in response if the provided map is not empty.

  - ### Uses of PrivacyConstraint.PrivacyLevel in org.apache.sysds.runtime.privacy

    Methods in org.apache.sysds.runtime.privacy that return PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `static PrivacyConstraint.PrivacyLevel` | PrivacyUtils.`getGeneralPrivacyLevel​(PrivacyConstraint privacyConstraint)` |
    `static PrivacyConstraint.PrivacyLevel[]` | PrivacyUtils.`getGeneralPrivacyLevels​(PrivacyConstraint[] privacyConstraints)` |
    `PrivacyConstraint.PrivacyLevel` | PrivacyConstraint.`getPrivacyLevel()` |
    `static PrivacyConstraint.PrivacyLevel` | PrivacyConstraint.PrivacyLevel.`valueOf​(String name)` | Returns the enum constant of this type with the specified name.
    `static PrivacyConstraint.PrivacyLevel[]` | PrivacyConstraint.PrivacyLevel.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.sysds.runtime.privacy that return types with arguments of type PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Map<PrivacyConstraint.PrivacyLevel,​LongAdder>` | CheckedConstraintsLog.`getCheckedConstraints()` |
    `static EnumMap<PrivacyConstraint.PrivacyLevel,​LongAdder>` | PrivacyMonitor.`getCheckedConstraints()` |
    `static Map<PrivacyConstraint.PrivacyLevel,​LongAdder>` | CheckedConstraintsLog.`getLoadedConstraints()` |

    Methods in org.apache.sysds.runtime.privacy with parameters of type PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | CheckedConstraintsLog.`addLoadedConstraint​(PrivacyConstraint.PrivacyLevel level)` | Add an occurrence of the given privacy level to the loaded constraints log total.
    `void` | PrivacyConstraint.`setPrivacyLevel​(PrivacyConstraint.PrivacyLevel privacyLevel)` |

    Method parameters in org.apache.sysds.runtime.privacy with type arguments of type PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | CheckedConstraintsLog.`addCheckedConstraints​(Map<PrivacyConstraint.PrivacyLevel,​LongAdder> checkedConstraints)` | Adds checkedConstraints to the checked constraints total.

    Constructors in org.apache.sysds.runtime.privacy with parameters of type PrivacyConstraint.PrivacyLevel
    Constructor | Description
    --- | ---
    `PrivacyConstraint​(PrivacyConstraint.PrivacyLevel privacyLevel)` | Constructor with default fine-grained collection implementation where the entire data object is set to the given privacy level.

  - ### Uses of PrivacyConstraint.PrivacyLevel in org.apache.sysds.runtime.privacy.finegrained

    Methods in org.apache.sysds.runtime.privacy.finegrained that return PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `PrivacyConstraint.PrivacyLevel[]` | FineGrainedPrivacy.`getColPrivacy​(int numRows, int numCols)` |
    `PrivacyConstraint.PrivacyLevel[]` | FineGrainedPrivacyList.`getColPrivacy​(int numRows, int numCols)` |
    `PrivacyConstraint.PrivacyLevel[]` | FineGrainedPrivacyMap.`getColPrivacy​(int numRows, int numCols)` |
    `PrivacyConstraint.PrivacyLevel[]` | FineGrainedPrivacy.`getRowPrivacy​(int numRows, int numCols)` |
    `PrivacyConstraint.PrivacyLevel[]` | FineGrainedPrivacyList.`getRowPrivacy​(int numRows, int numCols)` |
    `PrivacyConstraint.PrivacyLevel[]` | FineGrainedPrivacyMap.`getRowPrivacy​(int numRows, int numCols)` |

    Methods in org.apache.sysds.runtime.privacy.finegrained that return types with arguments of type PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `ArrayList<Map.Entry<DataRange,​PrivacyConstraint.PrivacyLevel>>` | FineGrainedPrivacy.`getAllConstraintsList()` | Return all fine-grained privacy constraints as an arraylist.
    `ArrayList<Map.Entry<DataRange,​PrivacyConstraint.PrivacyLevel>>` | FineGrainedPrivacyList.`getAllConstraintsList()` |
    `ArrayList<Map.Entry<DataRange,​PrivacyConstraint.PrivacyLevel>>` | FineGrainedPrivacyMap.`getAllConstraintsList()` |
    `Map<DataRange,​PrivacyConstraint.PrivacyLevel>` | FineGrainedPrivacy.`getPrivacyLevel​(DataRange searchRange)` | Get the data ranges and related privacy levels within given data search range.
    `Map<DataRange,​PrivacyConstraint.PrivacyLevel>` | FineGrainedPrivacyList.`getPrivacyLevel​(DataRange searchRange)` |
    `Map<DataRange,​PrivacyConstraint.PrivacyLevel>` | FineGrainedPrivacyMap.`getPrivacyLevel​(DataRange searchRange)` |
    `Map<DataRange,​PrivacyConstraint.PrivacyLevel>` | FineGrainedPrivacy.`getPrivacyLevelOfElement​(long[] searchIndex)` | Get the data ranges and related privacy levels of the element with the given index.
    `Map<DataRange,​PrivacyConstraint.PrivacyLevel>` | FineGrainedPrivacyList.`getPrivacyLevelOfElement​(long[] searchIndex)` |
    `Map<DataRange,​PrivacyConstraint.PrivacyLevel>` | FineGrainedPrivacyMap.`getPrivacyLevelOfElement​(long[] searchIndex)` |

    Methods in org.apache.sysds.runtime.privacy.finegrained with parameters of type PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `DataRange[]` | FineGrainedPrivacy.`getDataRangesOfPrivacyLevel​(PrivacyConstraint.PrivacyLevel privacyLevel)` | Get all data ranges for the given privacy level.
    `DataRange[]` | FineGrainedPrivacyList.`getDataRangesOfPrivacyLevel​(PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `DataRange[]` | FineGrainedPrivacyMap.`getDataRangesOfPrivacyLevel​(PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacy.`put​(DataRange dataRange, PrivacyConstraint.PrivacyLevel privacyLevel)` | Set privacy level of the given data range.
    `void` | FineGrainedPrivacyList.`put​(DataRange dataRange, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacyMap.`put​(DataRange dataRange, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacy.`putCol​(int colIndex, int colLength, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacyList.`putCol​(int colIndex, int colLength, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacyMap.`putCol​(int colIndex, int colLength, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacy.`putElement​(int rowIndex, int colIndex, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacyList.`putElement​(int rowIndex, int colIndex, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacyMap.`putElement​(int rowIndex, int colIndex, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacy.`putRow​(int rowIndex, int rowLength, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacyList.`putRow​(int rowIndex, int rowLength, PrivacyConstraint.PrivacyLevel privacyLevel)` |
    `void` | FineGrainedPrivacyMap.`putRow​(int rowIndex, int rowLength, PrivacyConstraint.PrivacyLevel privacyLevel)` |

  - ### Uses of PrivacyConstraint.PrivacyLevel in org.apache.sysds.runtime.privacy.propagation

    Methods in org.apache.sysds.runtime.privacy.propagation that return PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `static PrivacyConstraint.PrivacyLevel` | PrivacyPropagator.`corePropagation​(PrivacyConstraint.PrivacyLevel[] inputLevels, OperatorType operatorType)` | Returns the output privacy level based on the given input privacy levels and operator type.

    Methods in org.apache.sysds.runtime.privacy.propagation with parameters of type PrivacyConstraint.PrivacyLevel
    Modifier and Type | Method | Description
    --- | --- | ---
    `static PrivacyConstraint.PrivacyLevel` | PrivacyPropagator.`corePropagation​(PrivacyConstraint.PrivacyLevel[] inputLevels, OperatorType operatorType)` | Returns the output privacy level based on the given input privacy levels and operator type.