Java SDK Documentation
23.4.0
|
Public Member Functions | |
TypeCoercionPolicy (String errorReason) | |
String | getErrorReason () |
Public Attributes | |
FAIL_INVALID_INPUT_TYPE | |
FAIL_INVALID_INPUT_VALUE | |
FAIL_SDK_UNSUPPORTED_TYPE | |
FAIL_UNSUPPORTED_TYPE | |
TRUNCATE_VALUES | |
A collection of optional policy choices for TypeCoercion instances. These represent common choices that can be enabled or disabled for a given TypeCoercion instance.
com.vertica.sdk.TypeCoercionPolicy.FAIL_INVALID_INPUT_TYPE |
Consider invalid input types as failures.
Referenced by com.vertica.sdk.NoopTypeCoercion.getDefaultPolicy().
com.vertica.sdk.TypeCoercionPolicy.FAIL_INVALID_INPUT_VALUE |
Consider invalid input values (of valid input type) as failures.
Referenced by com.vertica.sdk.NoopTypeCoercion.getDefaultPolicy().
com.vertica.sdk.TypeCoercionPolicy.FAIL_SDK_UNSUPPORTED_TYPE |
Consider target types that are unsupported by the Vertica Java SDK as failures.
Referenced by com.vertica.sdk.NoopTypeCoercion.getDefaultPolicy().
com.vertica.sdk.TypeCoercionPolicy.FAIL_UNSUPPORTED_TYPE |
Consider types that are unsupported by TypeCoercion as failures. See FAIL_SDK_UNSUPPORTED_TYPE for types not supported by the Vertica SDK.
Referenced by com.vertica.sdk.NoopTypeCoercion.getDefaultPolicy().
com.vertica.sdk.TypeCoercionPolicy.TRUNCATE_VALUES |
Values that are too large for the target type should be truncated. Otherwise, they are treated as invalid input values and handled according to FAIL_INVALID_INPUT_VALUE.