| 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 |
|---|---|
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 |
|---|---|
static String |
RedisConnection.getKeyNumInstances(String keyspace,
ConceptId conceptId)
All the valid keys which map to values in the redis cache
|
static String |
RedisConnection.getKeyNumShards(String keyspace,
ConceptId conceptId) |
| Modifier and Type | Method and Description |
|---|---|
static GraqlQueryException |
GraqlQueryException.insertWithoutType(ConceptId conceptId) |
| Modifier and Type | Method and Description |
|---|---|
void |
GraknAdmin.shard(ConceptId conceptId)
Creates a new shard for the concept
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GraknAdmin.duplicateResourcesExist(String index,
Set<ConceptId> resourceVertexIds)
Check if there are duplicate resources in the provided set of vertex IDs
|
boolean |
GraknAdmin.fixDuplicateResources(String index,
Set<ConceptId> resourceVertexIds)
Merges the provided duplicate resources
|
void |
GraknAdmin.updateConceptCounts(Map<ConceptId,Long> conceptCounts)
Updates the counts of all the types
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Concept> |
AbstractGraknGraph.getConcept(ConceptId id) |
void |
AbstractGraknGraph.shard(ConceptId conceptId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractGraknGraph.duplicateResourcesExist(String index,
Set<ConceptId> resourceVertexIds)
Check if the given index has duplicates to merge
|
boolean |
AbstractGraknGraph.fixDuplicateResources(String index,
Set<ConceptId> resourceVertexIds) |
void |
AbstractGraknGraph.updateConceptCounts(Map<ConceptId,Long> typeCounts) |
| Modifier and Type | Method and Description |
|---|---|
VarPattern |
VarPattern.id(ConceptId id) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ConceptId> |
VarPatternAdmin.getId() |
| Modifier and Type | Method and Description |
|---|---|
PathQuery |
PathQuery.from(ConceptId sourceId) |
PathQuery |
PathQuery.to(ConceptId destinationId) |
| Constructor and Description |
|---|
ShortestPathVertexProgram(Set<LabelId> selectedLabelIds,
ConceptId sourceId,
ConceptId destinationId) |
| Modifier and Type | Method and Description |
|---|---|
static Fragment |
Fragments.id(Var start,
ConceptId id) |
| Modifier and Type | Method and Description |
|---|---|
static EquivalentFragmentSet |
EquivalentFragmentSets.id(Var start,
ConceptId id)
An
EquivalentFragmentSet that indicates a variable representing a concept with a particular ID. |
| Modifier and Type | Method and Description |
|---|---|
Optional<ConceptId> |
AbstractVarPattern.getId() |
| Modifier and Type | Method and Description |
|---|---|
VarPattern |
AbstractVarPattern.id(ConceptId id) |
| Modifier and Type | Method and Description |
|---|---|
ConceptId |
IdProperty.getId() |
| Constructor and Description |
|---|
IdProperty(ConceptId id) |
| Modifier and Type | Method and Description |
|---|---|
abstract ConceptId |
Atom.getTypeId() |
| Modifier and Type | Method and Description |
|---|---|
ConceptId |
Binary.getTypeId() |
| Modifier and Type | Method and Description |
|---|---|
protected ConceptId |
IdPredicate.extractPredicate(VarPatternAdmin var) |
| 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.