Skip navigation links
Grakn
A B C D E G H I J K L M N O P Q R S T U V W 

A

addIndex(Keyspace, String, Set<ConceptId>) - Method in interface ai.grakn.engine.task.postprocessing.IndexStorage
Add an index to the list of indices which needs to be post processed
addIndex(Keyspace, String, Set<ConceptId>) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisIndexStorage
 
addKeyspace(Keyspace) - Method in class ai.grakn.engine.GraknKeyspaceStoreImpl
Logs a new Keyspace to the GraknKeyspaceStore.
addURI(String) - Method in class ai.grakn.engine.data.RedisWrapper.Builder
 
ai.grakn.engine - package ai.grakn.engine
Implements the REST controllers, task management and post processing features.
ai.grakn.engine.controller - package ai.grakn.engine.controller
Implementation of Grakn server REST endpoints.
ai.grakn.engine.controller.response - package ai.grakn.engine.controller.response
 
ai.grakn.engine.controller.util - package ai.grakn.engine.controller.util
 
ai.grakn.engine.data - package ai.grakn.engine.data
 
ai.grakn.engine.factory - package ai.grakn.engine.factory
 
ai.grakn.engine.loader - package ai.grakn.engine.loader
Implements MutatorTask.
ai.grakn.engine.lock - package ai.grakn.engine.lock
 
ai.grakn.engine.printer - package ai.grakn.engine.printer
 
ai.grakn.engine.rpc - package ai.grakn.engine.rpc
 
ai.grakn.engine.task - package ai.grakn.engine.task
 
ai.grakn.engine.task.postprocessing - package ai.grakn.engine.task.postprocessing
 
ai.grakn.engine.task.postprocessing.redisstorage - package ai.grakn.engine.task.postprocessing.redisstorage
 
ai.grakn.engine.util - package ai.grakn.engine.util
Implementation of internal engine utilities.
Answer - Class in ai.grakn.engine.controller.response
Response wrapper for Answer
Answer() - Constructor for class ai.grakn.engine.controller.response.Answer
 
Attribute - Class in ai.grakn.engine.controller.response
Wrapper class for Attribute
Attribute() - Constructor for class ai.grakn.engine.controller.response.Attribute
 
attributes() - Method in class ai.grakn.engine.controller.response.Thing
 
attributes() - Method in class ai.grakn.engine.controller.response.Type
 
AttributeType - Class in ai.grakn.engine.controller.response
Wrapper class for AttributeType
AttributeType() - Constructor for class ai.grakn.engine.controller.response.AttributeType
 

B

BackgroundTask - Interface in ai.grakn.engine.task
Defines the API which must be implemented in order to be able to run the task in the background
backgroundTaskRunner() - Method in class ai.grakn.engine.GraknEngineServer
 
BackgroundTaskRunner - Class in ai.grakn.engine.task
Helper class which wraps a ScheduledExecutorService which runs periodically and executes BackgroundTask
BackgroundTaskRunner(GraknConfig) - Constructor for class ai.grakn.engine.task.BackgroundTaskRunner
 
baseType() - Method in class ai.grakn.engine.controller.response.Concept
 
build(Concept) - Static method in class ai.grakn.engine.controller.response.ConceptBuilder
Takes a Concept and returns the equivalent response object
build() - Method in class ai.grakn.engine.data.RedisWrapper.Builder
 
build(Concept) - Method in class ai.grakn.engine.printer.JacksonPrinter
 
build(Answer) - Method in class ai.grakn.engine.printer.JacksonPrinter
 
build(boolean) - Method in class ai.grakn.engine.printer.JacksonPrinter
 
build(Map) - Method in class ai.grakn.engine.printer.JacksonPrinter
 
build(Collection) - Method in class ai.grakn.engine.printer.JacksonPrinter
 
build(Optional) - Method in class ai.grakn.engine.printer.JacksonPrinter
 
buildDefault(Object) - Method in class ai.grakn.engine.printer.JacksonPrinter
 
builder() - Static method in class ai.grakn.engine.data.RedisWrapper
 
Builder() - Constructor for class ai.grakn.engine.data.RedisWrapper.Builder
 
buildExplanation(Answer) - Static method in class ai.grakn.engine.controller.response.ExplanationBuilder
 
buildThings(Type, int, int) - Static method in class ai.grakn.engine.controller.response.ConceptBuilder
Gets all the instances of a specific Type and wraps them in a Things response object

C

checkVersion() - Method in interface ai.grakn.engine.data.QueueSanityCheck
 
checkVersion() - Method in class ai.grakn.engine.data.RedisSanityCheck
 
close() - Method in interface ai.grakn.engine.data.QueueSanityCheck
 
close() - Method in class ai.grakn.engine.data.RedisSanityCheck
 
close() - Method in class ai.grakn.engine.data.RedisWrapper
 
close() - Method in class ai.grakn.engine.GraknEngineServer
 
close() - Method in class ai.grakn.engine.rpc.GrpcServer
 
close() - Method in interface ai.grakn.engine.task.BackgroundTask
Shutdown the task.
close() - Method in class ai.grakn.engine.task.BackgroundTaskRunner
 
close() - Method in class ai.grakn.engine.task.postprocessing.PostProcessingTask
 
CommitLogController - Class in ai.grakn.engine.controller
A controller which core submits commit logs to so we can post-process jobs for cleanup.
CommitLogController(PostProcessor) - Constructor for class ai.grakn.engine.controller.CommitLogController
 
complete(Object) - Method in class ai.grakn.engine.printer.JacksonPrinter
 
Concept - Class in ai.grakn.engine.controller.response
Wrapper class for Concept
Concept() - Constructor for class ai.grakn.engine.controller.response.Concept
 
ConceptBuilder - Class in ai.grakn.engine.controller.response
Factory used to build the wrapper Concepts from real Concepts
ConceptBuilder() - Constructor for class ai.grakn.engine.controller.response.ConceptBuilder
 
ConceptController - Class in ai.grakn.engine.controller
Endpoints used to query for Concepts
ConceptController(EngineGraknTxFactory, MetricRegistry) - Constructor for class ai.grakn.engine.controller.ConceptController
 
conceptMap() - Method in class ai.grakn.engine.controller.response.Answer
 
config() - Method in class ai.grakn.engine.factory.EngineGraknTxFactory
 
configureSpark(Service, GraknConfig) - Static method in class ai.grakn.engine.HttpHandler
 
configureSpark(Service, String, int, Path, int) - Static method in class ai.grakn.engine.HttpHandler
 
contactRedis(Function<Jedis, X>) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisStorage
A helper function which acquires a connection to redis from the pool and then uses it for some operations.
containsKeyspace(Keyspace) - Method in class ai.grakn.engine.GraknKeyspaceStoreImpl
 
count() - Method in class ai.grakn.engine.task.postprocessing.PostProcessor
 
CountPostProcessor - Class in ai.grakn.engine.task.postprocessing
Class responsible for updating the number of Things each Type currently has.
CountStorage - Interface in ai.grakn.engine.task.postprocessing
Stores a cache of counts so that we can know which Types to shard when they have too many instances.
create(Map<String, Concept>) - Static method in class ai.grakn.engine.controller.response.Answer
 
create(Answer) - Static method in class ai.grakn.engine.controller.response.Answer
 
create(ConceptId, Link, EmbeddedSchemaConcept, Link, Link, Link, boolean, String, String, String) - Static method in class ai.grakn.engine.controller.response.Attribute
 
create(ConceptId, Link, Label, Boolean, EmbeddedSchemaConcept, Link, Boolean, Link, Link, Link, Link, String, String) - Static method in class ai.grakn.engine.controller.response.AttributeType
 
create(ConceptId, Link, EmbeddedSchemaConcept, String, String) - Static method in class ai.grakn.engine.controller.response.EmbeddedAttribute
 
create(Attribute) - Static method in class ai.grakn.engine.controller.response.EmbeddedAttribute
 
create(Link, Label) - Static method in class ai.grakn.engine.controller.response.EmbeddedSchemaConcept
 
create(SchemaConcept) - Static method in class ai.grakn.engine.controller.response.EmbeddedSchemaConcept
 
create(ConceptId, Link, EmbeddedSchemaConcept, Link, Link, Link, boolean, String) - Static method in class ai.grakn.engine.controller.response.Entity
 
create(ConceptId, Link, Label, Boolean, EmbeddedSchemaConcept, Link, Boolean, Link, Link, Link, Link) - Static method in class ai.grakn.engine.controller.response.EntityType
 
create(String) - Static method in class ai.grakn.engine.controller.response.Link
 
create(Link, Map<String, Object>) - Static method in class ai.grakn.engine.controller.response.Link
 
create(Thing) - Static method in class ai.grakn.engine.controller.response.Link
 
create(SchemaConcept) - Static method in class ai.grakn.engine.controller.response.Link
 
create(Link, String, List<T>) - Static method in class ai.grakn.engine.controller.response.ListResource
 
create(ConceptId, Link, Label, EmbeddedSchemaConcept, Link, Link, Link, Link, Link) - Static method in class ai.grakn.engine.controller.response.MetaConcept
 
create(ConceptId, Link, EmbeddedSchemaConcept, Link, Link, Link, boolean, String, Set<RolePlayer>) - Static method in class ai.grakn.engine.controller.response.Relationship
 
create(ConceptId, Link, Label, Boolean, EmbeddedSchemaConcept, Link, Boolean, Link, Link, Link, Link, Set<Link>) - Static method in class ai.grakn.engine.controller.response.RelationshipType
 
create(ConceptId, Link, Label, Boolean, EmbeddedSchemaConcept, Link, Set<Link>, Set<Link>) - Static method in class ai.grakn.engine.controller.response.Role
 
create(Link, Link) - Static method in class ai.grakn.engine.controller.response.RolePlayer
 
create() - Static method in class ai.grakn.engine.controller.response.Root
 
create(Link, Link) - Static method in class ai.grakn.engine.controller.response.Root
 
create(ConceptId, Link, Label, Boolean, EmbeddedSchemaConcept, Link, String, String) - Static method in class ai.grakn.engine.controller.response.Rule
 
create(Link, List<Thing>, Link, Link) - Static method in class ai.grakn.engine.controller.response.Things
 
create(GraknConfig) - Static method in class ai.grakn.engine.data.RedisWrapper
 
create(LockProvider, GraknConfig, GraknKeyspaceStore) - Static method in class ai.grakn.engine.factory.EngineGraknTxFactory
 
create(SystemKeyspaceSession) - Static method in class ai.grakn.engine.GraknKeyspaceStoreImpl
 
create() - Static method in class ai.grakn.engine.printer.JacksonPrinter
 
create(Server) - Static method in class ai.grakn.engine.rpc.GrpcServer
 
create(GraknConfig, EngineGraknTxFactory, LockProvider, MetricRegistry, CountStorage) - Static method in class ai.grakn.engine.task.postprocessing.CountPostProcessor
 
create(LockProvider, IndexStorage) - Static method in class ai.grakn.engine.task.postprocessing.IndexPostProcessor
 
create(IndexPostProcessor, CountPostProcessor) - Static method in class ai.grakn.engine.task.postprocessing.PostProcessor
 
create(Pool<Jedis>, MetricRegistry) - Static method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisCountStorage
 
create(Pool<Jedis>, MetricRegistry) - Static method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisIndexStorage
 
createAttributesLink(Thing) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to fetch all the EmbeddedAttributes of a Thing
createAttributesLink(Type) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to get all the attributes of a Type
createGraknEngineServer() - Static method in class ai.grakn.engine.GraknEngineServerFactory
Create a GraknEngineServer configured for Grakn Core.
createGraknEngineServer(EngineID, GraknConfig, GraknEngineStatus, Service, Collection<HttpController>, GrpcServer, EngineGraknTxFactory, MetricRegistry, QueueSanityCheck, LockProvider, PostProcessor, GraknKeyspaceStore) - Static method in class ai.grakn.engine.GraknEngineServerFactory
Allows the creation of a GraknEngineServer instance with various configurations
createInstanceLink(Type) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to fetch the instances of a Type
createInstanceLink(Type, int, int) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to get all the paged instances of a Type
createInstancesLink(Type) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to get all the instances of a Type
createKeysLink(Thing) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to fetch all the EmbeddedAttributes of a Thing
createKeysLink(Type) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to get all the keys of a Type
createPlaysLink(Type) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to get all the plays of a Type
createRelationshipsLink(Thing) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to fetch all the Relationship)s of a {@link Thing}
createSubsLink(SchemaConcept) - Static method in class ai.grakn.engine.controller.response.Link
Creates a link to get all the subs of a SchemaConcept

D

dataType() - Method in class ai.grakn.engine.controller.response.Attribute
 
dataType() - Method in class ai.grakn.engine.controller.response.AttributeType
 
dataType() - Method in class ai.grakn.engine.controller.response.EmbeddedAttribute
 
delete(GrpcGrakn.DeleteRequest, StreamObserver<GrpcGrakn.DeleteResponse>) - Method in class ai.grakn.engine.rpc.GrpcGraknService
 
deleteKeyspace(Keyspace) - Method in class ai.grakn.engine.GraknKeyspaceStoreImpl
 

E

EmbeddedAttribute - Class in ai.grakn.engine.controller.response
Wrapper class for a light representation of Attributes which are embedded in the Thing representations
EmbeddedAttribute() - Constructor for class ai.grakn.engine.controller.response.EmbeddedAttribute
 
EmbeddedSchemaConcept - Class in ai.grakn.engine.controller.response
Wrapper class for a light representation of Type which is embedded in the Thing representation
EmbeddedSchemaConcept() - Constructor for class ai.grakn.engine.controller.response.EmbeddedSchemaConcept
 
EngineGraknTxFactory - Class in ai.grakn.engine.factory
Engine's internal GraknTx Factory
EngineID - Class in ai.grakn.engine.util
Assigns a random ID to the current instance of Engine.
EngineID() - Constructor for class ai.grakn.engine.util.EngineID
 
Entity - Class in ai.grakn.engine.controller.response
Wrapper class for Entity
Entity() - Constructor for class ai.grakn.engine.controller.response.Entity
 
EntityType - Class in ai.grakn.engine.controller.response
Wrapper class for EntityType
EntityType() - Constructor for class ai.grakn.engine.controller.response.EntityType
 
execute(GrpcGrakn.Open) - Method in class ai.grakn.engine.rpc.GrpcOpenRequestExecutorImpl
 
explanation() - Method in class ai.grakn.engine.controller.response.Thing
 
ExplanationBuilder - Class in ai.grakn.engine.controller.response
Builds the explanation for a given series of Answers
ExplanationBuilder() - Constructor for class ai.grakn.engine.controller.response.ExplanationBuilder
 
extractJsonField(Json, String...) - Static method in class ai.grakn.engine.controller.util.Requests
Given a Json object, attempt to extract a single field as supplied, or throw a user-friendly exception clearly indicating the missing field

G

getAcceptType(Request) - Static method in class ai.grakn.engine.controller.util.Requests
Gets the accepted type of the request
getConceptIdsKey(Keyspace, String) - Static method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisIndexStorage
The key which refers to a set of vertices currently pointing to the same index
getCount(String) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisCountStorage
Gets the count for the specified key.
getHttpHandler() - Method in class ai.grakn.engine.GraknEngineServer
 
getIndicesKey(Keyspace) - Static method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisIndexStorage
The key which refers to a list of all the indices in a certain Keyspace which need to be post processed
getInstanceCount(Keyspace, ConceptId) - Method in interface ai.grakn.engine.task.postprocessing.CountStorage
Get the instance count for a specific concept.
getInstanceCount(Keyspace, ConceptId) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisCountStorage
 
getJedisPool() - Method in class ai.grakn.engine.data.RedisWrapper
 
getKeyNumInstances(Keyspace, ConceptId) - Static method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisCountStorage
All the valid keys which map to values in the redis cache
getKeyNumShards(Keyspace, ConceptId) - Static method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisCountStorage
 
getLock(String) - Method in class ai.grakn.engine.lock.JedisLockProvider
 
getLock(String) - Method in interface ai.grakn.engine.lock.LockProvider
 
getLock(String) - Method in class ai.grakn.engine.lock.ProcessWideLockProvider
 
getLockName() - Method in class ai.grakn.engine.lock.JedisLock
 
getShardCount(Keyspace, ConceptId) - Method in interface ai.grakn.engine.task.postprocessing.CountStorage
Get the shard count for a specific concept.
getShardCount(Keyspace, ConceptId) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisCountStorage
 
getValue() - Method in class ai.grakn.engine.util.EngineID
 
GraknEngineServer - Class in ai.grakn.engine
Main class in charge to start a web server and all the REST controllers.
GraknEngineServer(EngineID, GraknConfig, GraknEngineStatus, LockProvider, QueueSanityCheck, HttpHandler, BackgroundTaskRunner, GraknKeyspaceStore) - Constructor for class ai.grakn.engine.GraknEngineServer
 
GraknEngineServerFactory - Class in ai.grakn.engine
This is a factory class which contains methods for instantiating a GraknEngineServer in different ways.
GraknEngineServerFactory() - Constructor for class ai.grakn.engine.GraknEngineServerFactory
 
GraknEngineStatus - Class in ai.grakn.engine
Contains information on the state of an engine.
GraknEngineStatus() - Constructor for class ai.grakn.engine.GraknEngineStatus
 
GraknKeyspaceStoreImpl - Class in ai.grakn.engine
Default implementation of GraknKeyspaceStore that uses a EngineGraknTxFactory to access a knowledge base and store keyspace information.
GraknSystemKeyspaceSession - Class in ai.grakn.engine
Provides transactions to access "graknsystem" which is Grakn system keyspace - used by GraknKeyspaceStore to keep track of available keyspaces
GraknSystemKeyspaceSession(GraknConfig) - Constructor for class ai.grakn.engine.GraknSystemKeyspaceSession
 
graql() - Method in class ai.grakn.engine.controller.response.Keyspace
 
GraqlController - Class in ai.grakn.engine.controller
Endpoints used to query the graph using Graql and build a HAL, Graql or Json response.
GraqlController(EngineGraknTxFactory, PostProcessor, Printer<?>, MetricRegistry) - Constructor for class ai.grakn.engine.controller.GraqlController
 
GrpcGraknService - Class in ai.grakn.engine.rpc
Service used by GrpcServer to provide Grakn core functionality via gRPC
GrpcGraknService(GrpcOpenRequestExecutor, PostProcessor) - Constructor for class ai.grakn.engine.rpc.GrpcGraknService
 
GrpcOpenRequestExecutorImpl - Class in ai.grakn.engine.rpc
Class used to handle gRPC Open requests.
GrpcOpenRequestExecutorImpl(EngineGraknTxFactory) - Constructor for class ai.grakn.engine.rpc.GrpcOpenRequestExecutorImpl
 
