Class Parameter<T>

  • Type Parameters:
    T - The type of the parameter. Defaults to Object for a parameter without a value from which to derive the actual type.
    All Implemented Interfaces:
    Expression, Visitable

    @API(status=EXPERIMENTAL,
         since="1.0")
    public final class Parameter<T>
    extends java.lang.Object
    implements Expression
    Represents a named parameter inside a Cypher statement.
    Since:
    1.0
    Author:
    Michael J. Simons, Andreas Berger
    • Method Detail

      • getName

        @API(status=INTERNAL)
        public java.lang.String getName()
        Returns:
        The name of this parameter.
      • withValue

        @API(status=EXPERIMENTAL,
             since="2021.0.0")
        public Parameter withValue​(java.lang.Object newValue)
        Returns:
        A new parameter with a bound value
        Since:
        2021.0.0