public class GraphFactory
extends java.lang.Object
Graph instances from a
Configuration object or properties file.| Constructor and Description |
|---|
GraphFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Graph |
open(org.apache.commons.configuration.Configuration configuration)
Open a graph.
|
static Graph |
open(java.util.Map configuration)
Open a graph.
|
static Graph |
open(java.lang.String configurationFile)
Open a graph.
|
public static Graph open(org.apache.commons.configuration.Configuration configuration)
Graph instance for its configuration options.public static Graph open(java.lang.String configurationFile)
Graph instance for its configuration options. This file may be XML, YAML,
or a standard properties file. How the configuration is used (and which kind is required) is dependent on
the implementation.public static Graph open(java.util.Map configuration)
Graph instance for its configuration options.configuration - A Map based configuration that will be converted to an Configuration object
via MapConfiguration and passed to the appropriate overload.Copyright © 2013-2015 TinkerPop. All Rights Reserved.