Uses of Interface
com.google.cloud.spanner.watcher.SpannerDatabaseTailer.Builder
-
-
Uses of SpannerDatabaseTailer.Builder in com.google.cloud.spanner.watcher
Subinterfaces of SpannerDatabaseTailer.Builder in com.google.cloud.spanner.watcher Modifier and Type Interface Description static interfaceSpannerDatabaseTailer.TableExcluderInterface for excluding specific tables from aSpannerDatabaseTailer.Methods in com.google.cloud.spanner.watcher that return SpannerDatabaseTailer.Builder Modifier and Type Method Description SpannerDatabaseTailer.BuilderSpannerDatabaseTailer.TableExcluder. except(String... tables)Instructs theSpannerDatabaseTailerto exclude these tables from change events.SpannerDatabaseTailer.BuilderSpannerDatabaseTailer.TableSelecter. includeTables(String firstTable, String... furtherTables)Instructs theSpannerDatabaseTailerto only emit changes for these specific tables.SpannerDatabaseTailer.BuilderSpannerDatabaseTailer.Builder. setCommitTimestampColumnFunction(Function<TableId,String> commitTimestampFunction)This should only be set if your tables contain more than one commit timestamp column.SpannerDatabaseTailer.BuilderSpannerDatabaseTailer.Builder. setCommitTimestampRepository(CommitTimestampRepository repository)Sets a specificCommitTimestampRepositoryto use for theSpannerDatabaseTailer.SpannerDatabaseTailer.BuilderSpannerDatabaseTailer.Builder. setExecutor(ScheduledExecutorService executor)Sets a specificScheduledExecutorServiceto use for thisSpannerDatabaseTailer.SpannerDatabaseTailer.BuilderSpannerDatabaseTailer.Builder. setPollInterval(org.threeten.bp.Duration interval)Sets the poll interval to use for thisSpannerDatabaseTailer.SpannerDatabaseTailer.BuilderSpannerDatabaseTailer.Builder. setShardProvider(ShardProvider shardProvider)Sets theShardProviderthat thisSpannerDatabaseTailershould use for all tables that do not have a specificShardProviderset throughsetShardProviders(Map).SpannerDatabaseTailer.BuilderSpannerDatabaseTailer.Builder. setShardProviders(Map<TableId,ShardProvider> shardProviders)Sets theShardProviders to use for specific tables.
-