MergeResult (Snowpark Java API Reference 1.20.0)

Package com.snowflake.snowpark_java

## Class MergeResult

- java.lang.Object
- - com.snowflake.snowpark_java.MergeResult

-     public class MergeResult
      extends java.lang.Object

  Result of merging a DataFrame into an Updatable DataFrame
  Since:
    1.1.0

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `long` | `getRowsDeleted()` | Retrieves the number of rows have been deleted.
    `long` | `getRowsInserted()` | Retrieves the number of rows have been inserted.
    `long` | `getRowsUpdated()` | Retrieves the number of rows have been updated.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getRowsInserted

          public long getRowsInserted()

      Retrieves the number of rows have been inserted.
      Returns:
        a long number
      Since:
        1.1.0

    - #### getRowsUpdated

          public long getRowsUpdated()

      Retrieves the number of rows have been updated.
      Returns:
        a long number
      Since:
        1.1.0

    - #### getRowsDeleted

          public long getRowsDeleted()

      Retrieves the number of rows have been deleted.
      Returns:
        a long number
      Since:
        1.1.0