Class GremlinScriptChecker

java.lang.Object
org.apache.tinkerpop.gremlin.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 a eval() on it.
  • Field Details

  • Constructor Details

    • GremlinScriptChecker

      public GremlinScriptChecker()
  • Method Details

    • parse

      public static GremlinScriptChecker.Result parse(String gremlin)
      Parses a Gremlin script and extracts a Result containing properties that are relevant to the checker.