Andrey Mashenkov created IGNITE-16115:
-----------------------------------------
Summary: Implement getNullable and getOrDefault operations.
Key: IGNITE-16115
URL: https://issues.apache.org/jira/browse/IGNITE-16115
Project: Ignite
Issue Type: Improvement
Reporter: Andrey Mashenkov
It is allowed to map an object to a single nullable column, which makes 'null'
values legal in the KeyValue view.
Once the 'null' value is possible there is no way to distinguish, if there is
no row in a table for the given key, or the row exists and the mapped column
contains the 'null' value.
Let's introduce NullableValue class-wrapper for a value and implement
getNullable, and getOrDefault methods for that purpose.
The first is useful for cases, when it's not possible to use a "default", but
creates an additional wrapper.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)