public class Queries extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> AggregateQuery<T> |
aggregate(MatchAdmin match,
Aggregate<? super Answer,T> aggregate) |
static DeleteQueryAdmin |
delete(Collection<? extends Var> vars,
Match match) |
static GetQuery |
get(com.google.common.collect.ImmutableSet<Var> vars,
MatchAdmin match) |
static InsertQueryAdmin |
insert(com.google.common.collect.ImmutableCollection<VarPatternAdmin> vars,
MatchAdmin match) |
public static GetQuery get(com.google.common.collect.ImmutableSet<Var> vars, MatchAdmin match)
public static InsertQueryAdmin insert(com.google.common.collect.ImmutableCollection<VarPatternAdmin> vars, MatchAdmin match)
vars - a collection of Vars to insertmatch - the Match to insert for each resultpublic static DeleteQueryAdmin delete(Collection<? extends Var> vars, Match match)
public static <T> AggregateQuery<T> aggregate(MatchAdmin match, Aggregate<? super Answer,T> aggregate)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.