ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Tupitsyn <ptupit...@gridgain.com>
Subject Re: Example for OP_PUT_BINARY_TYPE
Date Thu, 28 Dec 2017 11:18:39 GMT
Hi Prachi,

1) hash code of the field name
2) When "Is enum" is false, do not write anything, skip "Enum field count"
and "Enum values"
3) Schema is a set of field name hashes. Typically objects have a single
schema. Schema id is calculated as FNV1 hash, see
BinaryUtils.updateSchemaId.

On Thu, Dec 28, 2017 at 12:57 AM, Prachi Garg <pgarg@gridgain.com> wrote:

> Pavel,
>
> I am trying to come up with an example for OP_PUT_BINARY_TYPE = 3003.
> However, few things are not clear to me from the wiki doc -
>
> 1. In BinaryField, What is Field id?
> 2. If there is no enum, what should I put for 'Enum values'?
> 3. What is Schema?
>
> -P
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message