Allow multiple fields in GroupBy ResultTransformer #473

Closed
daniel-frank opened this Issue Aug 9, 2013 · 5 comments

Comments

Projects
None yet
3 participants
@daniel-frank

Allow multiple fields in GroupBy ResultTransformer. I think this improvement how something like this:

query.transform(groupBy(t.id, t.date).as(list(e.name, e.salary)));

Thx

@ghost ghost assigned timowest Aug 27, 2013

timowest added a commit that referenced this issue Aug 29, 2013

Add QList for List typed projections
Add multi argument creation for GroupBy ResultTransformer #473

timowest added a commit that referenced this issue Aug 30, 2013

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Aug 30, 2013

Member

Could you try with the latest SNAPSHOT from here https://oss.sonatype.org/content/repositories/snapshots/

Multiple keys are encoded as lists.

Member

timowest commented Aug 30, 2013

Could you try with the latest SNAPSHOT from here https://oss.sonatype.org/content/repositories/snapshots/

Multiple keys are encoded as lists.

@TuomasKiviaho

This comment has been minimized.

Show comment
Hide comment
@TuomasKiviaho

TuomasKiviaho Oct 8, 2013

Contributor

Is it possible enable generics in the QList. (QList)

Contributor

TuomasKiviaho commented Oct 8, 2013

Is it possible enable generics in the QList. (QList)

@daniel-frank

This comment has been minimized.

Show comment
Hide comment
@daniel-frank

daniel-frank Oct 15, 2013

Sorry for the delay. Worked well with version 3.2.4.BUILD-SNAPSHOT.
In my report i need to group first by a code and then by a date, something like a map(code is the key) of map(date is the key), anyway to do something like that?

Sorry for the delay. Worked well with version 3.2.4.BUILD-SNAPSHOT.
In my report i need to group first by a code and then by a date, something like a map(code is the key) of map(date is the key), anyway to do something like that?

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 17, 2013

Member

@TuomasKiviaho Currently not.

@daniel-frank Two level aggregates are not yet supported, if that's what you mean.

Member

timowest commented Oct 17, 2013

@TuomasKiviaho Currently not.

@daniel-frank Two level aggregates are not yet supported, if that's what you mean.

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 20, 2013

Member

Released in 3.2.4

Member

timowest commented Oct 20, 2013

Released in 3.2.4

@timowest timowest closed this Oct 20, 2013

@timowest timowest added this to the 3.2.4 milestone Apr 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment