| Package | Description |
|---|---|
| ai.grakn.kb.internal |
Internal implementation of
GraknTx. |
| ai.grakn.kb.internal.concept |
Internal implementation of
Concepts |
| ai.grakn.kb.internal.structure |
Internal implementation of structures embedded in a
GraknTx. |
| Modifier and Type | Method and Description |
|---|---|
VertexElement |
EmbeddedGraknTx.addVertexElement(Schema.BaseType baseType,
ConceptId... conceptIds) |
| Modifier and Type | Method and Description |
|---|---|
VertexElement |
ElementFactory.addVertexElement(Schema.BaseType baseType,
ConceptId... conceptIds)
Creates a new
VertexElement with a ConceptId which can optionally be set. |
VertexElement |
ElementFactory.buildVertexElement(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
Builds a
VertexElement from an already existing Vertex. |
VertexElement |
ConceptVertex.vertex() |
VertexElement |
RelationshipImpl.vertex() |
VertexElement |
ConceptImpl.vertex() |
| Modifier and Type | Method and Description |
|---|---|
<V> AttributeTypeImpl<V> |
ElementFactory.buildAttributeType(VertexElement vertex,
AttributeType<V> type,
AttributeType.DataType<V> dataType) |
<X extends Concept> |
ElementFactory.buildConcept(VertexElement vertexElement) |
EntityTypeImpl |
ElementFactory.buildEntityType(VertexElement vertex,
EntityType type) |
RelationshipTypeImpl |
ElementFactory.buildRelationshipType(VertexElement vertex,
RelationshipType type) |
RoleImpl |
ElementFactory.buildRole(VertexElement vertex,
Role type) |
RuleImpl |
ElementFactory.buildRule(VertexElement vertex,
Rule type,
Pattern when,
Pattern then) |
static <D> AttributeTypeImpl<D> |
AttributeTypeImpl.create(VertexElement vertexElement,
AttributeType<D> type,
AttributeType.DataType<D> dataType) |
static <D> AttributeImpl<D> |
AttributeImpl.create(VertexElement vertexElement,
AttributeType<D> type,
Object value) |
static EntityTypeImpl |
EntityTypeImpl.create(VertexElement vertexElement,
EntityType type) |
static EntityImpl |
EntityImpl.create(VertexElement vertexElement,
EntityType type) |
static RelationshipTypeImpl |
RelationshipTypeImpl.create(VertexElement vertexElement,
RelationshipType type) |
static RelationshipReified |
RelationshipReified.create(VertexElement vertexElement,
RelationshipType type) |
static RoleImpl |
RoleImpl.create(VertexElement vertexElement,
Role type) |
static RuleImpl |
RuleImpl.create(VertexElement vertexElement,
Rule type,
Pattern when,
Pattern then) |
static EntityTypeImpl |
EntityTypeImpl.get(VertexElement vertexElement) |
static RelationshipTypeImpl |
RelationshipTypeImpl.get(VertexElement vertexElement) |
static EntityImpl |
EntityImpl.get(VertexElement vertexElement) |
static RuleImpl |
RuleImpl.get(VertexElement vertexElement) |
static RoleImpl |
RoleImpl.get(VertexElement vertexElement) |
static RelationshipReified |
RelationshipReified.get(VertexElement vertexElement) |
static <D> AttributeImpl<D> |
AttributeImpl.get(VertexElement vertexElement) |
static <D> AttributeTypeImpl<D> |
AttributeTypeImpl.get(VertexElement vertexElement) |
| Modifier and Type | Method and Description |
|---|---|
VertexElement |
EdgeElement.source() |
VertexElement |
EdgeElement.target() |
VertexElement |
Shard.vertex() |
| Modifier and Type | Method and Description |
|---|---|
EdgeElement |
VertexElement.addEdge(VertexElement to,
Schema.EdgeLabel type) |
void |
VertexElement.deleteEdge(org.apache.tinkerpop.gremlin.structure.Direction direction,
Schema.EdgeLabel label,
VertexElement... targets)
Deletes all the edges of a specific
Schema.EdgeLabel to or from a specific set of targets. |
EdgeElement |
VertexElement.putEdge(VertexElement to,
Schema.EdgeLabel type) |
| Constructor and Description |
|---|
Shard(ConceptImpl owner,
VertexElement vertexElement) |
Shard(VertexElement vertexElement) |
Copyright © 2018 Grakn Labs Ltd. All rights reserved.