| Modifier and Type | Method and Description |
|---|---|
GraknGraph |
GraknSession.open(GraknTxType transactionType)
Gets a new transaction bound to the keyspace of this Session.
|
| Modifier and Type | Method and Description |
|---|---|
TaskState |
TaskStateGraphStore.instanceToState(GraknGraph graph,
Instance instance)
Given an instance concept, turn it into a TaskState object.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PokemonGraphFactory.loadGraph(GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
GraknGraph |
EngineGraknGraphFactory.getGraph(String keyspace,
GraknTxType type) |
GraknGraph |
GraknSessionImpl.open(GraknTxType transactionType) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGraknGraph<G extends org.apache.tinkerpop.gremlin.structure.Graph>
The Grakn Graph Base Implementation
|
class |
GraknTinkerGraph
A Grakn Graph using
TinkerGraph as a vendor backend. |
class |
GraknTitanGraph
A Grakn Graph using
TitanGraph as a vendor backend. |
| Modifier and Type | Method and Description |
|---|---|
Query<T> |
Query.withGraph(GraknGraph graph) |
MatchQuery |
MatchQuery.withGraph(GraknGraph graph) |
InsertQuery |
InsertQuery.withGraph(GraknGraph graph) |
DeleteQuery |
DeleteQuery.withGraph(GraknGraph graph) |
ComputeQueryBuilder |
ComputeQueryBuilder.withGraph(GraknGraph graph) |
ComputeQuery<T> |
ComputeQuery.withGraph(GraknGraph graph) |
AskQuery |
AskQuery.withGraph(GraknGraph graph) |
AggregateQuery<T> |
AggregateQuery.withGraph(GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
GraknGraph |
ReasonerQuery.graph() |
| Modifier and Type | Method and Description |
|---|---|
Optional<GraknGraph> |
MatchQueryAdmin.getGraph() |
Optional<GraknGraph> |
InsertQueryAdmin.getGraph() |
| Modifier and Type | Method and Description |
|---|---|
Set<Type> |
MatchQueryAdmin.getTypes(GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
SumQuery |
SumQuery.withGraph(GraknGraph graph) |
StdQuery |
StdQuery.withGraph(GraknGraph graph) |
PathQuery |
PathQuery.withGraph(GraknGraph graph) |
MinQuery |
MinQuery.withGraph(GraknGraph graph) |
MedianQuery |
MedianQuery.withGraph(GraknGraph graph) |
MeanQuery |
MeanQuery.withGraph(GraknGraph graph) |
MaxQuery |
MaxQuery.withGraph(GraknGraph graph) |
DegreeQuery |
DegreeQuery.withGraph(GraknGraph graph) |
CountQuery |
CountQuery.withGraph(GraknGraph graph) |
ClusterQuery<T> |
ClusterQuery.withGraph(GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
static GraqlTraversal |
GreedyTraversalPlan.createTraversal(PatternAdmin pattern,
GraknGraph graph)
Create a traversal plan using the default maxTraersalAttempts.
|
static GraqlTraversal |
GreedyTraversalPlan.createTraversal(PatternAdmin pattern,
GraknGraph graph,
long maxTraversalAttempts)
Create a semi-optimal traversal plan using a greedy approach
|
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,Map<String,org.apache.tinkerpop.gremlin.structure.Vertex>> |
GraqlTraversal.getGraphTraversal(GraknGraph graph)
Get the
GraphTraversal that this GraqlTraversal represents. |
| Modifier and Type | Method and Description |
|---|---|
static void |
EquivalentFragmentSets.optimiseFragmentSets(Collection<EquivalentFragmentSet> fragmentSets,
GraknGraph graph)
Modify the given collection of
EquivalentFragmentSet to introduce certain optimisations, such as the
ResourceIndexFragmentSet. |
| Modifier and Type | Method and Description |
|---|---|
void |
VarPropertyInternal.checkValid(GraknGraph graph,
VarAdmin var)
Check if the given property can be used in a match query
|
void |
RelationProperty.checkValidProperty(GraknGraph graph,
VarAdmin var) |
void |
IsaProperty.checkValidProperty(GraknGraph graph,
VarAdmin var) |
void |
VarPropertyInternal.delete(GraknGraph graph,
Concept concept)
Delete the given property from the graph, if possible.
|
void |
RelatesProperty.delete(GraknGraph graph,
Concept concept) |
void |
PlaysProperty.delete(GraknGraph graph,
Concept concept) |
void |
HasScopeProperty.delete(GraknGraph graph,
Concept concept) |
void |
HasResourceProperty.delete(GraknGraph graph,
Concept concept) |
| Modifier and Type | Method and Description |
|---|---|
GraknGraph |
InsertQueryExecutor.getGraph() |
| Constructor and Description |
|---|
QueryBuilderImpl(GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
ComputeQueryBuilder |
ComputeQueryBuilderImpl.withGraph(GraknGraph graph) |
| Constructor and Description |
|---|
ComputeQueryBuilderImpl(Optional<GraknGraph> graph) |
| Modifier and Type | Method and Description |
|---|---|
Optional<GraknGraph> |
MatchQueryBase.getGraph() |
| Modifier and Type | Method and Description |
|---|---|
Set<Type> |
MatchQueryBase.getTypes(GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<Answer> |
MatchQueryBase.stream(Optional<GraknGraph> optionalGraph) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Reasoner.commitGraph(GraknGraph graph) |
static Rule |
Utility.createPropertyChainRule(RelationType relation,
TypeLabel fromRoleLabel,
TypeLabel toRoleLabel,
LinkedHashMap<RelationType,javafx.util.Pair<TypeLabel,TypeLabel>> chain,
GraknGraph graph)
creates rule R(fromRole: x, toRole: xm) :- R1(fromRole: x, ...), , R2, ...
|
static Rule |
Utility.createReflexiveRule(RelationType relType,
TypeLabel fromRoleLabel,
TypeLabel toRoleLabel,
GraknGraph graph)
create reflexive rule R(from: X, to: X) :- R(from: X,to: Y)
|
static Rule |
Utility.createSubPropertyRule(RelationType parent,
RelationType child,
Map<TypeLabel,TypeLabel> roleMappings,
GraknGraph graph)
creates rule parent :- child
|
static Rule |
Utility.createTransitiveRule(RelationType relType,
TypeLabel fromRoleLabel,
TypeLabel toRoleLabel,
GraknGraph graph)
create transitive rule R(from: X, to: Y) :- R(from: X,to: Z), R(from: Z, to: Y)
|
static Set<Rule> |
Reasoner.getRules(GraknGraph graph) |
static boolean |
Reasoner.hasRules(GraknGraph graph) |
static void |
Reasoner.precomputeInferences(GraknGraph graph)
materialise all possible inferences
|
| Modifier and Type | Method and Description |
|---|---|
GraknGraph |
AtomBase.graph() |
| Modifier and Type | Method and Description |
|---|---|
GraknGraph |
ReasonerQueryImpl.graph() |
| Constructor and Description |
|---|
ReasonerAtomicQuery(Conjunction<VarAdmin> pattern,
GraknGraph graph) |
ReasonerQueryImpl(Conjunction<VarAdmin> pattern,
GraknGraph graph) |
| Constructor and Description |
|---|
InferenceRule(Rule rule,
GraknGraph graph) |
| Constructor and Description |
|---|
GraphWriter(GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
GraknGraph |
OWLMigrator.graph() |
| Modifier and Type | Method and Description |
|---|---|
OWLMigrator |
OWLMigrator.graph(GraknGraph graph) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.