public class Queries extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> AggregateQuery<T> |
aggregate(MatchQueryAdmin matchQuery,
Aggregate<? super Map<String,Concept>,T> aggregate) |
static AskQueryAdmin |
ask(MatchQuery matchQuery) |
static ComputeQuery |
compute(Optional<MindmapsGraph> graph,
String computeMethod) |
static ComputeQuery |
compute(Optional<MindmapsGraph> graph,
String computeMethod,
Set<String> subTypeIds,
Set<String> statisticsResourceTypeIds) |
static DeleteQueryAdmin |
delete(Collection<VarAdmin> deleters,
MatchQuery matchQuery) |
static InsertQueryAdmin |
insert(<any> vars,
MatchQueryAdmin matchQuery) |
static InsertQueryAdmin |
insert(<any> vars,
Optional<MindmapsGraph> graph) |
static MatchQueryAdmin |
match(Conjunction<PatternAdmin> pattern) |
public static MatchQueryAdmin match(Conjunction<PatternAdmin> pattern)
pattern - a pattern to match in the graphpublic static AskQueryAdmin ask(MatchQuery matchQuery)
matchQuery - the match query that the ask query will search for in the graphpublic static InsertQueryAdmin insert(<any> vars, MatchQueryAdmin matchQuery)
vars - a collection of Vars to insertmatchQuery - the match query to insert for each resultpublic static InsertQueryAdmin insert(<any> vars, Optional<MindmapsGraph> graph)
graph - the graph to execute onvars - a collection of Vars to insertpublic static DeleteQueryAdmin delete(Collection<VarAdmin> deleters, MatchQuery matchQuery)
public static ComputeQuery compute(Optional<MindmapsGraph> graph, String computeMethod)
public static ComputeQuery compute(Optional<MindmapsGraph> graph, String computeMethod, Set<String> subTypeIds, Set<String> statisticsResourceTypeIds)
public static <T> AggregateQuery<T> aggregate(MatchQueryAdmin matchQuery, Aggregate<? super Map<String,Concept>,T> aggregate)
Copyright © 2016. All rights reserved.