public interface MatchQueryAdmin extends MatchQuery
| Modifier and Type | Method and Description |
|---|---|
Optional<GraknGraph> |
getGraph() |
Conjunction<PatternAdmin> |
getPattern() |
Set<VarName> |
getSelectedNames() |
Set<Type> |
getTypes() |
Set<Type> |
getTypes(GraknGraph graph) |
List<Map<VarName,Concept>> |
results()
Get a list of results.
|
java.util.stream.Stream<Answer> |
streamWithAnswers()
Get a stream of answers.
|
java.util.stream.Stream<Map<VarName,Concept>> |
streamWithVarNames()
Get a stream of results.
|
admin, aggregate, ask, delete, delete, delete, distinct, get, insert, insert, limit, offset, orderBy, orderBy, orderBy, orderBy, select, select, withGraphexecute, isReadOnly, resultsStringiterator, parallelStream, streamforEach, spliteratorList<Map<VarName,Concept>> results()
MatchQuery#execute because the keys are instances of
VarName.java.util.stream.Stream<Map<VarName,Concept>> streamWithVarNames()
MatchQuery#execute because the keys are instances of
VarName.java.util.stream.Stream<Answer> streamWithAnswers()
MatchQuery#execute because it returns a stream of
Answer objects containing the original map with VarName as key.Set<Type> getTypes(GraknGraph graph)
graph - the graph to use to get types fromConjunction<PatternAdmin> getPattern()
Optional<GraknGraph> getGraph()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.