java.lang.Object
org.evomaster.client.java.controller.neo4j.conditions.ParameterOperand
All Implemented Interfaces:
Operand

public final class ParameterOperand extends Object implements Operand
A query parameter reference such as $title, whose value is not written in the query but supplied at execution time. Carries the parameter name without the leading $, so the value can later be looked up in the parameter map captured alongside the query.

Told apart from RawOperand on purpose. Both are unresolved when the query is parsed, but a parameter has a value that can be recovered, whereas a RawOperand is an expression the model chose not to decompose at all.

  • Constructor Details

    • ParameterOperand

      public ParameterOperand(String name)
  • Method Details

    • getName

      public String getName()
      The parameter name without the leading $: title for $title.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object