|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tinkerpop.rexster.gremlin.GremlinEvaluationJob
public class GremlinEvaluationJob
Data structure keeping a script to be evaluated and its result/output together.
Credit to Neo Technology (http://neotechnology.com/) for most of the code related to the Gremlin in Rexster. Specifically, this code was borrowed from https://github.com/neo4j/webadmin and re-purposed for Rexster's needs. Original author Jacob Hansson
Field Summary | |
---|---|
protected boolean |
complete
|
protected StringWriter |
outputWriter
The scriptengine error and out streams are directed into this string writer. |
protected Object |
result
|
protected String |
script
|
Constructor Summary | |
---|---|
GremlinEvaluationJob(String script)
|
Method Summary | |
---|---|
Writer |
getOutputWriter()
|
Object |
getResult()
|
String |
getScript()
|
boolean |
isComplete()
|
void |
setResult(Object result)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String script
protected Object result
protected volatile boolean complete
protected StringWriter outputWriter
Constructor Detail |
---|
public GremlinEvaluationJob(String script)
Method Detail |
---|
public boolean isComplete()
public void setResult(Object result)
public Object getResult()
public String getScript()
public Writer getOutputWriter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |