ResultSetOptions
Options that control how the result set is returned.
Contents
- decimalReturnType
-
A value that indicates how a field of
DECIMALtype is represented in the response. The value ofSTRING, the default, specifies that it is converted to a String value. The value ofDOUBLE_OR_LONGspecifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.Note
Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.
Type: String
Valid Values:
STRING | DOUBLE_OR_LONGRequired: No
- longReturnType
-
A value that indicates how a field of
LONGtype is represented. Allowed values areLONGandSTRING. The default isLONG. SpecifySTRINGif the length or precision of numeric values might cause truncation or rounding errors.Type: String
Valid Values:
STRING | LONGRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: