View a markdown version of this page

SqlValue - AWS Context

SqlValue

One value. Exactly one member is set, and the column's type determines which member.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

blobValue

A VARBINARY column value, as binary data.

Type: Base64-encoded binary data object

Required: No

booleanValue

A BOOLEAN column value.

Type: Boolean

Required: No

doubleValue

REAL and DOUBLE, except NaN and infinities, which are stringValue (NaN, Infinity, -Infinity).

Type: Double

Required: No

jsonValue

An ARRAY, STRUCT, or MAP column value, as JSON text: an array, an object, and an array of {"key": ..., "value": ...} entries. Nested values follow the same rules, with NULL as null.

Type: String

Required: No

longValue

A TINYINT, SMALLINT, INTEGER, or BIGINT column value.

Type: Long

Required: No

nullValue

Specifies whether the value is a SQL NULL. Always true when present.

Type: Boolean

Required: No

stringValue

VARCHAR, and the types whose exact form is text: DECIMAL and unsigned 64-bit integers in plain notation, DATE (yyyy-MM-dd), TIME and TIMESTAMP (ISO-8601 at the column's precision; Z when timeZone is set), and INTERVAL (ISO-8601 duration). An UNKNOWN column's values are NULL. A non-null value of a type the service cannot return fails the request with ValidationException (cast the column to VARCHAR).

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: