public class GraphSON extends BaseCommand
Example usage:
# stop the server
$NEO4J_HOME/bin/neo4j stop
# save a dump
./scripts/cmd graphson -d out graph.json
# or
./scripts/cmd graphson -d out - > graph.json
# edit it
# remove the graph
rm -rf $NEO4J_HOME/data/graph.db
# load edited graph
./scripts/cmd graphson -d in graph.json
# start server
$NEO4J_HOME/bin/neo4j start
options| Constructor and Description |
|---|
GraphSON() |
| Modifier and Type | Method and Description |
|---|---|
int |
execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine)
Execute this command with the given database and parsed command
line arguments.
|
String |
getHelp()
Get information about the functionality of the command.
|
String |
getHelpFooter()
Get footer text for the help.
|
String |
getUsage()
Get a short hint about the usage of the command.
|
protected void |
setCustomOptions(org.apache.commons.cli.Options options) |
api, exec, getDetailedHelppublic String getHelp()
CommandgetHelp in interface CommandgetHelp in class BaseCommandpublic String getHelpFooter()
Commandpublic String getUsage()
CommandgetUsage in interface CommandgetUsage in class BaseCommandprotected void setCustomOptions(org.apache.commons.cli.Options options)
setCustomOptions in class BaseCommandpublic int execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine)
throws Exception
BaseCommandexecWithOptions in interface CommandexecWithOptions in class BaseCommandgraph - the graph databasecmdLine - the parsed command line objectExceptionCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.