| Package | Description |
|---|---|
| org.neo4j.shell | |
| org.neo4j.shell.apps | |
| org.neo4j.shell.kernel | |
| org.neo4j.shell.kernel.apps | |
| org.neo4j.shell.kernel.apps.cypher | |
| org.neo4j.shell.util.json |
| Modifier and Type | Method and Description |
|---|---|
static ShellException |
ShellException.wrapCause(Throwable cause)
Serializes a
Throwable to a String and uses that as a message
in a ShellException. |
| Modifier and Type | Method and Description |
|---|---|
String |
AppCommandParser.argument(int index,
String errorMessageIfItDoesNotExist) |
static void |
Variables.checkIsValidVariableName(String key) |
List<String> |
App.completionCandidates(String partOfLine,
Session session)
Tries to complete the
partOfLine with likely candidates,
think of this as a hook for writing TAB-completion. |
void |
ShellClient.evaluate(String line)
Evaluates a line and reacts to it.
|
void |
ShellClient.evaluate(String line,
Output out)
Evaluates a line and reacts to it.
|
Object |
Session.get(String key) |
String |
Session.getMaxTitleLength() |
String |
Session.getTitleKeys() |
Response |
ShellServer.interpretLine(Serializable clientID,
String line,
Output out)
Receives a command line (probably from a
ShellClient) and reacts
to it. |
Serializable |
ShellServer.interpretVariable(Serializable clientID,
String key)
Interprets a variable from a client session and returns the
interpreted result.
|
static ShellClient |
ShellLobby.newClient()
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(int port)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(int port,
String name,
CtrlCHandler ctrlcHandler)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(org.neo4j.shell.impl.RmiLocation serverLocation,
CtrlCHandler ctrlcHandler)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(org.neo4j.shell.impl.RmiLocation serverLocation,
Map<String,Serializable> initialSession,
CtrlCHandler ctrlcHandler)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(ShellServer server)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(ShellServer server,
CtrlCHandler signalHandler)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(ShellServer server,
Map<String,Serializable> initialSession,
CtrlCHandler signalHandler)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(ShellServer server,
Map<String,Serializable> initialSession,
Output output,
CtrlCHandler signalHandler)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(String host,
CtrlCHandler ctrlcHandler)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(String host,
int port)
Creates a client and "starts" it, i.e.
|
static ShellClient |
ShellLobby.newClient(String host,
int port,
String name,
CtrlCHandler ctrlcHandler)
Creates a client and "starts" it, i.e.
|
static ShellServer |
ShellLobby.newServer(Class<? extends ShellServer> cls)
To get rid of the RemoteException, uses a constructor without arguments.
|
Object |
Session.remove(String key)
Removes a value from the session.
|
void |
Session.set(String key,
Object value)
Sets a session value.
|
void |
ShellServer.setSessionVariable(Serializable clientID,
String key,
Object value)
Sets a session property for the session identified by
clientID. |
void |
ShellClient.setSessionVariable(String key,
Serializable value) |
TabCompletion |
ShellServer.tabComplete(Serializable clientID,
String partOfLine)
Tries to complete a half-entered line and returns possible candidates,
in the form of a
TabCompletion. |
Welcome |
ShellServer.welcome(Map<String,Serializable> initialSession) |
| Modifier and Type | Method and Description |
|---|---|
Continuation |
Export.execute(AppCommandParser parser,
Session session,
Output out) |
static org.neo4j.helpers.collection.Pair<String,String> |
Export.splitInKeyEqualsValue(String string) |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphDatabaseShellServer.bindTransaction(Serializable clientId) |
String |
GraphDatabaseShellServer.WorkingDirReplacer.getReplacement(ShellServer server,
Session session) |
Response |
GraphDatabaseShellServer.interpretLine(Serializable clientId,
String line,
Output out) |
void |
GraphDatabaseShellServer.registerTopLevelTransactionInProgress(Serializable clientId) |
void |
GraphDatabaseShellServer.unbindAndRegisterTransaction(Serializable clientId) |
Welcome |
GraphDatabaseShellServer.welcome(Map<String,Serializable> initialSession) |
| Modifier and Type | Method and Description |
|---|---|
static ShellException |
Commit.fail(Session session,
String message) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
TransactionProvidingApp.completionCandidates(String partOfLine,
Session session) |
static ShellException |
Commit.fail(Session session,
String message) |
static NodeOrRelationship |
TransactionProvidingApp.getCurrent(GraphDatabaseShellServer server,
Session session) |
static String |
TransactionProvidingApp.getDisplayName(GraphDatabaseShellServer server,
Session session,
org.neo4j.graphdb.Node node,
boolean checkForMe) |
static String |
TransactionProvidingApp.getDisplayName(GraphDatabaseShellServer server,
Session session,
NodeOrRelationship thing,
boolean checkForMe) |
static String |
TransactionProvidingApp.getDisplayName(GraphDatabaseShellServer server,
Session session,
org.neo4j.graphdb.Relationship relationship,
boolean verbose,
boolean checkForMe) |
static String |
TransactionProvidingApp.getDisplayName(GraphDatabaseShellServer server,
Session session,
org.neo4j.shell.kernel.apps.TypedId typedId,
boolean checkForMe) |
static boolean |
TransactionProvidingApp.isCurrent(Session session,
NodeOrRelationship thing) |
| Modifier and Type | Method and Description |
|---|---|
void |
Exporter.export(Output out) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
JSONParser.parse(String json) |
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.