Module com.microsoft.sqlserver.jdbc
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 enumSensitivity 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 aSensitivityClassificationObjectSensitivityClassification(List<Label> labels, List<InformationType> informationTypes, List<ColumnSensitivity> columnSensitivity, int sensitivityRank) Constructs aSensitivityClassificationObject -
Method Summary
Modifier and TypeMethodDescriptionReturns the column sensitivity for thisSensitivityClassificationObjectReturns the information types for thisSensitivityClassificationObjectReturns the labels for thisSensitivityClassificationObjectintReturns the sensitivity rank
-
Constructor Details
-
SensitivityClassification
public SensitivityClassification(List<Label> labels, List<InformationType> informationTypes, List<ColumnSensitivity> columnSensitivity) Constructs aSensitivityClassificationObject- 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 aSensitivityClassificationObject- 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 thisSensitivityClassificationObject- Returns:
- labels
-
getInformationTypes
Returns the information types for thisSensitivityClassificationObject- Returns:
- informationTypes
-
getColumnSensitivities
Returns the column sensitivity for thisSensitivityClassificationObject- Returns:
- columnSensitivities
-
getSensitivityRank
public int getSensitivityRank()Returns the sensitivity rank- Returns:
- sensitivity rank
-