ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Sapego <isap...@apache.org>
Subject Re: BinaryStringArrayWriter / BinaryStringArrayReader
Date Mon, 04 Jun 2018 10:38:12 GMT
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