Hi, you can use BinaryObject API without defining any classes:

ignite.binary().builder("ANY_STRING_HERE");
builder.setField("id", 1);
builder.setField("name", "John");

On Tue, Dec 29, 2020 at 9:56 AM Naveen <[email protected]> wrote:

> HI
>
> We dont need a model / pojo class or value object defined for a table while
> creating a table and we can still insert data thru SQL and read the data
> thru SQL API as well as Java KV or binary objects
> However, if we want to insert data thru Java API by using binary object or
> KV (put cache), we do need to a value object right ?? Even if use
> BinaryObject also, we do need a POJO right for building the binary object ?
> Is there a way, we can insert data without using a pojo class completely.
> I do know that, if we dont define a value_type field while creating a
> table,
> Ignite will give some random name to the the value_type to SQL_bla_bla
> etc..
>
> Thanks
> Naveen
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to