| Package | Description |
|---|---|
| ai.grakn |
A core package for connecting to a Grakn knowledge graph.
|
| ai.grakn.concept |
Provides the meta-ontology interfaces and definitions.
|
| ai.grakn.engine.cache | |
| ai.grakn.engine.postprocessing |
Implements post-loading graph cleanup processes.
|
| ai.grakn.graph.admin | |
| ai.grakn.graph.internal |
Internal implementation of Grakn graph.
|
| ai.grakn.graql |
A collection of interfaces and factories for executing Graql queries.
|
| ai.grakn.graql.admin |
A collection of interfaces offering more behaviour on Graql objects.
|
| ai.grakn.graql.analytics |
A collection of interfaces for executing analytics queries.
|
| ai.grakn.graql.internal.analytics | |
| ai.grakn.graql.internal.gremlin.fragment | |
| ai.grakn.graql.internal.gremlin.sets | |
| ai.grakn.graql.internal.pattern.property | |
| ai.grakn.graql.internal.reasoner.atom | |
| ai.grakn.graql.internal.reasoner.atom.binary | |
| ai.grakn.graql.internal.reasoner.atom.predicate | |
| ai.grakn.graql.internal.reasoner.rule | |
| ai.grakn.graql.internal.util |
| Modifier and Type | Method and Description |
|---|---|
<T extends Concept> |
GraknGraph.getConcept(ConceptId id)
Get the
Concept with identifier provided, if it exists. |
| Modifier and Type | Method and Description |
|---|---|
ConceptId |
Concept.getId()
Get the unique ID associated with the Concept.
|
static ConceptId |
ConceptId.of(Object value) |
| Modifier and Type | Method and Description |
|---|---|
int |
ConceptId.compareTo(ConceptId o) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<ConceptId>> |
EngineCacheStandAlone.getCastingJobs(String keyspace) |
Map<String,Set<ConceptId>> |
EngineCacheDistributed.getCastingJobs(String keyspace) |
Map<String,Set<ConceptId>> |
EngineCacheStandAlone.getResourceJobs(String keyspace) |
Map<String,Set<ConceptId>> |
EngineCacheDistributed.getResourceJobs(String keyspace) |
| Modifier and Type | Method and Description |
|---|---|
void |
EngineCacheStandAlone.addJobCasting(String keyspace,
String castingIndex,
ConceptId castingId) |
void |
EngineCacheDistributed.addJobCasting(String keyspace,
String castingIndex,
ConceptId castingId) |
void |
EngineCacheStandAlone.addJobResource(String keyspace,
String resourceIndex,
ConceptId resourceId) |
void |
EngineCacheDistributed.addJobResource(String keyspace,
String resourceIndex,
ConceptId resourceId) |
void |
EngineCacheStandAlone.deleteJobCasting(String keyspace,
String castingIndex,
ConceptId castingId) |
void |
EngineCacheDistributed.deleteJobCasting(String keyspace,
String castingIndex,
ConceptId castingId) |
void |
EngineCacheStandAlone.deleteJobResource(String keyspace,
String resourceIndex,
ConceptId resourceId) |
void |
EngineCacheDistributed.deleteJobResource(String keyspace,
String resourceIndex,
ConceptId resourceId) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.process.computer.MapReduce<String,ConceptId,String,Long,Long> |
ResourceDeduplicationTask.Job.clone() |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceDeduplicationTask.Job.map(org.apache.tinkerpop.gremlin.structure.Vertex vertex,
org.apache.tinkerpop.gremlin.process.computer.MapReduce.MapEmitter<String,ConceptId> emitter)
Emit the resoucre index (value + type) mapped to the concept ID of the resource instance.
|
void |
ResourceDeduplicationTask.Job.reduce(String key,
Iterator<ConceptId> values,
org.apache.tinkerpop.gremlin.process.computer.MapReduce.ReduceEmitter<String,Long> emitter)
Here we simply collect all concepts for a key and ask our concept fixer to do its thing.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<ConceptId>> |
ConceptCache.getCastingJobs(String keyspace) |
Map<String,Set<ConceptId>> |
ConceptCache.getResourceJobs(String keyspace) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConceptCache.addJobCasting(String keyspace,
String castingIndex,
ConceptId castingId) |
void |
ConceptCache.addJobResource(String keyspace,
String resourceIndex,
ConceptId resourceId) |
void |
ConceptCache.deleteJobCasting(String keyspace,
String castingIndex,
ConceptId castingId) |
void |
ConceptCache.deleteJobResource(String keyspace,
String resourceIndex,
ConceptId resourceId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GraknAdmin.fixDuplicateCastings(String index,
Set<ConceptId> castingVertexIds)
Merges the provided duplicate castings.
|
boolean |
GraknAdmin.fixDuplicateResources(String index,
Set<ConceptId> resourceVertexIds)
Merges the provided duplicate resources
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Concept> |
AbstractGraknGraph.getConcept(ConceptId id) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractGraknGraph.commit(java.util.function.BiConsumer<Set<org.javatuples.Pair<String,ConceptId>>,Set<org.javatuples.Pair<String,ConceptId>>> conceptLogger) |
void |
AbstractGraknGraph.commit(java.util.function.BiConsumer<Set<org.javatuples.Pair<String,ConceptId>>,Set<org.javatuples.Pair<String,ConceptId>>> conceptLogger) |
boolean |
AbstractGraknGraph.fixDuplicateCastings(String index,
Set<ConceptId> castingVertexIds)
Merges the provided duplicate castings.
|
boolean |
AbstractGraknGraph.fixDuplicateResources(String index,
Set<ConceptId> resourceVertexIds) |
| Modifier and Type | Method and Description |
|---|---|
Var |
Var.id(ConceptId id) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ConceptId> |
VarAdmin.getId() |
| Modifier and Type | Method and Description |
|---|---|
PathQuery |
PathQuery.from(ConceptId sourceId) |
PathQuery |
PathQuery.to(ConceptId destinationId) |
| Constructor and Description |
|---|
ShortestPathVertexProgram(Set<TypeLabel> selectedTypes,
ConceptId sourceId,
ConceptId destinationId) |
| Modifier and Type | Method and Description |
|---|---|
static Fragment |
Fragments.id(VarName start,
ConceptId id) |
| Modifier and Type | Method and Description |
|---|---|
static EquivalentFragmentSet |
EquivalentFragmentSets.id(VarName start,
ConceptId id)
An
EquivalentFragmentSet that indicates a variable representing a concept with a particular ID. |
| Modifier and Type | Method and Description |
|---|---|
ConceptId |
IdProperty.getId() |
| Constructor and Description |
|---|
IdProperty(ConceptId id) |
| Modifier and Type | Field and Description |
|---|---|
protected ConceptId |
Atom.typeId |
| Modifier and Type | Method and Description |
|---|---|
ConceptId |
Atom.getTypeId() |
| Modifier and Type | Method and Description |
|---|---|
protected ConceptId |
TypeAtom.extractTypeId() |
protected abstract ConceptId |
Binary.extractTypeId() |
protected ConceptId |
Resource.extractTypeId(VarAdmin var) |
protected abstract ConceptId |
MultiPredicateBinary.extractTypeId(VarAdmin var) |
| Modifier and Type | Method and Description |
|---|---|
protected ConceptId |
IdPredicate.extractPredicate(VarAdmin var) |
| Modifier and Type | Method and Description |
|---|---|
static VarAdmin |
IdPredicate.createIdVar(VarName varName,
ConceptId typeId) |
| Modifier and Type | Method and Description |
|---|---|
ConceptId |
InferenceRule.getRuleId() |
| Modifier and Type | Method and Description |
|---|---|
static String |
StringConverter.idToString(ConceptId id) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.