Class AggregateArgs.GroupBy

java.lang.Object
io.quarkus.redis.datasource.search.AggregateArgs.GroupBy
Enclosing class:
AggregateArgs

public static class AggregateArgs.GroupBy extends Object
  • Constructor Details

    • GroupBy

      public GroupBy()
  • Method Details

    • addProperty

      public AggregateArgs.GroupBy addProperty(String property)
      Adds a property to the GROUPBY 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 the GROUPBY clause.
      Parameters:
      function - the name of the function
      alias - the alias used in the returned document
      args - the arguments
      Returns:
      the current GroupBy
    • addReduceFunction

      public AggregateArgs.GroupBy addReduceFunction(String function, Object... args)
      Adds a reduce function to the GROUPBY clause.
      Parameters:
      function - the name of the function
      args - the arguments
      Returns:
      the current GroupBy
    • toArgs

      public List<String> toArgs()