Class AggregationResponse

java.lang.Object
io.quarkus.redis.datasource.search.AggregationResponse

public class AggregationResponse extends Object
Represents the response of the ft.aggregate command.
  • Constructor Details

  • Method Details

    • count

      public int count()
      Returns:
      the number of document.
    • cursor

      public long cursor()
      Returns:
      the cursor id, -1 if the command didn't pass WITHCURSOR, 0 when the cursor reached the end of the data set.
    • documents

      public List<AggregateDocument> documents()
      Returns:
      the list of document.