[jira] [Created] (IGNITE-1466) CPP: Implement portable objects support.

2015-09-14 Thread Vladimir Ozerov (JIRA)
Vladimir Ozerov created IGNITE-1466:
---

 Summary: CPP: Implement portable objects support.
 Key: IGNITE-1466
 URL: https://issues.apache.org/jira/browse/IGNITE-1466
 Project: Ignite
  Issue Type: Task
  Components: interop
Affects Versions: 1.1.4
Reporter: Vladimir Ozerov
Priority: Critical
 Fix For: ignite-1.5


We need to support portable objects in the same way as it is done in .Net and 
Java: if some flag ("keepPortable") is set, then we should return not real 
object, but rather a wrapper around it.



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


Re: Portable objects

2015-09-03 Thread Denis Magda
To be more specific public Portable API is located in the following 
packages:
- org.apache.ignite.marshaller.portable package (contains 
PortableMarshaller only);
- org.apache.ignite.portable package (PortableObject, PortableBuilder, 
PortableMetadata, etc.);

- IgnitePortables interface is placed into org.apache.ignite;

New methods are added to some existed public interfaces:
- Ignite.portables() - returns reference to IgnitePortables interface impl;
- IgniteCache.withKeepPortable() - returns cache instance with 
'keepPortable' flag enabled;
- CacheConfiguration.isKeepPortableInStore()/setKeepPortableInStore() - 
controls 'keepPortableInStore' flag.


Portable API examples should be merged shortly to 1.4 branch.

--
Denis

On 9/3/2015 8:02 AM, Denis Magda wrote:

Val,

Yes, the portable API and its implementation is already a part of both 
master and 1.4 branches.


--
Denis

On 9/2/2015 11:54 PM, Valentin Kulichenko wrote:

Igniters,

Are portable objects already migrated and will be released as a part 
of 1.4
(I see that APIs and configuration changes are already in master)? I 
just

thought it's a pretty big change and we were going to include it only in
1.5, correct me if I'm wrong.

-Val







Re: Portable objects

2015-09-02 Thread Denis Magda

Val,

Yes, the portable API and its implementation is already a part of both 
master and 1.4 branches.


--
Denis

On 9/2/2015 11:54 PM, Valentin Kulichenko wrote:

Igniters,

Are portable objects already migrated and will be released as a part of 1.4
(I see that APIs and configuration changes are already in master)? I just
thought it's a pretty big change and we were going to include it only in
1.5, correct me if I'm wrong.

-Val





Portable objects

2015-09-02 Thread Valentin Kulichenko
Igniters,

Are portable objects already migrated and will be released as a part of 1.4
(I see that APIs and configuration changes are already in master)? I just
thought it's a pretty big change and we were going to include it only in
1.5, correct me if I'm wrong.

-Val