Can you show the exact query that you're running?
In any case, such search can't be indexed, so on large data sets it will be
very slow.
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-Using-complex-object-with-nested-attributes-and-search
=932592472, hash=54960993, city=UT, street=street1]]
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-Using-complex-object-with-nested-attributes-and-search-tp6556p6583.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-Using-complex-object-with-nested-attributes-and-search-tp6556p6573.html
Sent from the Apache
You can do this using ScanQuery by passing predicate to it. Predicate will
have all conditions you want to check like
person.name.contains(searchparameter) For JOINS, you have to use SqlQuery
but I havent tried that.
On Wed, Jul 27, 2016 at 6:50 AM, M Singh wrote:
> Hi:
>
Hi:
Can we insert a complex object into ignite cache and search it ?
Eg ( psuedocode ):public class Person { int age,
String name,
List address,
Tuple2 parents,
}
If it is possible, how can we annotated them ? Also, can these nested
attributes be used in SQL joins ?