| Package | Description |
|---|---|
| ai.grakn.concept |
Provides the meta-ontology interfaces and definitions.
|
| 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.internal.parser | |
| ai.grakn.graql.internal.pattern | |
| ai.grakn.graql.internal.pattern.property | |
| ai.grakn.graql.internal.query | |
| ai.grakn.graql.internal.util |
| Modifier and Type | Method and Description |
|---|---|
Pattern |
Rule.getLHS()
Retrieves the Left Hand Side of a Graql query.
|
Pattern |
Rule.getRHS()
Retrieves the Right Hand Side of a Graql query.
|
| Modifier and Type | Method and Description |
|---|---|
Rule |
RuleType.putRule(Pattern lhs,
Pattern rhs)
Adds a new Rule if it does not exist otherwise returns the existing rule.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Var
A variable in a Graql query
|
interface |
VarPattern
A variable together with its properties.
|
| Modifier and Type | Method and Description |
|---|---|
static Pattern |
Graql.and(Collection<? extends Pattern> patterns) |
static Pattern |
Graql.and(Pattern... patterns) |
static Pattern |
Graql.or(Collection<? extends Pattern> patterns) |
static Pattern |
Graql.or(Pattern... patterns) |
Pattern |
QueryBuilder.parsePattern(String patternString) |
| Modifier and Type | Method and Description |
|---|---|
static List<Pattern> |
Graql.parsePatterns(String patternsString) |
List<Pattern> |
QueryBuilder.parsePatterns(String patternsString) |
| Modifier and Type | Method and Description |
|---|---|
static Pattern |
Graql.and(Pattern... patterns) |
VarPattern |
VarPattern.lhs(Pattern lhs) |
static MatchQuery |
Graql.match(Pattern... patterns) |
MatchQuery |
QueryBuilder.match(Pattern... patterns) |
static Pattern |
Graql.or(Pattern... patterns) |
VarPattern |
VarPattern.rhs(Pattern rhs) |
| Modifier and Type | Method and Description |
|---|---|
static Pattern |
Graql.and(Collection<? extends Pattern> patterns) |
static MatchQuery |
Graql.match(Collection<? extends Pattern> patterns) |
MatchQuery |
QueryBuilder.match(Collection<? extends Pattern> patterns) |
static Pattern |
Graql.or(Collection<? extends Pattern> patterns) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Conjunction<T extends PatternAdmin>
A class representing a conjunction (and) of patterns.
|
interface |
Disjunction<T extends PatternAdmin>
A class representing a disjunction (or) of patterns.
|
interface |
PatternAdmin
Admin class for inspecting and manipulating a Pattern
|
interface |
VarPatternAdmin
Admin class for inspecting a
VarPattern |
| Modifier and Type | Method and Description |
|---|---|
Pattern |
QueryParser.parsePattern(String patternString) |
| Modifier and Type | Method and Description |
|---|---|
List<Pattern> |
QueryParser.parsePatterns(String patternsString) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractVarPattern
Abstract implementation of
VarPatternAdmin. |
| Modifier and Type | Method and Description |
|---|---|
VarPattern |
AbstractVarPattern.lhs(Pattern lhs) |
VarPattern |
AbstractVarPattern.rhs(Pattern rhs) |
| Modifier and Type | Field and Description |
|---|---|
protected Pattern |
RuleProperty.pattern |
| Modifier and Type | Method and Description |
|---|---|
Pattern |
RuleProperty.getPattern() |
| Constructor and Description |
|---|
LhsProperty(Pattern pattern) |
RhsProperty(Pattern rhs) |
| Modifier and Type | Method and Description |
|---|---|
Pattern |
QueryBuilderImpl.parsePattern(String patternString) |
| Modifier and Type | Method and Description |
|---|---|
List<Pattern> |
QueryBuilderImpl.parsePatterns(String patternsString) |
| Modifier and Type | Method and Description |
|---|---|
MatchQuery |
QueryBuilderImpl.match(Pattern... patterns) |
| Modifier and Type | Method and Description |
|---|---|
MatchQuery |
QueryBuilderImpl.match(Collection<? extends Pattern> patterns) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<PatternAdmin> |
AdminConverter.getPatternAdmins(Collection<? extends Pattern> patterns) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.