Class Where

  • All Implemented Interfaces:
    Visitable

    @API(status=STABLE,
         since="1.0")
    public final class Where
    extends Object
    implements Visitable
    Roughly corresponding to Where.
    Since:
    1.0
    Author:
    Michael J. Simons
    • Method Detail

      • from

        @Nullable
        public static @Nullable Where from​(@Nullable
                                           @Nullable Expression optionalWhere)
        Creates a new WHERE
        Parameters:
        optionalWhere - An optional expression that must be usable "as condition".
        Returns:
        A WHERE expression or null when optionalWhere has been NULL
        Since:
        2022.0.0
      • accept

        public void accept​(Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor visiting this Visitable and its nested Visitables if applicable.
        Specified by:
        accept in interface Visitable
        Parameters:
        visitor - the visitor to notify, must not be null.