public class GraphOfTheGodsFactory extends Object
TitanGraph
based on roman mythology.
Used in the documentation examples and tutorials.Modifier and Type | Field and Description |
---|---|
static String |
INDEX_NAME |
Constructor and Description |
---|
GraphOfTheGodsFactory() |
Modifier and Type | Method and Description |
---|---|
static TitanGraph |
create(String directory) |
static void |
load(TitanGraph graph) |
static void |
load(TitanGraph graph,
String mixedIndexName,
boolean uniqueNameCompositeIndex) |
static void |
loadWithoutMixedIndex(TitanGraph graph,
boolean uniqueNameCompositeIndex) |
static void |
main(String[] args)
Calls
TitanFactory.open(String) , passing the Titan configuration file path
which must be the sole element in the args array, then calls
load(com.thinkaurelius.titan.core.TitanGraph) on the opened graph,
then calls TitanGraph.close()
and returns. |
public static final String INDEX_NAME
public static TitanGraph create(String directory)
public static void loadWithoutMixedIndex(TitanGraph graph, boolean uniqueNameCompositeIndex)
public static void load(TitanGraph graph)
public static void load(TitanGraph graph, String mixedIndexName, boolean uniqueNameCompositeIndex)
public static void main(String[] args)
TitanFactory.open(String)
, passing the Titan configuration file path
which must be the sole element in the args
array, then calls
load(com.thinkaurelius.titan.core.TitanGraph)
on the opened graph,
then calls TitanGraph.close()
and returns.
This method may call System.exit(int)
if it encounters an error, such as
failure to parse its arguments. Only use this method when executing main from
a command line. Use one of the other methods on this class (create(String)
or load(com.thinkaurelius.titan.core.TitanGraph)
) when calling from
an enclosing application.args
- a singleton array containing a path to a Titan config properties fileCopyright © 2012–2015. All rights reserved.