Class MergeUsing.When

java.lang.Object
org.h2.command.dml.MergeUsing.When
All Implemented Interfaces:
HasSQL
Direct Known Subclasses:
MergeUsing.WhenMatchedThenDelete, MergeUsing.WhenMatchedThenUpdate, MergeUsing.WhenNotMatched
Enclosing class:
MergeUsing

public abstract class MergeUsing.When extends Object implements HasSQL
Abstract WHEN command of the MERGE statement.
  • Method Details

    • setAndCondition

      public void setAndCondition(Expression andCondition)
      Sets the specified AND condition.
      Parameters:
      andCondition - AND condition to set
    • getSQL

      public StringBuilder getSQL(StringBuilder builder, int sqlFlags)
      Description copied from interface: HasSQL
      Appends the SQL statement of this object to the specified builder.
      Specified by:
      getSQL in interface HasSQL
      Parameters:
      builder - string builder
      sqlFlags - formatting flags
      Returns:
      the specified string builder