Class AggregationResponse
- java.lang.Object
-
- io.quarkus.redis.datasource.search.AggregationResponse
-
public class AggregationResponse extends Object
Represents the response of theft.aggregate
command.
-
-
Constructor Summary
Constructors Constructor Description AggregationResponse(long cursor, List<AggregateDocument> results)
AggregationResponse(List<AggregateDocument> results)
-
-
-
Constructor Detail
-
AggregationResponse
public AggregationResponse(long cursor, List<AggregateDocument> results)
-
AggregationResponse
public AggregationResponse(List<AggregateDocument> results)
-
-
Method Detail
-
count
public int count()
- Returns:
- the number of document.
-
cursor
public long cursor()
- Returns:
- the cursor id,
-1
if the command didn't passWITHCURSOR
, 0 when the cursor reached the end of the data set.
-
documents
public List<AggregateDocument> documents()
- Returns:
- the list of document.
-
-