ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "F.D." <free.devel...@gmail.com>
Subject Re: BinaryStringArrayWriter / BinaryStringArrayReader
Date Thu, 07 Jun 2018 09:17:26 GMT
Perfect!

Thanks
   F.D.

On Mon, Jun 4, 2018 at 12:38 PM Igor Sapego <isapego@apache.org> wrote:

> Hi,
>
> Yes, you can use BinaryStringArrayWriter / BinaryStringArrayReader.
>
> No, to get BinaryStringArrayReader, you should use method
> BinaryReader::ReadStringArray(const char* fieldName);
>
> Best Regards,
> Igor
>
> On Sun, Jun 3, 2018 at 1:31 AM, F.D. <free.devel.70@gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to develop a distributed closure in C++. The return type of my
>> closure is a std::vector<std::string>>, so I think that I have to implement
>> a BinaryType to serialize it. The question is: in the Write and Read
>> methods can I use the BinaryStringArrayWriter / BinaryStringArrayReader or
>> I have to use my own solution?
>>
>> And If I can, the first argument (impl::binary::BinaryReaderImpl *impl)
>> is the first argoment of my method Read (BinaryReader &reader)?
>>
>> Thanks,
>>    F.D.
>>
>
>

Mime
View raw message