Class GremlinScriptChecker
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinScriptChecker
 
 
- 
public class GremlinScriptChecker extends Object
Processes Gremlin strings using regex to try to detect certain properties from the script without actual having to execute aeval()on it. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGremlinScriptChecker.ResultA result returned from aparse(String)of a Gremlin string. 
- 
Field Summary
Fields Modifier and Type Field Description static GremlinScriptChecker.ResultEMPTY_RESULTAn empty result whose properties return as empty. 
- 
Constructor Summary
Constructors Constructor Description GremlinScriptChecker() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GremlinScriptChecker.Resultparse(String gremlin)Parses a Gremlin script and extracts aResultcontaining properties that are relevant to the checker. 
 - 
 
- 
- 
Field Detail
- 
EMPTY_RESULT
public static final GremlinScriptChecker.Result EMPTY_RESULT
An empty result whose properties return as empty. 
 - 
 
- 
Method Detail
- 
parse
public static GremlinScriptChecker.Result parse(String gremlin)
Parses a Gremlin script and extracts aResultcontaining properties that are relevant to the checker. 
 - 
 
 -