GrpcServer - Class in ai.grakn.engine.rpc
 

H

handleGraknServerError(GraknServerException, Response) - Static method in class ai.grakn.engine.HttpHandler
Handle any GraknBackendException that are thrown by the server.
handleInternalError(Exception, Response) - Static method in class ai.grakn.engine.HttpHandler
Handle any exception thrown by the server
HttpController - Interface in ai.grakn.engine.controller
Interface implemented by all HTTPControllers
HttpHandler - Class in ai.grakn.engine
 
HttpHandler(GraknConfig, Service, EngineGraknTxFactory, MetricRegistry, GraknEngineStatus, PostProcessor, GrpcServer, Collection<HttpController>) - Constructor for class ai.grakn.engine.HttpHandler
 

I

id() - Method in class ai.grakn.engine.controller.response.Concept
 
id() - Method in class ai.grakn.engine.controller.response.EmbeddedAttribute
 
id() - Method in class ai.grakn.engine.controller.response.Keyspace
 
id() - Method in class ai.grakn.engine.controller.response.Keyspaces
 
id() - Method in class ai.grakn.engine.controller.response.Link
 
implicit() - Method in class ai.grakn.engine.controller.response.SchemaConcept
 
incrementCount(String, long) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisCountStorage
Adjusts the count for a specific key.
incrementInstanceCount(Keyspace, ConceptId, long) - Method in interface ai.grakn.engine.task.postprocessing.CountStorage
Adjusts the count for a specific concept.
incrementInstanceCount(Keyspace, ConceptId, long) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisCountStorage
 
incrementShardCount(Keyspace, ConceptId, long) - Method in interface ai.grakn.engine.task.postprocessing.CountStorage
Adjusts the shard count for a specific concept.
incrementShardCount(Keyspace, ConceptId, long) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisCountStorage
 
index() - Method in class ai.grakn.engine.task.postprocessing.PostProcessor
 
IndexPostProcessor - Class in ai.grakn.engine.task.postprocessing
Class responsible for merging duplicate Attributes which may result from creating Attributes in a concurrent environment
IndexStorage - Interface in ai.grakn.engine.task.postprocessing
Stores a list of indices and vertex ids representing those indices which need to be post processed
inferred() - Method in class ai.grakn.engine.controller.response.Thing
 
instances() - Method in class ai.grakn.engine.controller.response.Things
 
instances() - Method in class ai.grakn.engine.controller.response.Type
 
isAbstract() - Method in class ai.grakn.engine.controller.response.Type
 
isReady() - Method in class ai.grakn.engine.GraknEngineStatus
 
items() - Method in class ai.grakn.engine.controller.response.ListResource
 

J

JacksonPrinter - Class in ai.grakn.engine.printer
This class is used to convert the responses from graql queries into objects which can be Jacksonised into their correct Json representation.
JacksonPrinter() - Constructor for class ai.grakn.engine.printer.JacksonPrinter
 
JedisLock - Class in ai.grakn.engine.lock
Wrapper for Jedis lock
JedisLock(Pool<Jedis>, String) - Constructor for class ai.grakn.engine.lock.JedisLock
 
JedisLockProvider - Class in ai.grakn.engine.lock
Provider for Jedis lock
JedisLockProvider(Pool<Jedis>) - Constructor for class ai.grakn.engine.lock.JedisLockProvider
 

K

kb() - Method in class ai.grakn.engine.controller.response.Root
 
key() - Method in class ai.grakn.engine.controller.response.ListResource
The key for the items in the serialized JSON object.
keys() - Method in class ai.grakn.engine.controller.response.Thing
 
keys() - Method in class ai.grakn.engine.controller.response.Type
 
Keyspace - Class in ai.grakn.engine.controller.response
Response object representing Keyspace
Keyspace() - Constructor for class ai.grakn.engine.controller.response.Keyspace
 
keyspace() - Method in class ai.grakn.engine.controller.response.Keyspaces
 
Keyspaces - Class in ai.grakn.engine.controller.response
Response object representing a collection of Keyspaces
Keyspaces() - Constructor for class ai.grakn.engine.controller.response.Keyspaces
 
keyspaces() - Method in class ai.grakn.engine.controller.response.Keyspaces
 
keyspaces() - Method in class ai.grakn.engine.GraknKeyspaceStoreImpl
 
keyspaceStore() - Method in class ai.grakn.engine.factory.EngineGraknTxFactory
 

L

label() - Method in class ai.grakn.engine.controller.response.EmbeddedSchemaConcept
 
label() - Method in class ai.grakn.engine.controller.response.SchemaConcept
 
Link - Class in ai.grakn.engine.controller.response
A helper class used to represent a link between different wrapper Concept
Link() - Constructor for class ai.grakn.engine.controller.response.Link
 
