public class GraphOfTheGodsFactory extends Object
JanusGraph
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 JanusGraph |
create(String directory) |
static void |
load(JanusGraph graph) |
static void |
load(JanusGraph graph,
String mixedIndexName,
boolean uniqueNameCompositeIndex) |
static void |
loadWithoutMixedIndex(JanusGraph graph,
boolean uniqueNameCompositeIndex) |
static void |
main(String[] args)
Calls
JanusGraphFactory.open(String) , passing the JanusGraph configuration file path
which must be the sole element in the args array, then calls
load(org.janusgraph.core.JanusGraph) on the opened graph,
then calls JanusGraph.close()
and returns. |
public static final String INDEX_NAME
public static JanusGraph create(String directory)
public static void loadWithoutMixedIndex(JanusGraph graph, boolean uniqueNameCompositeIndex)
public static void load(JanusGraph graph)
public static void load(JanusGraph graph, String mixedIndexName, boolean uniqueNameCompositeIndex)
public static void main(String[] args)
JanusGraphFactory.open(String)
, passing the JanusGraph configuration file path
which must be the sole element in the args
array, then calls
load(org.janusgraph.core.JanusGraph)
on the opened graph,
then calls JanusGraph.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(org.janusgraph.core.JanusGraph)
) when calling from
an enclosing application.
args
- a singleton array containing a path to a JanusGraph config properties fileCopyright © 2012–2023. All rights reserved.