Hello,

Have you tried to create Node.JS classes with a structure similar to Java
objects and use them in put/get methods?
https://apacheignite.readme.io/docs/nodejs-thin-client-binary-types

As for the initial data loading, an efficient API has not been added to the
Node.JS yet. Use Java IgniteDataStreamer or CacheStore.load to load records
to Ignite.

-
Denis


On Tue, Feb 11, 2020 at 11:50 PM nithin91 <
[email protected]> wrote:

> Hi
>
> I am new to Apache Ignite.Can someone help me on how to fetch and load the
> data from ignite cache
> using node js without using sql field queries option. Cache is loaded using
> CacheJDBCPOJO Store and the Key and Value types are custom types defined
> using JAVA.As these classes are defined in Java not sure on how to fetch
> the
> data using node.
>
> Hope the following example , explains the issue better.
>
> We have ignite cache of custom key Type i.e Person Key with attributes
> Person First Name and person Last Name and custom value type  i.e Person
> Info with attributes Person Address and Person Age etc.
>  These classes are defined in Java and the caches are configured in Bean
> File and loaded using CacheJDBCPOJO Store.
>
> As these classes will not be available in node js, how can we load /fetch
> the data from node js using cahe.put /cache.get.Tried creating similar
> classes in node and pass the object of these classes to
> cahe.put /cache.get but it is in't working.
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to