Package oracle.jdbc
Enum Class OracleResultSetMetaData.SecurityAttribute
java.lang.Object
java.lang.Enum<OracleResultSetMetaData.SecurityAttribute>
oracle.jdbc.OracleResultSetMetaData.SecurityAttribute
- All Implemented Interfaces:
Serializable,Comparable<OracleResultSetMetaData.SecurityAttribute>,Constable
- Enclosing interface:
- OracleResultSetMetaData
public static enum OracleResultSetMetaData.SecurityAttribute
extends Enum<OracleResultSetMetaData.SecurityAttribute>
eXtensible Data Security (XDS) attribute.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No XDS policy for the column or the policy is not enabled. -
ENABLED
Column Security policy is enabled for the column. The value of this column in aResultSetcould be marked as unauthorized. If the value is unauthorized, the NULL value is returned. -
UNKNOWN
The Column Security (XDS) policy for this column is unknown. If the data is NULL or truncated for this column at a given row it may be because of some security restrictions.When the column is for example the union of column which has security attributes and a column which hasn't:
select C1 || C2 from mytable;
where C1 has security attributes and C2 hasn't. In that case in theResultSetthe value could be non-null although the C1 part is null because it's unauthorized.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-