ListResource<T> - Class in ai.grakn.engine.controller.response
Wraps a list of items with a self-link and a custom named key
ListResource() - Constructor for class ai.grakn.engine.controller.response.ListResource
 
loadSystemSchema() - Method in class ai.grakn.engine.GraknKeyspaceStoreImpl
 
lock() - Method in class ai.grakn.engine.lock.JedisLock
 
lock() - Method in class ai.grakn.engine.lock.NonReentrantLock
 
lockInterruptibly() - Method in class ai.grakn.engine.lock.JedisLock
 
lockInterruptibly() - Method in class ai.grakn.engine.lock.NonReentrantLock
 
lockProvider() - Method in class ai.grakn.engine.GraknEngineServer
 
LockProvider - Interface in ai.grakn.engine.lock
Distributed lock interface

M

mandatoryBody(Request) - Static method in class ai.grakn.engine.controller.util.Requests
Given a {@link Request), retreive the value of the request body.
mandatoryPathParameter(Request, String) - Static method in class ai.grakn.engine.controller.util.Requests
Given a Function, retrieve the value of the by applying that function
mandatoryQueryParameter(Request, String) - Static method in class ai.grakn.engine.controller.util.Requests
Given a Request object retrieve the value of the argument.
mandatoryQueryParameter(Function<String, Optional<T>>, String) - Static method in class ai.grakn.engine.controller.util.Requests
Given a Function, retrieve the value of the by applying that function
me() - Static method in class ai.grakn.engine.util.EngineID
 
mergeDuplicateConcepts(EmbeddedGraknTx<?>, String, Set<ConceptId>) - Method in class ai.grakn.engine.task.postprocessing.IndexPostProcessor
Merges duplicate Concepts based on the unique index provided plus the ConceptIds of the suspected duplicates
MetaConcept - Class in ai.grakn.engine.controller.response
Special wrapper class for the top meta concept Schema.MetaSchema.THING;
MetaConcept() - Constructor for class ai.grakn.engine.controller.response.MetaConcept
 

N

name() - Method in class ai.grakn.engine.controller.response.Keyspace
 
newCondition() - Method in class ai.grakn.engine.lock.JedisLock
 
newCondition() - Method in class ai.grakn.engine.lock.NonReentrantLock
 
next() - Method in class ai.grakn.engine.controller.response.Things
 
NonReentrantLock - Class in ai.grakn.engine.lock
A non-reentrant lock
NonReentrantLock() - Constructor for class ai.grakn.engine.lock.NonReentrantLock
 

O

of(Keyspace) - Static method in class ai.grakn.engine.controller.response.Keyspace
 
of(Set<Keyspace>) - Static method in class ai.grakn.engine.controller.response.Keyspaces
 
of(String) - Static method in class ai.grakn.engine.util.EngineID
 

P

period() - Method in interface ai.grakn.engine.task.BackgroundTask
 
plays() - Method in class ai.grakn.engine.controller.response.Type
 
popIds(Keyspace, String) - Method in class ai.grakn.engine.task.postprocessing.IndexPostProcessor
 
popIds(Keyspace, String) - Method in interface ai.grakn.engine.task.postprocessing.IndexStorage
Gets and removes all the ids which we need to post process
popIds(Keyspace, String) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisIndexStorage
 
popIndex(Keyspace) - Method in class ai.grakn.engine.task.postprocessing.IndexPostProcessor
 
popIndex(Keyspace) - Method in interface ai.grakn.engine.task.postprocessing.IndexStorage
Gets and removes the next index to post process
popIndex(Keyspace) - Method in class ai.grakn.engine.task.postprocessing.redisstorage.RedisIndexStorage
 
PostProcessingTask - Class in ai.grakn.engine.task.postprocessing
Class which facilitates running PostProcessor jobs.
PostProcessingTask(EngineGraknTxFactory, IndexPostProcessor, GraknConfig) - Constructor for class ai.grakn.engine.task.postprocessing.PostProcessingTask
 
PostProcessor - Class in ai.grakn.engine.task.postprocessing
Simple helper class which contains IndexPostProcessor and CountPostProcessor.
PostProcessor() - Constructor for class ai.grakn.engine.task.postprocessing.PostProcessor
 
previous() - Method in class ai.grakn.engine.controller.response.Things
 
ProcessWideLockProvider - Class in ai.grakn.engine.lock
Simple locking meachanism that can be used in case of single engine execution
ProcessWideLockProvider() - Constructor for class ai.grakn.engine.lock.ProcessWideLockProvider
 

Q

queryParameter(Request, String) - Static method in class ai.grakn.engine.controller.util.Requests
Given a Request, retrieve the value of the
QueueSanityCheck - Interface in ai.grakn.engine.data
The QueueSanityCheck class is responsible for performing sanity check of the Queue component

R

