public class FramedGraphFactory extends Object
FramedGraphs using a set of modules to
configure each graph. Note that by default all Framed graphs have the
following handlers registered: PropertyMethodHandler
AdjacencyAnnotationHandler IncidenceAnnotationHandler
DomainAnnotationHandler RangeAnnotationHandler| Constructor and Description |
|---|
FramedGraphFactory(Module... modules)
Create a
FramedGraphFactory with a set of modules. |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.tinkerpop.blueprints.Graph> |
create(T baseGraph)
Create a new
FramedGraph. |
<T extends com.tinkerpop.blueprints.TransactionalGraph> |
create(T baseGraph)
Create a new
FramedGraph. |
protected <T extends com.tinkerpop.blueprints.Graph> |
getConfiguration(Class<T> requiredType,
T baseGraph)
Returns a configuration that can be used when constructing a framed graph.
|
public FramedGraphFactory(Module... modules)
FramedGraphFactory with a set of modules.modules - The modules used to configure each FramedGraph created
by the factory.public <T extends com.tinkerpop.blueprints.Graph> FramedGraph<T> create(T baseGraph)
FramedGraph.baseGraph - The graph whose elements to frame.FramedGraphpublic <T extends com.tinkerpop.blueprints.TransactionalGraph> FramedTransactionalGraph<T> create(T baseGraph)
FramedGraph.baseGraph - The graph whose elements to frame.FramedGraphprotected <T extends com.tinkerpop.blueprints.Graph> FramedGraphConfiguration getConfiguration(Class<T> requiredType, T baseGraph)
requiredType - The type of graph required after configuration e.g. TransactionalGraphbaseGraph - The base graph to get a configuration for.Copyright © 2011-2015 JBoss by Red Hat. All Rights Reserved.