Class GremlinScriptChecker.Result

java.lang.Object
org.apache.tinkerpop.gremlin.jsr223.GremlinScriptChecker.Result
Enclosing class:
GremlinScriptChecker

public static class GremlinScriptChecker.Result extends Object
A result returned from a GremlinScriptChecker.parse(String) of a Gremlin string.
  • Method Details

    • getTimeout

      public final Optional<Long> getTimeout()
      Gets the value of the timeouts that were set using the GraphTraversal.with(String, Object) source step. If there are multiple commands using this step, the timeouts are summed together.
    • getMaterializeProperties

      public Optional<String> getMaterializeProperties()
      Gets the value of the materializeProperties supplied using the GraphTraversal.with(String, Object) source step. If there are multiple commands using this step, the last usage should represent the value returned here.
    • getLanguage

      public Optional<String> getLanguage()
      Gets the value of the language supplied using the GraphTraversal.with(String, Object) source step. If there are multiple commands using this step, the last usage should represent the value returned here.
    • getBatchSize

      public Optional<String> getBatchSize()
      Gets the raw, unparsed value of the batchSize supplied using the GraphTraversal.with(String, Object) source step. It is returned as the raw string (rather than a parsed number) so that parsing and range validation happen where an invalid value can be surfaced as a bad request rather than an uncaught error. If there are multiple commands using this step, the last usage should represent the value returned here.
    • getBulkResults

      public Optional<Boolean> getBulkResults()
      Gets the value of the bulkResults flag supplied using the GraphTraversal.with(String, Object) source step. If there are multiple commands using this step, the last usage should represent the value returned here.
    • toString

      public String toString()
      Overrides:
      toString in class Object