RedisCountStorage - Class in ai.grakn.engine.task.postprocessing.redisstorage
Stores a cache of counts so that we can know which Types to shard when they have too many instances.
RedisIndexStorage - Class in ai.grakn.engine.task.postprocessing.redisstorage
Stores a list of indices and vertex ids representing those indices which need to be post processed
RedisSanityCheck - Class in ai.grakn.engine.data
The RedisSanityCheck class is responsible for performing sanity check to the Grakn Queue component which is backed by Redis
RedisSanityCheck(RedisWrapper) - Constructor for class ai.grakn.engine.data.RedisSanityCheck
 
RedisStorage - Class in ai.grakn.engine.task.postprocessing.redisstorage
Redis Server Connection Manager
RedisStorage(Pool<Jedis>, MetricRegistry) - Constructor for class ai.grakn.engine.task.postprocessing.redisstorage.RedisStorage
 
RedisWrapper - Class in ai.grakn.engine.data
This class just wraps a Jedis pool so it's transparent whether we use Sentinel or not (and TODO partitioning)
RedisWrapper.Builder - Class in ai.grakn.engine.data
Builder for the wrapper
refreshConnections() - Method in class ai.grakn.engine.factory.EngineGraknTxFactory
 
regex() - Method in class ai.grakn.engine.controller.response.AttributeType
 
register(BackgroundTask) - Method in class ai.grakn.engine.task.BackgroundTaskRunner
Submit a BackgroundTask to run periodically
relates() - Method in class ai.grakn.engine.controller.response.RelationshipType
 
Relationship - Class in ai.grakn.engine.controller.response
Wrapper class for Relationship
Relationship() - Constructor for class ai.grakn.engine.controller.response.Relationship
 
relationships() - Method in class ai.grakn.engine.controller.response.Role
 
relationships() - Method in class ai.grakn.engine.controller.response.Thing
 
RelationshipType - Class in ai.grakn.engine.controller.response
Wrapper class for RelationshipType
RelationshipType() - Constructor for class ai.grakn.engine.controller.response.RelationshipType
 
Requests - Class in ai.grakn.engine.controller.util
Utility class for handling http requests
Requests() - Constructor for class ai.grakn.engine.controller.util.Requests
 
Role - Class in ai.grakn.engine.controller.response
Wrapper class for Role
Role() - Constructor for class ai.grakn.engine.controller.response.Role
 
role() - Method in class ai.grakn.engine.controller.response.RolePlayer
 
RolePlayer - Class in ai.grakn.engine.controller.response
Wrapper class for wrapping a Role and Thing
RolePlayer() - Constructor for class ai.grakn.engine.controller.response.RolePlayer
 
roleplayers() - Method in class ai.grakn.engine.controller.response.Relationship
 
roleplayers() - Method in class ai.grakn.engine.controller.response.Role
 
roles() - Method in class ai.grakn.engine.controller.response.Keyspace
 
Root - Class in ai.grakn.engine.controller.response
 
Root() - Constructor for class ai.grakn.engine.controller.response.Root
 
Rule - Class in ai.grakn.engine.controller.response
Wrapper class for Rule
Rule() - Constructor for class ai.grakn.engine.controller.response.Rule
 
rules() - Method in class ai.grakn.engine.controller.response.Keyspace
 
run() - Method in interface ai.grakn.engine.task.BackgroundTask
The primary method to execute when the BackgroundTask starts executing
run() - Method in class ai.grakn.engine.task.postprocessing.PostProcessingTask
 

S

SchemaConcept - Class in ai.grakn.engine.controller.response
Wrapper class for SchemaConcept
SchemaConcept() - Constructor for class ai.grakn.engine.controller.response.SchemaConcept
 
selfLink() - Method in class ai.grakn.engine.controller.response.Concept
 
selfLink() - Method in class ai.grakn.engine.controller.response.EmbeddedAttribute
 
selfLink() - Method in class ai.grakn.engine.controller.response.EmbeddedSchemaConcept
 
selfLink() - Method in class ai.grakn.engine.controller.response.ListResource
 
selfLink() - Method in class ai.grakn.engine.controller.response.Root
 
selfLink() - Method in class ai.grakn.engine.controller.response.Things
 
selfLink(Request) - Static method in class ai.grakn.engine.controller.util.Requests
 
serialize(JsonGenerator, SerializerProvider) - Method in class ai.grakn.engine.controller.response.ListResource
 
serializeWithType(JsonGenerator, SerializerProvider, TypeSerializer) - Method in class ai.grakn.engine.controller.response.ListResource
 
setMasterName(String) - Method in class ai.grakn.engine.data.RedisWrapper.Builder
 
setPoolSize(int) - Method in class ai.grakn.engine.data.RedisWrapper.Builder
 
setReady(boolean) - Method in class ai.grakn.engine.GraknEngineStatus
 
