ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alex.glau" <alex.g...@gmail.com>
Subject Re: Performance of join SQL queries
Date Fri, 14 Aug 2015 08:26:18 GMT
Hi Sergi,

1) Group index example is in:
https://github.com/gridgain/gridgain-advanced-examples/blob/master/src/main/java/org/gridgain/examples/datagrid/query/GroupIndexExample.java

2) Can you add the syntax of group index to documentation?

3) Is ordering of group index started from 0 or from 1?

4) If some field has individual index and in addition is participated in
several group indexes, the set of annotations should look like:

@QuerySqlField(index=true)
@QuerySqlField(orderedGroups = {@QuerySqlField.Group(name = "grp1", order =
1)})
@QuerySqlField(orderedGroups = {@QuerySqlField.Group(name = "grp2", order =
2)})

or 

@QuerySqlField(index=true)
@QuerySqlField(orderedGroups = {@QuerySqlField.Group(name = "grp1", order =
1), @QuerySqlField.Group(name = "grp2", order = 2)})

which variant is right?

Thanks,
Alex.




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Performance-of-join-SQL-queries-tp845p977.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message