You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by vkulichenko <va...@gmail.com> on 2015/07/08 00:35:22 UTC
Re: Count unique items.
You can use SQL queries for this. E.g., to answer the first question you will
use this query:
select distinct color from Car where manufacturer = 'Honda'
Here is the documentation page about hot to configure and use Ignite query
APIs: http://apacheignite.readme.io/v1.2/docs/cache-queries
-Val
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Count-unique-items-tp615p616.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Count unique items.
Posted by Sergi Vladykin <se...@gmail.com>.
Feel free to file a ticket in our Jira if it does not ;)
https://issues.apache.org/jira/browse/IGNITE/
Sergi
2015-07-09 23:24 GMT+03:00 javadevmtl <ja...@gmail.com>:
> And distinct works cross the cluster?
>
> On 7 July 2015 at 18:35, vkulichenko [via Apache Ignite Users] <[hidden
> email] <http:///user/SendEmail.jtp?type=node&node=630&i=0>> wrote:
>
>> You can use SQL queries for this. E.g., to answer the first question you
>> will use this query:
>>
>> select distinct color from Car where manufacturer = 'Honda'
>>
>> Here is the documentation page about hot to configure and use Ignite
>> query APIs: http://apacheignite.readme.io/v1.2/docs/cache-queries
>>
>> -Val
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://apache-ignite-users.70518.x6.nabble.com/Count-unique-items-tp615p616.html
>> To unsubscribe from Count unique items., click here.
>> NAML
>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: Count unique items.
> <http://apache-ignite-users.70518.x6.nabble.com/Count-unique-items-tp615p630.html>
>
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>
Re: Count unique items.
Posted by javadevmtl <ja...@gmail.com>.
And distinct works cross the cluster?
On 7 July 2015 at 18:35, vkulichenko [via Apache Ignite Users] <
ml-node+s70518n616h33@n6.nabble.com> wrote:
> You can use SQL queries for this. E.g., to answer the first question you
> will use this query:
>
> select distinct color from Car where manufacturer = 'Honda'
>
> Here is the documentation page about hot to configure and use Ignite query
> APIs: http://apacheignite.readme.io/v1.2/docs/cache-queries
>
> -Val
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-ignite-users.70518.x6.nabble.com/Count-unique-items-tp615p616.html
> To unsubscribe from Count unique items., click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=615&code=amF2YS5kZXYubXRsQGdtYWlsLmNvbXw2MTV8MTE3NjM4NTY0Mw==>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Count-unique-items-tp615p630.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.