| Package | Description |
|---|---|
| ai.grakn.exception |
Grakn exception definitions.
|
| ai.grakn.graql.admin |
A collection of interfaces offering more behaviour on Graql objects.
|
| ai.grakn.graql.internal.gremlin.fragment | |
| ai.grakn.graql.internal.gremlin.sets | |
| ai.grakn.graql.internal.pattern | |
| ai.grakn.graql.internal.pattern.property | |
| ai.grakn.graql.internal.reasoner.atom |
| Modifier and Type | Method and Description |
|---|---|
static GraqlQueryException |
GraqlQueryException.failDelete(VarProperty property) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
UniqueVarProperty
A unique property of a
VarPattern. |
| Modifier and Type | Method and Description |
|---|---|
<T extends VarProperty> |
VarPatternAdmin.getProperties(Class<T> type)
Get a stream of all properties of a particular type on this variable
|
<T extends VarProperty> |
VarPatternAdmin.hasProperty(Class<T> type)
Get whether this
VarPattern has a VarProperty of the given type |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<VarProperty> |
VarPatternAdmin.getProperties()
Get a stream of all properties on this variable
|
| Modifier and Type | Method and Description |
|---|---|
VarProperty |
Fragment.getVarProperty()
Get the corresponding property
|
| Modifier and Type | Method and Description |
|---|---|
static Fragment |
Fragments.dataType(VarProperty varProperty,
Var start,
ResourceType.DataType dataType) |
static Fragment |
Fragments.id(VarProperty varProperty,
Var start,
ConceptId id) |
static Fragment |
Fragments.inHasScope(VarProperty varProperty,
Var start,
Var end) |
static Fragment |
Fragments.inIsa(VarProperty varProperty,
Var start,
Var end) |
static Fragment |
Fragments.inPlays(VarProperty varProperty,
Var start,
Var end,
boolean required) |
static ai.grakn.graql.internal.gremlin.fragment.InRelatesFragment |
Fragments.inRelates(VarProperty varProperty,
Var start,
Var end) |
static Fragment |
Fragments.inShortcut(VarProperty varProperty,
Var rolePlayer,
Var edge,
Var relation,
Optional<Var> role,
Optional<Set<Label>> roleLabels,
Optional<Set<Label>> relationTypeLabels) |
static Fragment |
Fragments.inSub(VarProperty varProperty,
Var start,
Var end) |
static Fragment |
Fragments.isAbstract(VarProperty varProperty,
Var start) |
static Fragment |
Fragments.label(VarProperty varProperty,
Var start,
Label label) |
static Fragment |
Fragments.neq(VarProperty varProperty,
Var start,
Var other) |
static Fragment |
Fragments.notInternal(VarProperty varProperty,
Var start) |
static Fragment |
Fragments.outHasScope(VarProperty varProperty,
Var start,
Var end) |
static Fragment |
Fragments.outIsa(VarProperty varProperty,
Var start,
Var end) |
static Fragment |
Fragments.outPlays(VarProperty varProperty,
Var start,
Var end,
boolean required) |
static Fragment |
Fragments.outRelates(VarProperty varProperty,
Var start,
Var end) |
static Fragment |
Fragments.outShortcut(VarProperty varProperty,
Var relation,
Var edge,
Var rolePlayer,
Optional<Var> role,
Optional<Set<Label>> roleLabels,
Optional<Set<Label>> relationTypeLabels) |
static Fragment |
Fragments.outSub(VarProperty varProperty,
Var start,
Var end) |
static Fragment |
Fragments.regex(VarProperty varProperty,
Var start,
String regex) |
static Fragment |
Fragments.resourceIndex(VarProperty varProperty,
Var start,
Label label,
Object resourceValue)
A
Fragment that uses an index stored on each resource. |
static Fragment |
Fragments.value(VarProperty varProperty,
Var start,
ValuePredicateAdmin predicate) |
| Modifier and Type | Method and Description |
|---|---|
static EquivalentFragmentSet |
EquivalentFragmentSets.dataType(VarProperty varProperty,
Var resourceType,
ResourceType.DataType<?> dataType)
An
EquivalentFragmentSet that indicates a variable representing a resource type with a data-type. |
static EquivalentFragmentSet |
EquivalentFragmentSets.hasScope(VarProperty varProperty,
Var relation,
Var scope)
An
EquivalentFragmentSet that indicates a variable is a relation with a scope. |
static EquivalentFragmentSet |
EquivalentFragmentSets.id(VarProperty varProperty,
Var start,
ConceptId id)
An
EquivalentFragmentSet that indicates a variable representing a concept with a particular ID. |
static EquivalentFragmentSet |
EquivalentFragmentSets.isa(VarProperty varProperty,
Var instance,
Var type)
An
EquivalentFragmentSet that indicates a variable is an instance of a type. |
static EquivalentFragmentSet |
EquivalentFragmentSets.isAbstract(VarProperty varProperty,
Var start)
An
EquivalentFragmentSet that indicates a variable represents an abstract type. |
static EquivalentFragmentSet |
EquivalentFragmentSets.label(VarProperty varProperty,
Var type,
Label label)
An
EquivalentFragmentSet that indicates a variable representing a type with a particular label. |
static EquivalentFragmentSet |
EquivalentFragmentSets.neq(VarProperty varProperty,
Var varA,
Var varB)
An
EquivalentFragmentSet that indicates a variable is not equal to another variable. |
static EquivalentFragmentSet |
EquivalentFragmentSets.notInternalFragmentSet(VarProperty varProperty,
Var start)
An
EquivalentFragmentSet that indicates a variable is not a casting or a shard. |
static EquivalentFragmentSet |
EquivalentFragmentSets.plays(VarProperty varProperty,
Var type,
Var roleType,
boolean required)
An
EquivalentFragmentSet that indicates a variable is a type whose instances play a role. |
static EquivalentFragmentSet |
EquivalentFragmentSets.regex(VarProperty varProperty,
Var resourceType,
String regex)
An
EquivalentFragmentSet that indicates a resource type whose instances must conform to a given regex. |
static EquivalentFragmentSet |
EquivalentFragmentSets.relates(VarProperty varProperty,
Var relationType,
Var roleType)
An
EquivalentFragmentSet that indicates a variable is a relation type which involves a role. |
static EquivalentFragmentSet |
EquivalentFragmentSets.shortcut(VarProperty varProperty,
Var relation,
Var edge,
Var rolePlayer,
Optional<Var> roleType)
An
EquivalentFragmentSet that indicates a shortcut edge between two role-players. |
static EquivalentFragmentSet |
EquivalentFragmentSets.sub(VarProperty varProperty,
Var subType,
Var superType)
An
EquivalentFragmentSet that indicates a variable is a sub-type of another variable. |
static EquivalentFragmentSet |
EquivalentFragmentSets.value(VarProperty varProperty,
Var resource,
ValuePredicateAdmin predicate)
An
EquivalentFragmentSet that indicates a variable represents a resource with value matching a predicate. |
| Modifier and Type | Method and Description |
|---|---|
<T extends VarProperty> |
AbstractVarPattern.getProperties(Class<T> type) |
<T extends VarProperty> |
AbstractVarPattern.hasProperty(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<VarProperty> |
AbstractVarPattern.getProperties() |
protected abstract Set<VarProperty> |
AbstractVarPattern.properties() |
| Modifier and Type | Method and Description |
|---|---|
static VarPatternAdmin |
Patterns.varPattern(Var name,
Set<VarProperty> properties) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
VarPropertyInternal
Internal interface for
VarProperty, providing additional methods to match, insert or delete the property. |
| Modifier and Type | Class and Description |
|---|---|
class |
DataTypeProperty
Represents the
datatype property on a ResourceType. |
class |
HasResourceProperty
Represents the
has property on an Thing. |
class |
HasResourceTypeProperty
|
class |
HasScopeProperty
Represents the
has-scope property on a Relation. |
class |
IdProperty
Represents the
id property on a Concept. |
class |
IsAbstractProperty
Represents the
is-abstract property on a Type. |
class |
IsaProperty
Represents the
isa property on a Thing. |
class |
LabelProperty
Represents the
label property on a Type. |
class |
NeqProperty
Represents the
!= property on a Concept. |
class |
PlaysProperty
Reperesents the
plays property on a Type. |
class |
RegexProperty
Represents the
regex property on a ResourceType. |
class |
RelatesProperty
Represents the
relates property on a RelationType. |
class |
RelationProperty
Represents the relation property (e.g.
|
class |
RuleProperty
Abstract property for the patterns within rules.
|
class |
SubProperty
Represents the
sub property on a Type. |
class |
ThenProperty
Represents the
then (right-hand side) property on a Rule. |
class |
ValueProperty
Represents the
value property on a Resource. |
class |
WhenProperty
Represents the
when property on a Rule. |
| Modifier and Type | Method and Description |
|---|---|
Set<VarProperty> |
Atom.getVarProperties() |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.