Class SensitivityClassification
java.lang.Object
com.microsoft.sqlserver.jdbc.dataclassification.SensitivityClassification
Provides the functionality to retrieve Sensitivity Classification data as received from SQL Server for the active
resultSet
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Sensitivity Rank https://docs.microsoft.com/sql/relational-databases/system-catalog-views/sys-sensitivity-classifications-transact-sql -
Constructor Summary
ConstructorsConstructorDescriptionSensitivityClassification(List<Label> labels, List<InformationType> informationTypes, List<ColumnSensitivity> columnSensitivity)
Constructs aSensitivityClassification
ObjectSensitivityClassification(List<Label> labels, List<InformationType> informationTypes, List<ColumnSensitivity> columnSensitivity, int sensitivityRank)
Constructs aSensitivityClassification
Object -
Method Summary
Modifier and TypeMethodDescriptionReturns the column sensitivity for thisSensitivityClassification
ObjectReturns the information types for thisSensitivityClassification
ObjectReturns the labels for thisSensitivityClassification
Objectint
Returns the sensitivity rank
-
Constructor Details
-
SensitivityClassification
public SensitivityClassification(List<Label> labels, List<InformationType> informationTypes, List<ColumnSensitivity> columnSensitivity)Constructs aSensitivityClassification
Object- Parameters:
labels
- Labels as received from SQL ServerinformationTypes
- Information Types as received from SQL ServercolumnSensitivity
- Column Sensitivities as received from SQL Server
-
SensitivityClassification
public SensitivityClassification(List<Label> labels, List<InformationType> informationTypes, List<ColumnSensitivity> columnSensitivity, int sensitivityRank)Constructs aSensitivityClassification
Object- Parameters:
labels
- Labels as received from SQL ServerinformationTypes
- Information Types as received from SQL ServercolumnSensitivity
- Column Sensitivities as received from SQL ServersensitivityRank
- Sensitivity rank as received from SQL Server
-
-
Method Details
-
getLabels
Returns the labels for thisSensitivityClassification
Object- Returns:
- labels
-
getInformationTypes
Returns the information types for thisSensitivityClassification
Object- Returns:
- informationTypes
-
getColumnSensitivities
Returns the column sensitivity for thisSensitivityClassification
Object- Returns:
- columnSensitivities
-
getSensitivityRank
public int getSensitivityRank()Returns the sensitivity rank- Returns:
- sensitivity rank
-