public class GraphUri extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
URI_SCHEMA_PART |
| Constructor and Description |
|---|
GraphUri(String uri) |
GraphUri(String uri,
org.apache.commons.configuration.Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
com.tinkerpop.blueprints.util.wrappers.id.IdGraph |
createNewIdGraph(boolean deleteExisting)
Create a new empty graph, deleting any existing graph if deleteExisting=true
|
String[] |
getEdgeLabels() |
URI |
getUri() |
String |
getUriPath() |
String[] |
getVertexTypes() |
com.tinkerpop.blueprints.util.wrappers.id.IdGraph |
openExistingIdGraph() |
com.tinkerpop.blueprints.util.wrappers.id.IdGraph |
openIdGraph()
Open existing or create a new graph
|
<T extends com.tinkerpop.blueprints.KeyIndexableGraph> |
openIdGraph(Class<T> baseGraphClass)
Open existing or create a new graph
|
static void |
printConfig(org.apache.commons.configuration.Configuration conf) |
static void |
register(String scheme,
IdGraphFactory factory) |
public static final String URI_SCHEMA_PART
public GraphUri(String uri)
public GraphUri(String uri, org.apache.commons.configuration.Configuration config)
public com.tinkerpop.blueprints.util.wrappers.id.IdGraph openIdGraph()
public com.tinkerpop.blueprints.util.wrappers.id.IdGraph openExistingIdGraph()
throws FileNotFoundException
FileNotFoundExceptionpublic com.tinkerpop.blueprints.util.wrappers.id.IdGraph createNewIdGraph(boolean deleteExisting)
throws IOException
IOExceptionpublic <T extends com.tinkerpop.blueprints.KeyIndexableGraph> com.tinkerpop.blueprints.util.wrappers.id.IdGraph<T> openIdGraph(Class<T> baseGraphClass)
baseGraphClass - public static void printConfig(org.apache.commons.configuration.Configuration conf)
public static void register(String scheme, IdGraphFactory factory)
public URI getUri()
public String getUriPath()
public String[] getVertexTypes()
public String[] getEdgeLabels()
Copyright © 2015. All rights reserved.