Class Method

java.lang.Object
io.deephaven.api.expression.Method
All Implemented Interfaces:
Expression, Filter

@Immutable public abstract class Method extends Object implements Expression, Filter
Represents a method call.
  • Constructor Details

    • Method

      public Method()
  • Method Details

    • builder

      public static Method.Builder builder()
    • of

      public static Method of(Expression object, String name, Expression... arguments)
    • of

      public static Method of(Expression object, String name, List<? extends Expression> arguments)
    • object

      public abstract Expression object()
      The method object.
      Returns:
      the method object
    • name

      public abstract String name()
      The method name.
      Returns:
      the method name
    • arguments

      public abstract List<Expression> arguments()
      The method arguments.
      Returns:
      the method arguments
    • invert

      public final FilterNot<Method> invert()
      Description copied from interface: Filter
      The logical inversion of this. While logically equivalent to Filter.not(this), implementations of this method will return more specifically typed inversions where applicable.
      Specified by:
      invert in interface Filter
      Returns:
      the inverse filter
      See Also:
    • walk

      public final <T> T walk(Expression.Visitor<T> visitor)
      Specified by:
      walk in interface Expression
    • walk

      public final <T> T walk(Filter.Visitor<T> visitor)
      Specified by:
      walk in interface Filter