Package com.google.cloud.spanner.watcher
Interface SpannerDatabaseChangeSetPoller.Builder.TableSelecter
-
- Enclosing interface:
- SpannerDatabaseChangeSetPoller.Builder
public static interface SpannerDatabaseChangeSetPoller.Builder.TableSelecterInterface for selecting the tables that should be monitored by aSpannerDatabaseChangeSetPoller.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpannerDatabaseChangeSetPoller.Builder.TableExcluderallTables()Instructs theSpannerDatabaseChangeSetPollerto emit change events for all tables in the database.SpannerDatabaseChangeSetPoller.BuilderincludeTables(String firstTable, String... furtherTables)Instructs theSpannerDatabaseChangeSetPollerto only emit changes for these specific tables.
-
-
-
Method Detail
-
includeTables
SpannerDatabaseChangeSetPoller.Builder includeTables(String firstTable, String... furtherTables)
Instructs theSpannerDatabaseChangeSetPollerto only emit changes for these specific tables.
-
allTables
SpannerDatabaseChangeSetPoller.Builder.TableExcluder allTables()
Instructs theSpannerDatabaseChangeSetPollerto emit change events for all tables in the database. Tables can be excluded by callingSpannerDatabaseChangeSetPoller.Builder.TableExcluder.except(String...).
-
-