Package ai.vespa.client.dsl
Class G
java.lang.Object
ai.vespa.client.dsl.G
Helper class for generating group syntax
https://docs.vespa.ai/en/reference/grouping-syntax.html
basically the syntax is exactly the same as Vespa group syntax.
The only exception "max" in the Vespa group syntax which represents 'max returned documents',
is replaced by "maxRtn" in the dsl lib.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Group
all
(IGroupOperation... ops) static Aggregator
count()
static Group
each
(IGroupOperation... ops) static GroupOperation
static Aggregator
max
(int max) static GroupOperation
maxRtn
(int max) static GroupOperation
static GroupOperation
output
(Aggregator... aggrs) static Aggregator
summary()
static Aggregator
-
Method Details
-
all
-
each
-
group
-
maxRtn
-
order
-
output
-
max
-
summary
-
count
-
summary
-