Class AggregationResponse
java.lang.Object
io.quarkus.redis.datasource.search.AggregationResponse
Represents the response of the
ft.aggregate
command.-
Constructor Summary
ConstructorsConstructorDescriptionAggregationResponse
(long cursor, List<AggregateDocument> results) AggregationResponse
(List<AggregateDocument> results) -
Method Summary
-
Constructor Details
-
AggregationResponse
-
AggregationResponse
-
-
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 passWITHCURSOR
, 0 when the cursor reached the end of the data set.
-
documents
- Returns:
- the list of document.
-