Interface SpannerDatabaseChangeWatcher

  • All Superinterfaces:
    com.google.api.core.ApiService
    All Known Implementing Classes:
    SpannerDatabaseTailer

    public interface SpannerDatabaseChangeWatcher
    extends com.google.api.core.ApiService
    Interface for capturing changes to a set of tables in a Spanner database.
    • Method Detail

      • getDatabaseId

        com.google.cloud.spanner.DatabaseId getDatabaseId()
        Returns the id of the database that is being monitored for changes.
      • getTables

        Collection<TableId> getTables()
        Returns the ids of the tables that are monitored by this watcher. This call can require the SpannerDatabaseChangeWatcher to make a round-trip to the database to determine the actual tables that are being monitored.