I am really interested in this API since it would help a lot to the
Music players like number of time a track is player. Music player is
used by everyone, so it is a good use case which might reach out the
maximum to the users. I just need some explanation

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

Can anyone explain a sample of how the *find_event_arguments might look?
Is it an event template? Single or a list?

I got  datatype_const (which is sort of an enumeration, but not true in
the strict sense)

about [events,data] how are they contained? It would be very clear if
Markus gives a complete example. Sample input data, and sample output
data.

-- 
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: Confirmed

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