com.google.cloud.Timestamp |
CommitTimestampRepository.get(TableId table) |
Returns the last seen commit timestamp for the given table.
|
default com.google.cloud.Timestamp |
CommitTimestampRepository.get(TableId table,
com.google.cloud.spanner.Value shardValue) |
Returns the last seen commit timestamp for the given table and shard value.
|
com.google.cloud.Timestamp |
SpannerCommitTimestampRepository.get(TableId table) |
|
com.google.cloud.Timestamp |
SpannerCommitTimestampRepository.get(TableId table,
com.google.cloud.spanner.Value shardValue) |
|
static com.google.api.core.ApiFuture<com.google.common.collect.ImmutableList<String>> |
SpannerUtils.getPrimaryKeyColumns(com.google.cloud.spanner.DatabaseClient client,
TableId table) |
Returns the primary key columns of a table.
|
static com.google.api.core.ApiFuture<String> |
SpannerUtils.getTimestampColumn(com.google.cloud.spanner.DatabaseClient client,
TableId table) |
Returns the name of the commit timestamp column of the given table.
|
static SpannerTableTailer.Builder |
SpannerTableTailer.newBuilder(com.google.cloud.spanner.Spanner spanner,
TableId table) |
|
void |
SpannerTableChangeWatcher.RowChangeCallback.rowChange(TableId table,
SpannerTableChangeWatcher.Row row,
com.google.cloud.Timestamp commitTimestamp) |
Called once for each detected insert or update of a row.
|
default void |
CommitTimestampRepository.set(TableId table,
com.google.cloud.spanner.Value shardValue,
com.google.cloud.Timestamp timestamp) |
Sets the last seen commit timestamp for the given table and shard value.
|
void |
CommitTimestampRepository.set(TableId table,
com.google.cloud.Timestamp commitTimestamp) |
Sets the last seen commit timestamp for the given table.
|
void |
SpannerCommitTimestampRepository.set(TableId table,
com.google.cloud.spanner.Value shardValue,
com.google.cloud.Timestamp commitTimestamp) |
|
void |
SpannerCommitTimestampRepository.set(TableId table,
com.google.cloud.Timestamp commitTimestamp) |
|