Package com.google.cloud.spanner.watcher
Interface SpannerDatabaseTailer.TableSelecter
-
- Enclosing class:
- SpannerDatabaseTailer
public static interface SpannerDatabaseTailer.TableSelecterInterface for selecting the tables that should be monitored by aSpannerDatabaseTailer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpannerDatabaseTailer.TableExcluderallTables()Instructs theSpannerDatabaseTailerto emit change events for all tables in the database that have a column with option ALLOW_COMMIT_TIMESTAMP=TRUE.SpannerDatabaseTailer.BuilderincludeTables(String firstTable, String... furtherTables)Instructs theSpannerDatabaseTailerto only emit changes for these specific tables.
-
-
-
Method Detail
-
includeTables
SpannerDatabaseTailer.Builder includeTables(String firstTable, String... furtherTables)
Instructs theSpannerDatabaseTailerto only emit changes for these specific tables.
-
allTables
SpannerDatabaseTailer.TableExcluder allTables()
Instructs theSpannerDatabaseTailerto emit change events for all tables in the database that have a column with option ALLOW_COMMIT_TIMESTAMP=TRUE. Tables that don't have a commit timestamp column are automatically ignored. Additional tables can be excluded by callingSpannerDatabaseTailer.TableExcluder.except(String...).
-
-