Package | Description |
---|---|
oracle.sql.json |
The API for JSON type in Oracle Database.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OracleJsonArray
A JSON array (an ordered sequence of zero or more values).
|
interface |
OracleJsonBinary
A raw binary value (in any format) stored within JSON data.
|
interface |
OracleJsonDate
A SQL/JSON DATE value.
|
interface |
OracleJsonDecimal
A SQL/JSON fixed decimal value.
|
interface |
OracleJsonDouble
A 64-bit, double-precision floating-point number.
|
interface |
OracleJsonFloat
A 32-bit, single-precision floating-point number.
|
interface |
OracleJsonIntervalDS
A SQL/JSON time interval in days, hours, minutes, and seconds.
|
interface |
OracleJsonIntervalYM
A SQL/JSON time interval in years and months.
|
interface |
OracleJsonNumber
|
interface |
OracleJsonObject
A JSON object (an unordered collection of zero or more key/value
pairs).
|
interface |
OracleJsonString
A SQL/JSON string value.
|
interface |
OracleJsonStructure
Super type of
OracleJsonObject and OracleJsonArray . |
interface |
OracleJsonTimestamp
A SQL/JSON timestamp (without a timezone).
|
interface |
OracleJsonTimestampTZ
A SQL/JSON timestamp (with a timezone).
|
Modifier and Type | Field and Description |
---|---|
static OracleJsonValue |
OracleJsonValue.FALSE
JSON false.
|
static OracleJsonValue |
OracleJsonValue.FALSE
JSON false.
|
static OracleJsonValue |
OracleJsonValue.NULL
JSON null.
|
static OracleJsonValue |
OracleJsonValue.NULL
JSON null.
|
static OracleJsonValue |
OracleJsonValue.TRUE
JSON true.
|
static OracleJsonValue |
OracleJsonValue.TRUE
JSON true.
|
Modifier and Type | Method and Description |
---|---|
<T extends OracleJsonValue> |
OracleJsonArray.getValuesAs(Class<T> c)
Returns a view of this array for the given element type.
|
<T extends OracleJsonValue> |
OracleJsonArray.getValuesAs(Class<T> c)
Returns a view of this array for the given element type.
|
Modifier and Type | Method and Description |
---|---|
OracleJsonValue |
OracleJsonFactory.createBoolean(boolean value)
Creates a new JSON boolean value.
|
OracleJsonValue |
OracleJsonFactory.createBoolean(boolean value)
Creates a new JSON boolean value.
|
OracleJsonValue |
OracleJsonFactory.createJsonBinaryValue(ByteBuffer in)
Creates a
JsonValue from the given binary JSON
buffer. |
OracleJsonValue |
OracleJsonFactory.createJsonBinaryValue(ByteBuffer in)
Creates a
JsonValue from the given binary JSON
buffer. |
OracleJsonValue |
OracleJsonFactory.createJsonBinaryValue(InputStream in)
Creates a
OracleJsonValue from the given binary JSON
stream. |
OracleJsonValue |
OracleJsonFactory.createJsonBinaryValue(InputStream in)
Creates a
OracleJsonValue from the given binary JSON
stream. |
OracleJsonValue |
OracleJsonFactory.createJsonTextValue(InputStream in)
Creates a
OracleJsonValue from the given textual JSON
stream. |
OracleJsonValue |
OracleJsonFactory.createJsonTextValue(InputStream in)
Creates a
OracleJsonValue from the given textual JSON
stream. |
OracleJsonValue |
OracleJsonFactory.createJsonTextValue(Reader in)
Creates a
OracleJsonValue from the given textual JSON
stream. |
OracleJsonValue |
OracleJsonFactory.createJsonTextValue(Reader in)
Creates a
OracleJsonValue from the given textual JSON
stream. |
OracleJsonValue |
OracleJsonFactory.createNull()
Returns
OracleJsonValue.NULL . |
OracleJsonValue |
OracleJsonFactory.createNull()
Returns
OracleJsonValue.NULL . |
OracleJsonValue |
OracleJsonFactory.createValue(Datum datum)
Creates a new JSON value from a Datum.
|
OracleJsonValue |
OracleJsonFactory.createValue(Datum datum)
Creates a new JSON value from a Datum.
|
OracleJsonValue |
OracleJsonParser.getValue()
Return the value at the current parser event.
|
OracleJsonValue |
OracleJsonParser.getValue()
Return the value at the current parser event.
|
OracleJsonValue |
OracleJsonObject.put(String key,
BigDecimal value)
Associates the specified decimal value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
BigDecimal value)
Associates the specified decimal value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
boolean value)
Associates the specified boolean value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
boolean value)
Associates the specified boolean value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
byte[] values)
Associates the specified binary value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
byte[] values)
Associates the specified binary value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
double value)
Associates the specified double value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
double value)
Associates the specified double value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
int value)
Associates the specified integer value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
int value)
Associates the specified integer value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
java.time.LocalDateTime value)
Associates the specified value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
java.time.LocalDateTime value)
Associates the specified value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
long value)
Associates the specified long value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
long value)
Associates the specified long value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
java.time.OffsetDateTime value)
Associates the specified value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
java.time.OffsetDateTime value)
Associates the specified value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
String value)
Associates the specified string value with the specified key.
|
OracleJsonValue |
OracleJsonObject.put(String key,
String value)
Associates the specified string value with the specified key.
|
OracleJsonValue |
OracleJsonObject.putNull(String key)
Associates the
NULL with the specified key. |
OracleJsonValue |
OracleJsonObject.putNull(String key)
Associates the
NULL with the specified key. |
OracleJsonValue |
OracleJsonArray.set(int index,
BigDecimal value)
Replaces the value at the specified position in the array with the
specified decimal value.
|
OracleJsonValue |
OracleJsonArray.set(int index,
BigDecimal value)
Replaces the value at the specified position in the array with the
specified decimal value.
|
OracleJsonValue |
OracleJsonArray.set(int index,
boolean value)
Replaces the value at the specified position in the array with the
specified
boolean . |
OracleJsonValue |
OracleJsonArray.set(int index,
boolean value)
Replaces the value at the specified position in the array with the
specified
boolean . |
OracleJsonValue |
OracleJsonArray.set(int index,
byte[] value)
Replaces the value at the specified position in the array with the
specified byte array.
|
OracleJsonValue |
OracleJsonArray.set(int index,
byte[] value)
Replaces the value at the specified position in the array with the
specified byte array.
|
OracleJsonValue |
OracleJsonArray.set(int index,
double value)
Replaces the value at the specified position in the array with the
specified
double . |
OracleJsonValue |
OracleJsonArray.set(int index,
double value)
Replaces the value at the specified position in the array with the
specified
double . |
OracleJsonValue |
OracleJsonArray.set(int index,
int value)
Replaces the value at the specified position in the array with the
specified integer.
|
OracleJsonValue |
OracleJsonArray.set(int index,
int value)
Replaces the value at the specified position in the array with the
specified integer.
|
OracleJsonValue |
OracleJsonArray.set(int index,
java.time.LocalDateTime value)
Replaces the value at the specified position in the array with the
specified
LocalDateTime . |
OracleJsonValue |
OracleJsonArray.set(int index,
java.time.LocalDateTime value)
Replaces the value at the specified position in the array with the
specified
LocalDateTime . |
OracleJsonValue |
OracleJsonArray.set(int index,
long value)
Replaces the value at the specified position in the array with the
specified
long . |
OracleJsonValue |
OracleJsonArray.set(int index,
long value)
Replaces the value at the specified position in the array with the
specified
long . |
OracleJsonValue |
OracleJsonArray.set(int index,
java.time.OffsetDateTime value)
Replaces the value at the specified position in the array with the
specified
OffsetDateTime . |
OracleJsonValue |
OracleJsonArray.set(int index,
java.time.OffsetDateTime value)
Replaces the value at the specified position in the array with the
specified
OffsetDateTime . |
OracleJsonValue |
OracleJsonArray.set(int index,
String value)
Replaces the value at the specified position in the array with the
specified string.
|
OracleJsonValue |
OracleJsonArray.set(int index,
String value)
Replaces the value at the specified position in the array with the
specified string.
|
OracleJsonValue |
OracleJsonArray.setNull(int index)
Replaces the value at the specified position in the array with
OracleJsonValue.NULL . |
OracleJsonValue |
OracleJsonArray.setNull(int index)
Replaces the value at the specified position in the array with
OracleJsonValue.NULL . |
Modifier and Type | Method and Description |
---|---|
OracleJsonGenerator |
OracleJsonGenerator.write(OracleJsonValue value)
Writes the specified value.
|
OracleJsonGenerator |
OracleJsonGenerator.write(OracleJsonValue value)
Writes the specified value.
|
OracleJsonGenerator |
OracleJsonGenerator.write(String key,
OracleJsonValue value)
A convenience method that is equivalent to calling
writeKey(name)
and then write(value) . |
OracleJsonGenerator |
OracleJsonGenerator.write(String key,
OracleJsonValue value)
A convenience method that is equivalent to calling
writeKey(name)
and then write(value) . |