| Modifier and Type | Method and Description |
|---|---|
static SpannerTableChangeSetPoller.Builder |
SpannerTableChangeSetPoller.newBuilder(com.google.cloud.spanner.Spanner spanner,
TableId table)
Creates a new
SpannerTableChangeSetPoller.Builder for the given table. |
static SpannerTableChangeSetPoller.Builder |
SpannerTableChangeSetPoller.newBuilder(com.google.cloud.spanner.Spanner spanner,
TableId changeSetTable,
TableId table)
Creates a new
SpannerTableChangeSetPoller.Builder for the given table and using the
specified change set table. |
SpannerTableChangeSetPoller.Builder |
SpannerTableChangeSetPoller.Builder.setChangeSetTableIdColumn(String column)
Sets the name of the column that contains the change set id in the change set table (the
table registering all transactions that should be watched).
|
SpannerTableChangeSetPoller.Builder |
SpannerTableChangeSetPoller.Builder.setCommitTimestampRepository(CommitTimestampRepository repository)
Sets the
CommitTimestampRepository to use for the SpannerTableTailer that is
watching the change set table. |
SpannerTableChangeSetPoller.Builder |
SpannerTableChangeSetPoller.Builder.setDataTableChangeSetIdColumn(String column)
Sets the name of the column that contains the change set id in the data table (the table that
is being watched for changes).
|
SpannerTableChangeSetPoller.Builder |
SpannerTableChangeSetPoller.Builder.setExecutor(ScheduledExecutorService executor)
Sets the executor to use for polling for changes.
|
SpannerTableChangeSetPoller.Builder |
SpannerTableChangeSetPoller.Builder.setPollInterval(org.threeten.bp.Duration interval)
Sets the poll interval for the table.
|
Copyright © 2022 Google LLC. All rights reserved.