how to apply aggregation function liker( sorting and group by on field) on redis data by using sp...

...ring data

I have search a lot on internet but could not find any sample code for how to apply aggregate function on redis data?

like I want to sort( by Ascending or Descending order) or group by(means separate 2.5gpa holders and separate 2.8gpa holders group by) data on the basis of (gpa- field) in spring-Data-Redis. so how it will happen by only using redis Aggregate functions.

please guide me!

here is model class of student!

@RedisHash("Student1")publicclassStudent1{@IdprivateLong id;privateString name;privatefloat gpa;privateString uniName;}

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓

    @soomrogul
    I guess you must have posted this question on the wrong developer forum? I don't see how your question relates to Thomson Reuters. This site is dedicated to software developers using Thomson Reuters APIs.

Answers