Class GremlinScriptChecker
java.lang.Object
org.apache.tinkerpop.gremlin.jsr223.GremlinScriptChecker
Processes Gremlin strings using regex to try to detect certain properties from the script without actual
having to execute a
eval() on it.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA result returned from aparse(String)of a Gremlin string. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GremlinScriptChecker.ResultAn empty result whose properties return as empty. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GremlinScriptChecker.ResultParses a Gremlin script and extracts aResultcontaining properties that are relevant to the checker.
-
Field Details
-
EMPTY_RESULT
An empty result whose properties return as empty.
-
-
Constructor Details
-
GremlinScriptChecker
public GremlinScriptChecker()
-
-
Method Details
-
parse
Parses a Gremlin script and extracts aResultcontaining properties that are relevant to the checker.
-