setURI(Collection<String>) - Method in class ai.grakn.engine.data.RedisWrapper.Builder
 
setUseSentinel(boolean) - Method in class ai.grakn.engine.data.RedisWrapper.Builder
 
start(Service) - Method in class ai.grakn.engine.controller.CommitLogController
 
start(Service) - Method in class ai.grakn.engine.controller.ConceptController
 
start(Service) - Method in class ai.grakn.engine.controller.GraqlController
 
start(Service) - Method in interface ai.grakn.engine.controller.HttpController
 
start(Service) - Method in class ai.grakn.engine.controller.SystemController
 
start() - Method in class ai.grakn.engine.GraknEngineServer
 
start() - Method in class ai.grakn.engine.rpc.GrpcServer
 
startCollaborators() - Method in class ai.grakn.engine.HttpHandler
 
startHTTP() - Method in class ai.grakn.engine.HttpHandler
 
stopHTTP() - Method in class ai.grakn.engine.HttpHandler
 
submit(CommitLog) - Method in class ai.grakn.engine.task.postprocessing.PostProcessor
Submits a CommitLog to be stored and post processed later
subs() - Method in class ai.grakn.engine.controller.response.SchemaConcept
 
sup() - Method in class ai.grakn.engine.controller.response.SchemaConcept
 
SystemController - Class in ai.grakn.engine.controller
Controller Providing Configs for building Grakn Graphs
SystemController(GraknConfig, GraknKeyspaceStore, GraknEngineStatus, MetricRegistry) - Constructor for class ai.grakn.engine.controller.SystemController
 
systemKeyspace() - Method in class ai.grakn.engine.GraknEngineServer
 

T

tasks() - Method in class ai.grakn.engine.task.BackgroundTaskRunner
Returns the set of all tasks registered to run as BackgroundTasks.
testConnection() - Method in interface ai.grakn.engine.data.QueueSanityCheck
 
testConnection() - Method in class ai.grakn.engine.data.RedisSanityCheck
 
testConnection() - Method in class ai.grakn.engine.data.RedisWrapper
 
then() - Method in class ai.grakn.engine.controller.response.Rule
 
thing() - Method in class ai.grakn.engine.controller.response.RolePlayer
 
Thing - Class in ai.grakn.engine.controller.response
Wrapper class for Thing
Thing() - Constructor for class ai.grakn.engine.controller.response.Thing
 
Things - Class in ai.grakn.engine.controller.response
Wraps the Things of a Type with some metadata
Things() - Constructor for class ai.grakn.engine.controller.response.Things
 
tryLock() - Method in class ai.grakn.engine.lock.JedisLock
 
tryLock(long, TimeUnit) - Method in class ai.grakn.engine.lock.JedisLock
 
tryLock() - Method in class ai.grakn.engine.lock.NonReentrantLock
 
tryLock(long, TimeUnit) - Method in class ai.grakn.engine.lock.NonReentrantLock
 
tx(Keyspace, GraknTxType) - Method in class ai.grakn.engine.factory.EngineGraknTxFactory
 
tx(GraknTxType) - Method in class ai.grakn.engine.GraknSystemKeyspaceSession
 
tx(StreamObserver<GrpcGrakn.TxResponse>) - Method in class ai.grakn.engine.rpc.GrpcGraknService
 
type() - Method in class ai.grakn.engine.controller.response.EmbeddedAttribute
 
type() - Method in class ai.grakn.engine.controller.response.Thing
 
Type - Class in ai.grakn.engine.controller.response
Wrapper class for Type
Type() - Constructor for class ai.grakn.engine.controller.response.Type
 
types() - Method in class ai.grakn.engine.controller.response.Keyspace
 

U

unlock() - Method in class ai.grakn.engine.lock.JedisLock
 
unlock() - Method in class ai.grakn.engine.lock.NonReentrantLock
 
updateCounts(CommitLog) - Method in class ai.grakn.engine.task.postprocessing.CountPostProcessor
Updates the counts of Types based on the commit logs received.
updateIndices(CommitLog) - Method in class ai.grakn.engine.task.postprocessing.IndexPostProcessor
Adds all the new Attributes of a CommitLog to IndexStorage for storage.

V

validateRequest(Request, String...) - Static method in class ai.grakn.engine.controller.util.Requests
Checks that the Request is of the valid type
value() - Method in class ai.grakn.engine.controller.response.Attribute
 
value() - Method in class ai.grakn.engine.controller.response.EmbeddedAttribute
 
value() - Method in class ai.grakn.engine.controller.response.Keyspace
 

W

when() - Method in class ai.grakn.engine.controller.response.Rule
 
A B C D E G H I J K L M N O P Q R S T U V W 
Skip navigation links
Grakn

Copyright © 2018 Grakn Labs Ltd. All rights reserved.