Class MathStep.TinkerExpression

java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.map.MathStep.TinkerExpression
All Implemented Interfaces:
Serializable
Enclosing class:
MathStep<S>

public static class MathStep.TinkerExpression extends Object implements Serializable
A wrapper for the Expression class. That class is not marked Serializable and therefore gives problems in OLAP specifically with Spark. This wrapper allows the Expression to be serialized in that context with Java serialization.
See Also:
  • Constructor Details

    • TinkerExpression

      public TinkerExpression(String equation, Set<String> variables)
  • Method Details

    • getExpression

      public net.objecthunter.exp4j.Expression getExpression()
    • getVariables

      public Set<String> getVariables()