Class AggregateArgs.GroupBy
- java.lang.Object
-
- io.quarkus.redis.datasource.search.AggregateArgs.GroupBy
-
- Enclosing class:
- AggregateArgs
public static class AggregateArgs.GroupBy extends Object
-
-
Constructor Summary
Constructors Constructor Description GroupBy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateArgs.GroupBy
addProperty(String property)
Adds a property to theGROUPBY
clause.AggregateArgs.GroupBy
addReduceFunction(String function, Object... args)
Adds a reduce function to theGROUPBY
clause.AggregateArgs.GroupBy
addReduceFunction(String function, String alias, Object... args)
Adds a reduce function to theGROUPBY
clause.List<String>
toArgs()
-
-
-
Method Detail
-
addProperty
public AggregateArgs.GroupBy addProperty(String property)
Adds a property to theGROUPBY
clause.- Parameters:
property
- the property- Returns:
- the current
GroupBy
-
addReduceFunction
public AggregateArgs.GroupBy addReduceFunction(String function, String alias, Object... args)
Adds a reduce function to theGROUPBY
clause.- Parameters:
function
- the name of the functionalias
- the alias used in the returned documentargs
- the arguments- Returns:
- the current
GroupBy
-
addReduceFunction
public AggregateArgs.GroupBy addReduceFunction(String function, Object... args)
Adds a reduce function to theGROUPBY
clause.- Parameters:
function
- the name of the functionargs
- the arguments- Returns:
- the current
GroupBy
-
-