Class JavaExpressionParser

java.lang.Object
io.deephaven.engine.table.impl.lang.JavaExpressionParser

public class JavaExpressionParser extends Object
Helpful class which parses expressions and performs extra "this is exactly one expression" validation
  • Constructor Details

    • JavaExpressionParser

      public JavaExpressionParser()
  • Method Details

    • parseExpression

      public static com.github.javaparser.ast.expr.Expression parseExpression(String expression)
    • isConstantValueExpression

      public static boolean isConstantValueExpression(com.github.javaparser.ast.expr.Expression expression)
      returns true if the expression evaluates to constant value.
      Parameters:
      expression - the expression to evaluate
      Returns:
      true if the expression evaluates to constant value