Package oracle.sql.json
Enum OracleJsonValue.OracleJsonType
- java.lang.Object
-
- java.lang.Enum<OracleJsonValue.OracleJsonType>
-
- oracle.sql.json.OracleJsonValue.OracleJsonType
-
- All Implemented Interfaces:
Serializable
,Comparable<OracleJsonValue.OracleJsonType>
- Enclosing interface:
- OracleJsonValue
public static enum OracleJsonValue.OracleJsonType extends Enum<OracleJsonValue.OracleJsonType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY
An instance ofOracleJsonArray
BINARY
An instance ofOracleJsonBinary
DATE
An instance ofOracleJsonDate
DECIMAL
An instance ofOracleJsonDecimal
DOUBLE
An instance ofOracleJsonDouble
FALSE
An instance ofOracleJsonValue
equal toOracleJsonValue.FALSE
FLOAT
An instance ofOracleJsonFloat
INTERVALDS
An instance ofOracleJsonIntervalDS
INTERVALYM
An instance ofOracleJsonIntervalYM
NULL
An instance ofOracleJsonValue
equal toOracleJsonValue.NULL
OBJECT
An instance ofOracleJsonObject
STRING
An instance ofOracleJsonString
TIMESTAMP
An instance ofOracleJsonTimestamp
TIMESTAMPTZ
An instance ofOracleJsonTimestampTZ
TRUE
An instance ofOracleJsonValue
equal toOracleJsonValue.TRUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OracleJsonValue.OracleJsonType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OracleJsonValue.OracleJsonType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARRAY
public static final OracleJsonValue.OracleJsonType ARRAY
An instance ofOracleJsonArray
-
OBJECT
public static final OracleJsonValue.OracleJsonType OBJECT
An instance ofOracleJsonObject
-
NULL
public static final OracleJsonValue.OracleJsonType NULL
An instance ofOracleJsonValue
equal toOracleJsonValue.NULL
-
TRUE
public static final OracleJsonValue.OracleJsonType TRUE
An instance ofOracleJsonValue
equal toOracleJsonValue.TRUE
-
FALSE
public static final OracleJsonValue.OracleJsonType FALSE
An instance ofOracleJsonValue
equal toOracleJsonValue.FALSE
-
STRING
public static final OracleJsonValue.OracleJsonType STRING
An instance ofOracleJsonString
-
DECIMAL
public static final OracleJsonValue.OracleJsonType DECIMAL
An instance ofOracleJsonDecimal
-
FLOAT
public static final OracleJsonValue.OracleJsonType FLOAT
An instance ofOracleJsonFloat
-
DOUBLE
public static final OracleJsonValue.OracleJsonType DOUBLE
An instance ofOracleJsonDouble
-
TIMESTAMP
public static final OracleJsonValue.OracleJsonType TIMESTAMP
An instance ofOracleJsonTimestamp
-
TIMESTAMPTZ
public static final OracleJsonValue.OracleJsonType TIMESTAMPTZ
An instance ofOracleJsonTimestampTZ
-
DATE
public static final OracleJsonValue.OracleJsonType DATE
An instance ofOracleJsonDate
-
INTERVALYM
public static final OracleJsonValue.OracleJsonType INTERVALYM
An instance ofOracleJsonIntervalYM
-
INTERVALDS
public static final OracleJsonValue.OracleJsonType INTERVALDS
An instance ofOracleJsonIntervalDS
-
BINARY
public static final OracleJsonValue.OracleJsonType BINARY
An instance ofOracleJsonBinary
-
-
Method Detail
-
values
public static OracleJsonValue.OracleJsonType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OracleJsonValue.OracleJsonType c : OracleJsonValue.OracleJsonType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OracleJsonValue.OracleJsonType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-