Interface SqlValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SqlValue.Builder,,SqlValue> SdkBuilder<SqlValue.Builder,,SqlValue> SdkPojo
- Enclosing class:
SqlValue
-
Method Summary
Modifier and TypeMethodDescriptionA VARBINARY column value, as binary data.booleanValue(Boolean booleanValue) A BOOLEAN column value.doubleValue(Double doubleValue) REAL and DOUBLE, except NaN and infinities, which arestringValue(NaN,Infinity,-Infinity).An ARRAY, STRUCT, or MAP column value, as JSON text: an array, an object, and an array of{"key": ..., "value": ...}entries.A TINYINT, SMALLINT, INTEGER, or BIGINT column value.Specifies whether the value is a SQL NULL.stringValue(String 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;ZwhentimeZoneis set), and INTERVAL (ISO-8601 duration).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
nullValue
Specifies whether the value is a SQL NULL. Always
truewhen present.- Parameters:
nullValue- Specifies whether the value is a SQL NULL. Alwaystruewhen present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
booleanValue
A BOOLEAN column value.
- Parameters:
booleanValue- A BOOLEAN column value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longValue
A TINYINT, SMALLINT, INTEGER, or BIGINT column value.
- Parameters:
longValue- A TINYINT, SMALLINT, INTEGER, or BIGINT column value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
doubleValue
REAL and DOUBLE, except NaN and infinities, which are
stringValue(NaN,Infinity,-Infinity).- Parameters:
doubleValue- REAL and DOUBLE, except NaN and infinities, which arestringValue(NaN,Infinity,-Infinity).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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;ZwhentimeZoneis 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).- Parameters:
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;ZwhentimeZoneis 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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blobValue
A VARBINARY column value, as binary data.
- Parameters:
blobValue- A VARBINARY column value, as binary data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 asnull.- Parameters:
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 asnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-