| Modifier and Type | Method and Description |
|---|---|
static Aggregate<Value> |
count(Set<Var> vars) |
static Aggregate<Value> |
count(Var... vars)
Aggregate that counts results of a
Match. |
static Aggregate<AnswerGroup<ConceptMap>> |
group(Var varName)
Aggregate that groups results of a
Match by variable name |
static <T extends Answer> |
group(Var varName,
Aggregate<T> innerAggregate)
Aggregate that groups results of a
Match by variable name, applying an aggregate to each group. |
static Aggregate<ConceptMap> |
list()
An aggregate that changes
Match results into a list. |
static Aggregate<Value> |
max(Var varName)
Aggregate that finds maximum of a
Match. |
static Aggregate<Value> |
mean(Var varName)
Aggregate that finds mean of a
Match. |
static Aggregate<Value> |
median(Var varName)
Aggregate that finds median of a
Match. |
static Aggregate<Value> |
min(Var varName)
Aggregate that finds minimum of a
Match. |
static Aggregate<Value> |
std(Var varName)
Aggregate that finds the unbiased sample standard deviation of a
Match |
static Aggregate<Value> |
sum(Var varName)
Aggregate that sums results of a
Match. |
public static Aggregate<Value> std(Var varName)
Matchpublic static Aggregate<ConceptMap> list()
Match results into a list.public static Aggregate<AnswerGroup<ConceptMap>> group(Var varName)
Match by variable namevarName - the variable name to group results byCopyright © 2018 Grakn Labs Ltd. All rights reserved.