CoercionInputShape
that does not directly or naturally match target type
(LogicalType).
This action is suggestion for deserializers to use in cases
where alternate actions could be appropriate: it is up to deserializer
to check configured action and take it into consideration.
| Modifier and Type | Field and Description |
|---|---|
| public static final CoercionAction | AsEmpty
Action to convert to "empty" value for type, whatever that is: for
primitive types and their wrappers this is "default" value (for example,
for |
| public static final CoercionAction | AsNull
Action to convert to |
| public static final CoercionAction | Fail
Action to fail coercion attempt with exceptipn |
| public static final CoercionAction | TryConvert
Action to attempt coercion (which may lead to failure) |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CoercionAction | |
| public static CoercionAction[] |
| AsEmpty | back to summary |
|---|---|
| public static final CoercionAction AsEmpty Action to convert to "empty" value for type, whatever that is: for
primitive types and their wrappers this is "default" value (for example,
for | |
| AsNull | back to summary |
|---|---|
| public static final CoercionAction AsNull Action to convert to | |
| Fail | back to summary |
|---|---|
| public static final CoercionAction Fail Action to fail coercion attempt with exceptipn | |
| TryConvert | back to summary |
|---|---|
| public static final CoercionAction TryConvert Action to attempt coercion (which may lead to failure) | |
| CoercionAction | back to summary |
|---|---|
| private CoercionAction() | |
| valueOf | back to summary |
|---|---|
| public static CoercionAction valueOf(String name) | |
| values | back to summary |
|---|---|
| public static CoercionAction[] values() | |