public static interface ResultSetOptions.Builder extends SdkPojo, CopyableBuilder<ResultSetOptions.Builder,ResultSetOptions>
| Modifier and Type | Method and Description |
|---|---|
ResultSetOptions.Builder |
decimalReturnType(DecimalReturnType decimalReturnType)
A value that indicates how a field of
DECIMAL type is represented in the response. |
ResultSetOptions.Builder |
decimalReturnType(String decimalReturnType)
A value that indicates how a field of
DECIMAL type is represented in the response. |
ResultSetOptions.Builder |
longReturnType(LongReturnType longReturnType)
A value that indicates how a field of
LONG type is represented. |
ResultSetOptions.Builder |
longReturnType(String longReturnType)
A value that indicates how a field of
LONG type is represented. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResultSetOptions.Builder decimalReturnType(String decimalReturnType)
A value that indicates how a field of DECIMAL type is represented in the response. The value of
STRING, the default, specifies that it is converted to a String value. The value of
DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double
value otherwise.
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.
decimalReturnType - A value that indicates how a field of DECIMAL type is represented in the response. The
value of STRING, the default, specifies that it is converted to a String value. The value
of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to
a Double value otherwise. 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.
DecimalReturnType,
DecimalReturnTypeResultSetOptions.Builder decimalReturnType(DecimalReturnType decimalReturnType)
A value that indicates how a field of DECIMAL type is represented in the response. The value of
STRING, the default, specifies that it is converted to a String value. The value of
DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double
value otherwise.
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.
decimalReturnType - A value that indicates how a field of DECIMAL type is represented in the response. The
value of STRING, the default, specifies that it is converted to a String value. The value
of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to
a Double value otherwise. 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.
DecimalReturnType,
DecimalReturnTypeResultSetOptions.Builder longReturnType(String longReturnType)
A value that indicates how a field of LONG type is represented. Allowed values are
LONG and STRING. The default is LONG. Specify STRING if
the length or precision of numeric values might cause truncation or rounding errors.
longReturnType - A value that indicates how a field of LONG type is represented. Allowed values are
LONG and STRING. The default is LONG. Specify
STRING if the length or precision of numeric values might cause truncation or rounding
errors.LongReturnType,
LongReturnTypeResultSetOptions.Builder longReturnType(LongReturnType longReturnType)
A value that indicates how a field of LONG type is represented. Allowed values are
LONG and STRING. The default is LONG. Specify STRING if
the length or precision of numeric values might cause truncation or rounding errors.
longReturnType - A value that indicates how a field of LONG type is represented. Allowed values are
LONG and STRING. The default is LONG. Specify
STRING if the length or precision of numeric values might cause truncation or rounding
errors.LongReturnType,
LongReturnTypeCopyright © 2022. All rights reserved.