[jira] [Commented] (IGNITE-1645) .Net: Throw exception on null flag in PortableReader when reading non-nullable value types

2015-10-12 Thread Pavel Tupitsyn (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14952885#comment-14952885
 ] 

Pavel  Tupitsyn commented on IGNITE-1645:
-

* exceptions added in ReaderImpl and Future.OnNullvalue
* IgniteNullable<> added to handle nulls in Try* methods

> .Net: Throw exception on null flag in PortableReader when reading 
> non-nullable value types
> --
>
> Key: IGNITE-1645
> URL: https://issues.apache.org/jira/browse/IGNITE-1645
> Project: Ignite
>  Issue Type: Task
>  Components: interop
>Affects Versions: 1.5
>Reporter: Pavel  Tupitsyn
>Assignee: Vladimir Ozerov
> Fix For: 1.5
>
>
> Currently we always return default(T) when deserializing null value. So for 
> value types there is no way  for the user to discern a missing cache key from 
> a cache key with default value.
> * throw exceptions when there is Null in stream and we are trying to read a 
> value type
> * update Cache API with Try* methods



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (IGNITE-1645) .Net: Throw exception on null flag in PortableReader when reading non-nullable value types

2015-10-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14950539#comment-14950539
 ] 

ASF GitHub Bot commented on IGNITE-1645:


GitHub user ptupitsyn opened a pull request:

https://github.com/apache/ignite/pull/146

IGNITE-1645 .Net: Throw exception on null flag in PortableReader when 
reading non-nullable value types



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ptupitsyn/ignite ignite-1645

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/146.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #146


commit 60d70e4207733dba5c89f619d5b0f6408c1752ce
Author: ptupitsyn 
Date:   2015-10-09T11:46:10Z

Throw in reader

commit 00a16a2c34958cb38ea39d20e1a2f586e723ac06
Author: ptupitsyn 
Date:   2015-10-09T11:47:18Z

wip

commit 293ec0820c97c4cc176fc214938e8f2dec99d80c
Author: ptupitsyn 
Date:   2015-10-09T11:48:50Z

Merge remote-tracking branch 'remotes/upstream/ignite-1282' into ignite-1645

commit 79228771e5823daa81706c5bbf4351ae5ff3
Author: ptupitsyn 
Date:   2015-10-09T12:35:09Z

wip

commit ac9060827eb0774d7c0370554a578d98f5fb6c78
Author: ptupitsyn 
Date:   2015-10-09T12:35:33Z

wip

commit 06c6e5ca0f2de80e03d093165a9ea3eb2b1b0a06
Author: ptupitsyn 
Date:   2015-10-09T12:57:27Z

wip

commit aa6e43a7617956c5a81eeb3afd414ca3448e1b56
Author: ptupitsyn 
Date:   2015-10-09T14:13:53Z

wip

commit 3edb9b9f7d06182feebbb22079f2eea2ed0675fa
Author: ptupitsyn 
Date:   2015-10-09T14:32:32Z

iface done

commit 0ceea4f53a5f4fc31e201c011e52cec8e22339d8
Author: ptupitsyn 
Date:   2015-10-09T14:57:49Z

wip

commit 20c7b66538bd81852a26018cabb7188f806e2ec4
Author: ptupitsyn 
Date:   2015-10-09T14:57:54Z

wip

commit 6167bec2a1a60f65731d07fe2f17fcf06272b25c
Author: ptupitsyn 
Date:   2015-10-09T14:59:42Z

wip

commit 8ae9b9701e308afc4ccb09839c691b2e305bc5e4
Author: ptupitsyn 
Date:   2015-10-09T14:59:47Z

wip

commit 777456ede1a9031dc9feb6a524bf6b3e1431d739
Author: ptupitsyn 
Date:   2015-10-09T15:01:33Z

fixing tetst

commit 4b830771e8683469a342dbc232fd941020c0c660
Author: ptupitsyn 
Date:   2015-10-09T15:12:55Z

wip




> .Net: Throw exception on null flag in PortableReader when reading 
> non-nullable value types
> --
>
> Key: IGNITE-1645
> URL: https://issues.apache.org/jira/browse/IGNITE-1645
> Project: Ignite
>  Issue Type: Task
>  Components: interop
>Affects Versions: 1.5
>Reporter: Pavel  Tupitsyn
>Assignee: Pavel  Tupitsyn
> Fix For: 1.5
>
>
> Currently we always return default(T) when deserializing null value. So for 
> value types there is no way  for the user to discern a missing cache key from 
> a cache key with default value.
> * throw exceptions when there is Null in stream and we are trying to read a 
> value type
> * update Cache API with Try* methods



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)