public final class StardogGraphFactory extends Object
Graph instances for Stardog.| Modifier and Type | Method and Description |
|---|---|
static org.apache.tinkerpop.gremlin.structure.Graph |
open(org.apache.commons.configuration.Configuration theConfig)
Creates a new Graph using the configuration settings.
|
static org.apache.tinkerpop.gremlin.structure.Graph |
open(String theConnStr,
boolean theCached)
Creates a new Graph using the specified settings.
|
static org.apache.tinkerpop.gremlin.structure.Graph |
open(String theConnStr,
String theUser,
String thePass,
boolean theReasoningEnabled,
String theNamedGraph,
boolean theCached)
Creates a new Graph using the specified settings.
|
public static org.apache.tinkerpop.gremlin.structure.Graph open(org.apache.commons.configuration.Configuration theConfig)
Creates a new Graph using the configuration settings.
Configuration settings could be easily build with the StardogGraphConfiguration.Builder.
theConfig - the Configuration settings objectpublic static org.apache.tinkerpop.gremlin.structure.Graph open(String theConnStr, String theUser, String thePass, boolean theReasoningEnabled, String theNamedGraph, boolean theCached)
Creates a new Graph using the specified settings.
theConnStr - a Stardog Connection StringtheUser - user to connect to StardogthePass - password to connect to StardogtheReasoningEnabled - flag to indicate if reasoning will be usedtheNamedGraph - the specific named-graph to use as storagetheCached - flag to indicate if cache will be used for this Graphpublic static org.apache.tinkerpop.gremlin.structure.Graph open(String theConnStr, boolean theCached)
Creates a new Graph using the specified settings.
theConnStr - a Stardog Connection StringtheCached - flag to indicate if cache will be used for this GraphCopyright © 2010-2016 Stardog Union. All Rights Reserved.