Interface SpannerTableChangeWatcher.RowChangeCallback

  • Enclosing interface:
    SpannerTableChangeWatcher

    public static interface SpannerTableChangeWatcher.RowChangeCallback
    Interface for receiving asynchronous callbacks when a row has been inserted or updated.
    • Method Detail

      • rowChange

        void rowChange​(TableId table,
                       SpannerTableChangeWatcher.Row row,
                       com.google.cloud.Timestamp commitTimestamp)
        Called once for each detected insert or update of a row. Calls are guaranteed to be in order of commit timestamp of the changes.
        Parameters:
        table - The table where the data was inserted or updated.
        row - The updated data of the row that was inserted or updated.
        commitTimestamp - The commit timestamp of the transaction that inserted or updated the row.