| Package | Description |
|---|---|
| ai.grakn.client |
The loader client - use this Java API to access the REST endpoint.
|
| ai.grakn.exception |
Grakn exception 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.analytics |
A collection of interfaces for executing analytics queries.
|
| ai.grakn.graql.internal.parser | |
| ai.grakn.graql.internal.query | |
| ai.grakn.graql.internal.query.match | |
| ai.grakn.migration.base |
Base migration package, which implements command line options and base interfaces for importing data into Grakn.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BatchMutatorClient.add(Query query)
Add an insert query to the queue.
|
| Modifier and Type | Method and Description |
|---|---|
static GraknServerException |
GraknServerException.contentTypeQueryMismatch(String contentType,
Query query)
Thrown when there is a mismatch between the content type in the request and the query to be executed
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AggregateQuery<T>
An aggregate query produced from a
MatchQuery. |
interface |
AskQuery
A query that will return whether a match query can be found in the graph.
|
interface |
ComputeQuery<T>
A query that triggers an analytics OLAP computation on a graph.
|
interface |
DeleteQuery
A query for deleting concepts from a match query.
|
interface |
InsertQuery
A query for inserting data.
|
interface |
MatchQuery
a query used for finding data in a graph that matches the given patterns.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Query<?>> |
Graql.parse(String queryString) |
<T extends Query<?>> |
QueryBuilder.parse(String queryString) |
<T extends Query<?>> |
QueryBuilder.parseList(String queryString) |
static <T extends Query<?>> |
Graql.parseTemplate(String template,
Map<String,Object> data) |
<T extends Query<?>> |
QueryBuilder.parseTemplate(String template,
Map<String,Object> data) |
| Modifier and Type | Method and Description |
|---|---|
Query<T> |
Query.withGraph(GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.stream.Stream<Query<?>> |
Graql.parseList(String queryString) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AskQueryAdmin
Admin class for inspecting and manipulating an AskQuery
|
interface |
DeleteQueryAdmin
Admin class for inspecting and manipulating a DeleteQuery
|
interface |
InsertQueryAdmin
Admin class for inspecting and manipulating an InsertQuery
|
interface |
MatchQueryAdmin
Admin class for inspecting and manipulating a MatchQuery
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClusterQuery<T>
Compute the connected components in the subgraph.
|
interface |
CountQuery
Count the number of instances in the subgraph.
|
interface |
DegreeQuery
Compute the number of relations that each instance takes part in.
|
interface |
MaxQuery
Compute the maximum value of the selected resource-type.
|
interface |
MeanQuery
Compute the mean of the selected resource-type.
|
interface |
MedianQuery
Compute the median of the selected resource-type.
|
interface |
MinQuery
Compute the minimum value of the selected resource-type.
|
interface |
PathQuery
Compute the shortest path between two instances.
|
interface |
StdQuery
Compute the standard deviation of the selected resource-type.
|
interface |
SumQuery
Compute the sum of the selected resource-type.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Query<?>> |
QueryParser.parseList(String queryString) |
<T extends Query<?>> |
QueryParser.parseQuery(String queryString) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Query<?>> |
QueryBuilderImpl.parse(String queryString) |
<T extends Query<?>> |
QueryBuilderImpl.parseList(String queryString) |
<T extends Query<?>> |
QueryBuilderImpl.parseTemplate(String template,
Map<String,Object> data) |
| Modifier and Type | Class and Description |
|---|---|
class |
MatchQueryBase
Base MatchQuery implementation that executes the gremlin traversal
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.stream.Stream<Query> |
Migrator.template(String template,
Map<String,Object> data) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.