Modifier and Type | Method and Description |
---|---|
void |
Identifier.setPrivacy(PrivacyConstraint.PrivacyLevel privacyLevel) |
Modifier and Type | Method and Description |
---|---|
void |
FederatedResponse.setCheckedConstraints(Map<PrivacyConstraint.PrivacyLevel,LongAdder> checkedConstraints)
Set checked privacy constraints in response if the provided map is not empty.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static EnumMap<PrivacyConstraint.PrivacyLevel,LongAdder> |
PrivacyMonitor.getCheckedConstraints() |
static Map<PrivacyConstraint.PrivacyLevel,LongAdder> |
CheckedConstraintsLog.getCheckedConstraints() |
static Map<PrivacyConstraint.PrivacyLevel,LongAdder> |
CheckedConstraintsLog.getLoadedConstraints() |
Modifier and Type | Method and Description |
---|---|
static void |
CheckedConstraintsLog.addLoadedConstraint(PrivacyConstraint.PrivacyLevel level)
Add an occurence of the given privacy level to the loaded constraints log total.
|
void |
PrivacyConstraint.setPrivacyLevel(PrivacyConstraint.PrivacyLevel privacyLevel) |
Modifier and Type | Method and Description |
---|---|
static void |
CheckedConstraintsLog.addCheckedConstraints(Map<PrivacyConstraint.PrivacyLevel,LongAdder> checkedConstraints)
Adds checkedConstraints to the checked constraints total.
|
Constructor and Description |
---|
PrivacyConstraint(PrivacyConstraint.PrivacyLevel privacyLevel)
Constructor with default fine-grained collection implementation
where the entire data object is set to the given privacy level.
|
Modifier and Type | Method and Description |
---|---|
PrivacyConstraint.PrivacyLevel[] |
FineGrainedPrivacy.getColPrivacy(int numRows,
int numCols) |
PrivacyConstraint.PrivacyLevel[] |
FineGrainedPrivacyMap.getColPrivacy(int numRows,
int numCols) |
PrivacyConstraint.PrivacyLevel[] |
FineGrainedPrivacyList.getColPrivacy(int numRows,
int numCols) |
PrivacyConstraint.PrivacyLevel[] |
FineGrainedPrivacy.getRowPrivacy(int numRows,
int numCols) |
PrivacyConstraint.PrivacyLevel[] |
FineGrainedPrivacyMap.getRowPrivacy(int numRows,
int numCols) |
PrivacyConstraint.PrivacyLevel[] |
FineGrainedPrivacyList.getRowPrivacy(int numRows,
int numCols) |
Modifier and Type | Method and Description |
---|---|
DataRange[] |
FineGrainedPrivacy.getDataRangesOfPrivacyLevel(PrivacyConstraint.PrivacyLevel privacyLevel)
Get all data ranges for the given privacy level.
|
DataRange[] |
FineGrainedPrivacyMap.getDataRangesOfPrivacyLevel(PrivacyConstraint.PrivacyLevel privacyLevel) |
DataRange[] |
FineGrainedPrivacyList.getDataRangesOfPrivacyLevel(PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacy.put(DataRange dataRange,
PrivacyConstraint.PrivacyLevel privacyLevel)
Set privacy level of the given data range.
|
void |
FineGrainedPrivacyMap.put(DataRange dataRange,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacyList.put(DataRange dataRange,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacy.putCol(int colIndex,
int colLength,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacyMap.putCol(int colIndex,
int colLength,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacyList.putCol(int colIndex,
int colLength,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacy.putElement(int rowIndex,
int colIndex,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacyMap.putElement(int rowIndex,
int colIndex,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacyList.putElement(int rowIndex,
int colIndex,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacy.putRow(int rowIndex,
int rowLength,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacyMap.putRow(int rowIndex,
int rowLength,
PrivacyConstraint.PrivacyLevel privacyLevel) |
void |
FineGrainedPrivacyList.putRow(int rowIndex,
int rowLength,
PrivacyConstraint.PrivacyLevel privacyLevel) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.