org.neo4j.server.webadmin.console
Class GremlinSession
java.lang.Object
org.neo4j.server.webadmin.console.GremlinSession
- All Implemented Interfaces:
- ScriptSession
public class GremlinSession
- extends Object
- implements ScriptSession
|
Method Summary |
org.neo4j.helpers.Pair<String,String> |
evaluate(String script)
Take some gremlin script, evaluate it in the context of this gremlin
session, and return the result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptEngine
protected GremlinWebConsole scriptEngine
GremlinSession
public GremlinSession(Database database)
evaluate
public org.neo4j.helpers.Pair<String,String> evaluate(String script)
- Take some gremlin script, evaluate it in the context of this gremlin
session, and return the result.
- Specified by:
evaluate in interface ScriptSession
- Parameters:
script -
- Returns:
- the return string of the evaluation result, or the exception
message.
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.