I started working on a wiki with user stories and use cases to allow us to
triage the requirements better
http://wiki.zeitgeist-project.com/index.php?title=Aggregation_API

On Thu, Nov 4, 2010 at 3:39 PM, Markus Korn <thek...@gmx.de> wrote:

> I suggest something like:
>
> def find_events_and_data(*find_event_arguments, datatype_const):
>    ...
>    return result
>
> result = [events, data]
>
> datatype_const:
>    DATATYPE_COUNT -> result of COUNT() from within the sql-query
>    DATATYPE_RELATIVE_COUNT -> result of COUNT() from within the sql-query
> relative to the overall result
>    ...
>
> same with ids
>
> which is more flexible than seif's proposal, data is not necessarily a
> count...
>
> --
> Add new aggregate API
> https://bugs.launchpad.net/bugs/670358
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Zeitgeist Framework: New
>
> Bug description:
> Zeitgeist API can give us vague information but not statistics over the API
> Use case:
> - Give me counts of every subject_text from actor = Unity
> Currently to do that one will need to either:
> Request all events with Unity as an Actor and count the subject_text
> This can be done much better IMHO
> I am thinking of an Aggregation Extension.
> But before we hack on that we need to agree if its necessary and how the
> API will look like.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/zeitgeist/+bug/670358/+subscribe
>


-- 
This is me doing some advertisement for my blog http://seilo.geekyogre.com

-- 
Add new aggregate API
https://bugs.launchpad.net/bugs/670358
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New

Bug description:
Zeitgeist API can give us vague information but not statistics over the API
Use case:
- Give me counts of every subject_text from actor = Unity
Currently to do that one will need to either:
Request all events with Unity as an Actor and count the subject_text
This can be done much better IMHO
I am thinking of an Aggregation Extension.
But before we hack on that we need to agree if its necessary and how the API 
will look like.



_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to