| Package | Description |
|---|---|
| ai.grakn.engine.controller.response |
| Modifier and Type | Method and Description |
|---|---|
abstract Link |
Type.attributes() |
abstract Link |
Thing.attributes() |
static Link |
Link.create(ai.grakn.concept.SchemaConcept schemaConcept) |
static Link |
Link.create(String id) |
static Link |
Link.create(ai.grakn.concept.Thing thing) |
static Link |
Link.createAttributesLink(ai.grakn.concept.Thing thing)
Creates a link to fetch all the
EmbeddedAttributes of a Thing |
static Link |
Link.createAttributesLink(ai.grakn.concept.Type type)
Creates a link to get all the attributes of a
Type |
static Link |
Link.createInstanceLink(ai.grakn.concept.Type type)
Creates a link to fetch the instances of a
Type |
static Link |
Link.createInstanceLink(ai.grakn.concept.Type type,
int offset,
int limit)
Creates a link to get all the paged instances of a
Type |
static Link |
Link.createInstancesLink(ai.grakn.concept.Type type)
Creates a link to get all the instances of a
Type |
static Link |
Link.createKeysLink(ai.grakn.concept.Thing thing)
Creates a link to fetch all the
EmbeddedAttributes of a Thing |
static Link |
Link.createKeysLink(ai.grakn.concept.Type type)
Creates a link to get all the keys of a
Type |
static Link |
Link.createPlaysLink(ai.grakn.concept.Type type)
Creates a link to get all the plays of a
Type |
static Link |
Link.createRelationshipsLink(ai.grakn.concept.Thing thing)
Creates a link to fetch all the Relationship)s of a {@link Thing}
|
static Link |
Link.createSubsLink(ai.grakn.concept.SchemaConcept schemaConcept)
Creates a link to get all the subs of a
SchemaConcept |
abstract Link |
Type.instances() |
abstract Link |
Type.keys() |
abstract Link |
Thing.keys() |
abstract Link |
Things.next() |
abstract Link |
Type.plays() |
abstract Link |
Things.previous() |
abstract Link |
Thing.relationships() |
abstract Link |
RolePlayer.role() |
abstract Link |
Things.selfLink() |
abstract Link |
EmbeddedSchemaConcept.selfLink() |
abstract Link |
EmbeddedAttribute.selfLink() |
abstract Link |
Concept.selfLink() |
abstract Link |
SchemaConcept.subs() |
abstract Link |
RolePlayer.thing() |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<Link> |
RelationshipType.relates() |
abstract Set<Link> |
Role.relationships() |
abstract Set<Link> |
Role.roleplayers() |
| Modifier and Type | Method and Description |
|---|---|
static Entity |
Entity.create(ai.grakn.concept.ConceptId id,
Link selfLink,
EmbeddedSchemaConcept type,
Link attributes,
Link keys,
Link relationships,
boolean inferred,
String explanation) |
static Relationship |
Relationship.create(ai.grakn.concept.ConceptId id,
Link selfLink,
EmbeddedSchemaConcept type,
Link attributes,
Link keys,
Link relationships,
boolean inferred,
String explanation,
Set<RolePlayer> roleplayers) |
static Attribute |
Attribute.create(ai.grakn.concept.ConceptId id,
Link selfLink,
EmbeddedSchemaConcept type,
Link attributes,
Link keys,
Link relationships,
boolean inferred,
String explanation,
String dataType,
String value) |
static EmbeddedAttribute |
EmbeddedAttribute.create(ai.grakn.concept.ConceptId id,
Link selfLink,
EmbeddedSchemaConcept type,
String value,
String dataType) |
static EntityType |
EntityType.create(ai.grakn.concept.ConceptId id,
Link selfLink,
ai.grakn.concept.Label label,
Boolean implicit,
EmbeddedSchemaConcept sup,
Link subs,
Boolean isAbstract,
Link plays,
Link attributes,
Link keys,
Link instances) |
static RelationshipType |
RelationshipType.create(ai.grakn.concept.ConceptId id,
Link selfLink,
ai.grakn.concept.Label label,
Boolean implicit,
EmbeddedSchemaConcept sup,
Link subs,
Boolean isAbstract,
Link plays,
Link attributes,
Link keys,
Link instances,
Set<Link> relates) |
static AttributeType |
AttributeType.create(ai.grakn.concept.ConceptId id,
Link selfLink,
ai.grakn.concept.Label label,
Boolean implicit,
EmbeddedSchemaConcept sup,
Link subs,
Boolean isAbstract,
Link plays,
Link attributes,
Link keys,
Link instances,
String dataType,
String regex) |
static Role |
Role.create(ai.grakn.concept.ConceptId id,
Link selfLink,
ai.grakn.concept.Label label,
Boolean implicit,
EmbeddedSchemaConcept sup,
Link subs,
Set<Link> relationships,
Set<Link> roleplayers) |
static Rule |
Rule.create(ai.grakn.concept.ConceptId id,
Link selfLink,
ai.grakn.concept.Label label,
Boolean implicit,
EmbeddedSchemaConcept sup,
Link subs,
String when,
String then) |
static MetaConcept |
MetaConcept.create(ai.grakn.concept.ConceptId id,
Link selfLink,
ai.grakn.concept.Label label,
EmbeddedSchemaConcept sup,
Link subs,
Link plays,
Link attributes,
Link keys,
Link instances) |
static EmbeddedSchemaConcept |
EmbeddedSchemaConcept.create(Link selfLink,
ai.grakn.concept.Label label) |
static RolePlayer |
RolePlayer.create(Link role,
Link thing) |
static Things |
Things.create(Link selfLink,
Set<Thing> instances,
Link next,
Link previous) |
| Modifier and Type | Method and Description |
|---|---|
static RelationshipType |
RelationshipType.create(ai.grakn.concept.ConceptId id,
Link selfLink,
ai.grakn.concept.Label label,
Boolean implicit,
EmbeddedSchemaConcept sup,
Link subs,
Boolean isAbstract,
Link plays,
Link attributes,
Link keys,
Link instances,
Set<Link> relates) |
static Role |
Role.create(ai.grakn.concept.ConceptId id,
Link selfLink,
ai.grakn.concept.Label label,
Boolean implicit,
EmbeddedSchemaConcept sup,
Link subs,
Set<Link> relationships,
Set<Link> roleplayers) |
static Role |
Role.create(ai.grakn.concept.ConceptId id,
Link selfLink,
ai.grakn.concept.Label label,
Boolean implicit,
EmbeddedSchemaConcept sup,
Link subs,
Set<Link> relationships,
Set<Link> roleplayers) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.