public class FactoryBuilder extends Object
Builds a Grakn Graph InternalFactory
Builds a Grakn Graph Factory which is locked to a specific keyspace and engine URL.
This uses refection in order to dynamically build any vendor specific factory which implements the
InternalFactory API.
The factories in this class are treated as singletons.
| Modifier and Type | Field and Description |
|---|---|
static String |
FACTORY_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static InternalFactory<?> |
getFactory(String keyspace,
String engineUrl,
Properties properties) |
static void |
refresh()
Clears all connections.
|
public static final String FACTORY_TYPE
public static InternalFactory<?> getFactory(String keyspace, String engineUrl, Properties properties)
public static void refresh()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.