public class ConceptMethod extends Object
Concepts that can be executed over gRPC.
This unifies client and server behaviour for each possible method on a concept.
This class maps one-to-one with the gRPC message ConceptProto.Method.Req.| Modifier and Type | Class and Description |
|---|---|
static class |
ConceptMethod.ConceptHolder
A utility class to hold on to the concept in the method request will be applied to
|
| Constructor and Description |
|---|
ConceptMethod() |
| Modifier and Type | Method and Description |
|---|---|
static SessionProto.Transaction.Res |
run(ai.grakn.concept.Concept concept,
ConceptProto.Method.Req req,
SessionService.Iterators iterators,
EmbeddedGraknTx tx) |
public static SessionProto.Transaction.Res run(ai.grakn.concept.Concept concept, ConceptProto.Method.Req req, SessionService.Iterators iterators, EmbeddedGraknTx tx)
Copyright © 2018 Grakn Labs Ltd. All rights reserved.