Re: How to use BinaryObject from existing data

2018-01-25 Thread vkulichenko
When you create a table via SQL, you already fully describe its schema, so there is no need for QueryEntity. Can you clarify what you're trying to achieve? -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How to use BinaryObject from existing data

2018-01-24 Thread Humphrey
Is it possible to create a table by SQL and then add the QueryEntity (probably when creating the table) so later we are able to search with SqlFieldsQuery property? I mean without creating first a POJO first and defined in the cache configuration. -- Sent from:

Re: How to use BinaryObject from existing data

2018-01-24 Thread ezhuravlev
Hi, In your case, you, most possibly use Id as key, and it could be Long or Int. So, you just need to get it by this key. The example you provided describes the case with complex primary key. Evgenii -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

How to use BinaryObject from existing data

2018-01-24 Thread Thomas Isaksen
Hi I have created a table with three columns which I populated using sql. The table is called descriptor and the columns are id,name,description Now I wonder, how can I query this table to get a list of BinaryObjects? In the documentation I found this example: BinaryObject key =