| Modifier and Type | Interface and Description |
|---|---|
static interface |
SpannerDatabaseTailer.TableExcluder
Interface for excluding specific tables from a
SpannerDatabaseTailer. |
| Modifier and Type | Method and Description |
|---|---|
SpannerDatabaseTailer.Builder |
SpannerDatabaseTailer.TableExcluder.except(String... tables)
Instructs the
SpannerDatabaseTailer to exclude these tables from change events. |
SpannerDatabaseTailer.Builder |
SpannerDatabaseTailer.TableSelecter.includeTables(String firstTable,
String... furtherTables)
Instructs the
SpannerDatabaseTailer to only emit changes for these specific tables. |
SpannerDatabaseTailer.Builder |
SpannerDatabaseTailer.Builder.setCommitTimestampColumnFunction(Function<TableId,String> commitTimestampFunction)
This should only be set if your tables contain more than one commit timestamp
column.
|
SpannerDatabaseTailer.Builder |
SpannerDatabaseTailer.Builder.setCommitTimestampRepository(CommitTimestampRepository repository)
Sets a specific
CommitTimestampRepository to use for the SpannerDatabaseTailer. |
SpannerDatabaseTailer.Builder |
SpannerDatabaseTailer.Builder.setExecutor(ScheduledExecutorService executor)
Sets a specific
ScheduledExecutorService to use for this SpannerDatabaseTailer. |
SpannerDatabaseTailer.Builder |
SpannerDatabaseTailer.Builder.setPollInterval(org.threeten.bp.Duration interval)
Sets the poll interval to use for this
SpannerDatabaseTailer. |
SpannerDatabaseTailer.Builder |
SpannerDatabaseTailer.Builder.setShardProvider(ShardProvider shardProvider)
Sets the
ShardProvider that this SpannerDatabaseTailer should use for all
tables that do not have a specific ShardProvider set through setShardProviders(Map). |
SpannerDatabaseTailer.Builder |
SpannerDatabaseTailer.Builder.setShardProviders(Map<TableId,ShardProvider> shardProviders)
Sets the
ShardProviders to use for specific tables. |
Copyright © 2022 Google LLC. All rights reserved.