Skip navigation links
A B C D E F G H I L M N O R S T V W 

A

addCallback(SpannerTableChangeWatcher.RowChangeCallback) - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller
 
addCallback(SpannerTableChangeWatcher.RowChangeCallback) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeWatcher
addCallback(SpannerTableChangeWatcher.RowChangeCallback) - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseTailer
 
addCallback(SpannerTableChangeWatcher.RowChangeCallback) - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller
 
addCallback(SpannerTableChangeWatcher.RowChangeCallback) - Method in interface com.google.cloud.spanner.watcher.SpannerTableChangeWatcher
addCallback(SpannerTableChangeWatcher.RowChangeCallback) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer
 
allTables() - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller.Builder.TableSelecter
Instructs the SpannerDatabaseChangeSetPoller to emit change events for all tables in the database.
allTables() - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.TableSelecter
Instructs the SpannerDatabaseTailer to emit change events for all tables in the database that have a column with option ALLOW_COMMIT_TIMESTAMP=TRUE.
appendShardFilter(Statement.Builder) - Method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
appendShardFilter(Statement.Builder) - Method in class com.google.cloud.spanner.watcher.NotNullShardProvider
 
appendShardFilter(Statement.Builder) - Method in interface com.google.cloud.spanner.watcher.ShardProvider
Appends the required sharding filter to the given statement.
appendShardFilter(Statement.Builder) - Method in class com.google.cloud.spanner.watcher.TimebasedShardProvider
 
asStruct() - Method in interface com.google.cloud.spanner.watcher.SpannerTableChangeWatcher.Row
Convert the row to a Struct.

B

build() - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
build() - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller.Builder
Creates a SpannerDatabaseChangeSetPoller from this builder.
build() - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.Builder
Creates a SpannerDatabaseTailer from this builder.
build() - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller.Builder
build() - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer.Builder
Creates the SpannerTableTailer.
buildKey(Iterable<String>, ResultSet) - Static method in class com.google.cloud.spanner.watcher.SpannerUtils
Creates a Key instance from an Iterable of primary key columns and a ResultSet containing the data to use for the key.

C

com.google.cloud.spanner.watcher - package com.google.cloud.spanner.watcher
 
CommitTimestampRepository - Interface in com.google.cloud.spanner.watcher
Interface for storing the last seen commit timestamp by a SpannerTableChangeWatcher to a persistent repository.
create(String, boolean) - Static method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
create(String, ByteArray) - Static method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
create(String, Date) - Static method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
create(String, double) - Static method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
create(String, long) - Static method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
create(String, BigDecimal) - Static method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
create(String, String) - Static method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
create(String, Timestamp) - Static method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
create(String, Value) - Static method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
create(String) - Static method in class com.google.cloud.spanner.watcher.NotNullShardProvider
Creates a NotNullShardProvider that will filter on the given column.
create(String, TimebasedShardProvider.Interval) - Static method in class com.google.cloud.spanner.watcher.TimebasedShardProvider
Creates a TimebasedShardProvider for the given database column and interval.

D

DatabaseClientWithChangeSets - Class in com.google.cloud.spanner.watcher
A wrapper around a DatabaseClient that automatically generates change set id's and adds a mutation for a change set for each read/write transaction.
DatabaseClientWithChangeSets.AsyncRunnerWithChangeSet - Interface in com.google.cloud.spanner.watcher
AsyncRunner that automatically creates a change set.
DatabaseClientWithChangeSets.AsyncTransactionManagerWithChangeSet - Interface in com.google.cloud.spanner.watcher
AsyncTransactionManager that automatically creates a change set.
DatabaseClientWithChangeSets.ChangeSetIdGenerator - Interface in com.google.cloud.spanner.watcher
Interface for generating unique id's for change sets.
DatabaseClientWithChangeSets.ChangeSetIdSupplier - Interface in com.google.cloud.spanner.watcher
Supplier of change set id's.
DatabaseClientWithChangeSets.TransactionManagerWithChangeSet - Interface in com.google.cloud.spanner.watcher
TransactionManager that automatically creates a change set.
DatabaseClientWithChangeSets.TransactionRunnerWithChangeSet - Interface in com.google.cloud.spanner.watcher
TransactionRunner that automatically creates a change set.
doStart() - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller
 
doStart() - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseTailer
 
doStart() - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller
 
doStart() - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer
 
doStop() - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller
 
doStop() - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseTailer
 
doStop() - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller
 
doStop() - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer
 

E

equals(Object) - Method in class com.google.cloud.spanner.watcher.TableId
 
except(String...) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller.Builder.TableExcluder
Instructs the SpannerDatabaseChangeSetPoller to exclude these tables from change events.
except(String...) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.TableExcluder
Instructs the SpannerDatabaseTailer to exclude these tables from change events.
executePartitionedUpdate(Statement, Options.UpdateOption...) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 

F

FIND_COMMIT_TIMESTAMP_COLUMN_QUERY - Static variable in class com.google.cloud.spanner.watcher.SpannerUtils
Query for getting the column of a table that holds the commit timestamp.
FixedShardProvider - Class in com.google.cloud.spanner.watcher
Implementation of ShardProvider that returns a fixed shard id.

G

generateChangeSetId() - Method in interface com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets.ChangeSetIdGenerator
 
get(TableId) - Method in interface com.google.cloud.spanner.watcher.CommitTimestampRepository
Returns the last seen commit timestamp for the given table.
get(TableId, Value) - Method in interface com.google.cloud.spanner.watcher.CommitTimestampRepository
Returns the last seen commit timestamp for the given table and shard value.
get(TableId) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository
 
get(TableId, Value) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository
 
getCatalog() - Method in class com.google.cloud.spanner.watcher.TableId
 
getChangeSetId() - Method in interface com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets.ChangeSetIdSupplier
 
getColumnName() - Method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
getColumnName() - Method in interface com.google.cloud.spanner.watcher.ShardProvider
Returns the name of the column that this shard provider uses.
getCurrentShardId(ReadContext) - Method in enum com.google.cloud.spanner.watcher.TimebasedShardProvider.Interval
Fetches the current shard id from the database.
getDatabaseId() - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller
 
getDatabaseId() - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeWatcher
Returns the id of the database that is being monitored for changes.
getDatabaseId() - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseTailer
 
getDatabaseId() - Method in class com.google.cloud.spanner.watcher.TableId
 
getFullName() - Method in class com.google.cloud.spanner.watcher.TableId
 
getLastPollStatement() - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer
Returns the last poll statement of this tailer.
getPrimaryKeyColumns(DatabaseClient, TableId) - Static method in class com.google.cloud.spanner.watcher.SpannerUtils
Returns the primary key columns of a table.
getSchema() - Method in class com.google.cloud.spanner.watcher.TableId
 
getShardIdExpression() - Method in enum com.google.cloud.spanner.watcher.TimebasedShardProvider.Interval
Returns the SQL expression that calculates the current shard id.
getShardValue() - Method in class com.google.cloud.spanner.watcher.FixedShardProvider
 
getShardValue() - Method in class com.google.cloud.spanner.watcher.NotNullShardProvider
Always returns null as the watcher will always search for changes in all shards.
getShardValue() - Method in interface com.google.cloud.spanner.watcher.ShardProvider
Returns the (fixed) value that is used by this ShardProvider.
getShardValue() - Method in class com.google.cloud.spanner.watcher.TimebasedShardProvider
 
getSqlIdentifier() - Method in class com.google.cloud.spanner.watcher.TableId
 
getTable() - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller
 
getTable() - Method in interface com.google.cloud.spanner.watcher.SpannerTableChangeWatcher
Returns the id of the table that is monitored by this watcher.
getTable() - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer
 
getTable() - Method in class com.google.cloud.spanner.watcher.TableId
 
getTables() - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller
 
getTables() - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeWatcher
Returns the ids of the tables that are monitored by this watcher.
getTables() - Method in class com.google.cloud.spanner.watcher.SpannerDatabaseTailer
 
getTimestampColumn(DatabaseClient, TableId) - Static method in class com.google.cloud.spanner.watcher.SpannerUtils
Returns the name of the commit timestamp column of the given table.
getValue() - Method in class com.google.cloud.spanner.watcher.TimebasedShardProvider.TimebasedShardId
Returns the Value that should be used to set on a Mutation when an insert/update is sent to the database.

H

hashCode() - Method in class com.google.cloud.spanner.watcher.TableId
 

I

includeTables(String, String...) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller.Builder.TableSelecter
Instructs the SpannerDatabaseChangeSetPoller to only emit changes for these specific tables.
includeTables(String, String...) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.TableSelecter
Instructs the SpannerDatabaseTailer to only emit changes for these specific tables.
isCyclic() - Method in enum com.google.cloud.spanner.watcher.TimebasedShardProvider.Interval
Returns true if this interval is cyclic, i.e.
isLastPollReturnedChanges() - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer
Returns true if the last poll for changes actually returned changes.

L

LogRecordBuilder() - Constructor for class com.google.cloud.spanner.watcher.SpannerUtils.LogRecordBuilder
 

M

maybeCreateInstanceAndDatabase(Spanner, DatabaseId) - Static method in class com.google.cloud.spanner.watcher.SpannerEmulatorUtil
Creates the instance and the database that are specified in the DatabaseId on the emulator that the given Spanner instance connects to if these do not already exist.

N

newBuilder(Spanner, DatabaseId) - Static method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository
 
newBuilder(Spanner, DatabaseId) - Static method in class com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller
Creates a builder for a SpannerDatabaseChangeSetPoller.
newBuilder(Spanner, DatabaseId, TableId) - Static method in class com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller
Creates a builder for a SpannerDatabaseChangeSetPoller.
newBuilder(Spanner, DatabaseId) - Static method in class com.google.cloud.spanner.watcher.SpannerDatabaseTailer
Creates a builder for a SpannerDatabaseTailer.
newBuilder(Spanner, TableId) - Static method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller
Creates a new SpannerTableChangeSetPoller.Builder for the given table.
newBuilder(Spanner, TableId, TableId) - Static method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller
Creates a new SpannerTableChangeSetPoller.Builder for the given table and using the specified change set table.
newBuilder(Spanner, TableId) - Static method in class com.google.cloud.spanner.watcher.SpannerTableTailer
 
newChangeSetId() - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 
notifyFailed(Throwable) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer
 
NotNullShardProvider - Class in com.google.cloud.spanner.watcher
A ShardProvider that will add a WHERE ShardId IS NOT NULL clause to the filter of a polling operation.

O

of(DatabaseClient) - Static method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
Creates a DatabaseClient that will automatically create a change set for each read/write transaction.
of(Level, String, Throwable) - Static method in class com.google.cloud.spanner.watcher.SpannerUtils.LogRecordBuilder
 
of(Level, String, Object, Throwable) - Static method in class com.google.cloud.spanner.watcher.SpannerUtils.LogRecordBuilder
 
of(Level, String, Object, Object) - Static method in class com.google.cloud.spanner.watcher.SpannerUtils.LogRecordBuilder
 
of(DatabaseId, String) - Static method in class com.google.cloud.spanner.watcher.TableId
Creates a TableId for the given table in the given database.

R

readOnlyTransaction() - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 
readOnlyTransaction(TimestampBound) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 
readWriteTransaction(Options.TransactionOption...) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
Creates a TransactionRunner that automatically creates a change set.
rowChange(TableId, SpannerTableChangeWatcher.Row, Timestamp) - Method in interface com.google.cloud.spanner.watcher.SpannerTableChangeWatcher.RowChangeCallback
Called once for each detected insert or update of a row.
runAsync(Options.TransactionOption...) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
Returns an asynchronous transaction runner that automatically creates a change set for executing a single logical transaction with retries.

S

set(TableId, Timestamp) - Method in interface com.google.cloud.spanner.watcher.CommitTimestampRepository
Sets the last seen commit timestamp for the given table.
set(TableId, Value, Timestamp) - Method in interface com.google.cloud.spanner.watcher.CommitTimestampRepository
Sets the last seen commit timestamp for the given table and shard value.
set(TableId, Timestamp) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository
 
set(TableId, Value, Timestamp) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository
 
setCatalogNameColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setChangeSetTableIdColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller.Builder
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).
setCommitTimestampColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setCommitTimestampColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer.Builder
This should only be set if your table contains more than one commit timestamp column.
setCommitTimestampColumnFunction(Function<TableId, String>) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.Builder
This should only be set if your tables contain more than one commit timestamp column.
setCommitTimestampRepository(CommitTimestampRepository) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller.Builder
Sets a specific CommitTimestampRepository to use for the SpannerTableTailers that are watching the change set table.
setCommitTimestampRepository(CommitTimestampRepository) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.Builder
Sets a specific CommitTimestampRepository to use for the SpannerDatabaseTailer.
setCommitTimestampRepository(CommitTimestampRepository) - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller.Builder
Sets the CommitTimestampRepository to use for the SpannerTableTailer that is watching the change set table.
setCommitTimestampRepository(CommitTimestampRepository) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer.Builder
setCommitTimestampsTable(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
Sets the name of the table to use to store the last seen commit timestamp.
setCreateTableIfNotExists(boolean) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
Instructs the SpannerCommitTimestampRepository to automatically create the required LAST_SEEN_COMMIT_TIMESTAMPS table.
setDatabaseNameColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setDataTableChangeSetIdColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller.Builder
Sets the name of the column that contains the change set id in the data table (the table that is being watched for changes).
setExecutor(ScheduledExecutorService) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller.Builder
setExecutor(ScheduledExecutorService) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.Builder
Sets a specific ScheduledExecutorService to use for this SpannerDatabaseTailer.
setExecutor(ScheduledExecutorService) - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller.Builder
Sets the executor to use for polling for changes.
setExecutor(ScheduledExecutorService) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer.Builder
Sets the executor to use to poll the table and to execute the SpannerTableChangeWatcher.RowChangeCallbacks.
setFallbackToWithQuerySeconds(int) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer.Builder
A SpannerTableTailer that uses a FixedShardProvider with an array of values will by default execute a simple poll query that looks like this:
setInitialCommitTimestamp(Timestamp) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
Sets the initial commit timestamp to use for tables that are not yet known to this repository.
setLimit(long) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer.Builder
Sets the maximum number of changes to fetch for each poll query.
setPollInterval(Duration) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseChangeSetPoller.Builder
Sets the poll interval to use for this SpannerDatabaseChangeSetPoller.
setPollInterval(Duration) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.Builder
Sets the poll interval to use for this SpannerDatabaseTailer.
setPollInterval(Duration) - Method in class com.google.cloud.spanner.watcher.SpannerTableChangeSetPoller.Builder
Sets the poll interval for the table.
setPollInterval(Duration) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer.Builder
Sets the poll interval for the table.
setSchemaNameColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setShardIdBoolColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setShardIdBytesColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setShardIdDateColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setShardIdFloat64Column(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setShardIdInt64Column(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setShardIdStringColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setShardIdTimestampColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
setShardProvider(ShardProvider) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.Builder
Sets the ShardProvider that this SpannerDatabaseTailer should use for all tables that do not have a specific ShardProvider set through SpannerDatabaseTailer.Builder.setShardProviders(Map).
setShardProvider(ShardProvider) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer.Builder
Sets the ShardProvider that this SpannerTableTailer should use.
setShardProviders(Map<TableId, ShardProvider>) - Method in interface com.google.cloud.spanner.watcher.SpannerDatabaseTailer.Builder
Sets the ShardProviders to use for specific tables.
setTableHint(String) - Method in class com.google.cloud.spanner.watcher.SpannerTableTailer.Builder
Sets an optional table hint to use for the poll query.
setTableNameColumn(String) - Method in class com.google.cloud.spanner.watcher.SpannerCommitTimestampRepository.Builder
 
ShardProvider - Interface in com.google.cloud.spanner.watcher
Interface for providing a shard id for Spanner Table Change watchers.
shouldRefresh() - Method in class com.google.cloud.spanner.watcher.TimebasedShardProvider.TimebasedShardId
Returns true if this TimebasedShardProvider.TimebasedShardId should be refreshed based on the current system time.
singleUse() - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 
singleUse(TimestampBound) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 
singleUseReadOnlyTransaction() - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 
singleUseReadOnlyTransaction(TimestampBound) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 
SpannerCommitTimestampRepository - Class in com.google.cloud.spanner.watcher
CommitTimestampRepository that stores the last seen commit timestamp for a table in a Cloud Spanner database table.
SpannerCommitTimestampRepository.Builder - Class in com.google.cloud.spanner.watcher
SpannerDatabaseChangeSetPoller - Class in com.google.cloud.spanner.watcher
Implementation of the SpannerDatabaseChangeWatcher interface that continuously polls a change set table for new rows, and then polls the actual data tables for any changes that was part of the last seen change set.
SpannerDatabaseChangeSetPoller.Builder - Interface in com.google.cloud.spanner.watcher
SpannerDatabaseChangeSetPoller.Builder.TableExcluder - Interface in com.google.cloud.spanner.watcher
Interface for excluding specific tables from a SpannerDatabaseChangeSetPoller.
SpannerDatabaseChangeSetPoller.Builder.TableSelecter - Interface in com.google.cloud.spanner.watcher
Interface for selecting the tables that should be monitored by a SpannerDatabaseChangeSetPoller.
SpannerDatabaseChangeWatcher - Interface in com.google.cloud.spanner.watcher
Interface for capturing changes to a set of tables in a Spanner database.
SpannerDatabaseTailer - Class in com.google.cloud.spanner.watcher
Implementation of the SpannerDatabaseChangeWatcher interface that continuously polls a set of tables for changes based on commit timestamp columns in the tables.
SpannerDatabaseTailer.Builder - Interface in com.google.cloud.spanner.watcher
Builder for a SpannerDatabaseTailer.
SpannerDatabaseTailer.TableExcluder - Interface in com.google.cloud.spanner.watcher
Interface for excluding specific tables from a SpannerDatabaseTailer.
SpannerDatabaseTailer.TableSelecter - Interface in com.google.cloud.spanner.watcher
Interface for selecting the tables that should be monitored by a SpannerDatabaseTailer.
SpannerEmulatorUtil - Class in com.google.cloud.spanner.watcher
Util class for automatically generating a test instance and test database on a Cloud Spanner emulator instance.
SpannerEmulatorUtil() - Constructor for class com.google.cloud.spanner.watcher.SpannerEmulatorUtil
 
SpannerTableChangeSetPoller - Class in com.google.cloud.spanner.watcher
Implementation of the SpannerTableChangeWatcher interface that continuously polls a change set table for new rows, and then polls an actual data table for any changes that was part of the last seen change set.
SpannerTableChangeSetPoller.Builder - Class in com.google.cloud.spanner.watcher
SpannerTableChangeWatcher - Interface in com.google.cloud.spanner.watcher
Interface for capturing changes to a single Spanner table.
SpannerTableChangeWatcher.Row - Interface in com.google.cloud.spanner.watcher
Row is passed in to the change callback and allows access to the most recent data.
SpannerTableChangeWatcher.RowChangeCallback - Interface in com.google.cloud.spanner.watcher
Interface for receiving asynchronous callbacks when a row has been inserted or updated.
SpannerTableTailer - Class in com.google.cloud.spanner.watcher
Implementation of the SpannerTableChangeWatcher interface that continuously polls a table for changes based on a commit timestamp column in the table.
SpannerTableTailer.Builder - Class in com.google.cloud.spanner.watcher
Builder for a SpannerTableTailer.
SpannerUtils - Class in com.google.cloud.spanner.watcher
Utils for getting commonly needed schema information from a Spanner database.
SpannerUtils() - Constructor for class com.google.cloud.spanner.watcher.SpannerUtils
 
SpannerUtils.LogRecordBuilder - Class in com.google.cloud.spanner.watcher
 

T

TableId - Class in com.google.cloud.spanner.watcher
Unique id of a Cloud Spanner table.
TimebasedShardProvider - Class in com.google.cloud.spanner.watcher
Implementation of ShardProvider that generates a ShardId based on the current system time of Cloud Spanner.
TimebasedShardProvider.Interval - Enum in com.google.cloud.spanner.watcher
 
TimebasedShardProvider.TimebasedShardId - Class in com.google.cloud.spanner.watcher
A generated timebased shard id that has been fetched from Cloud Spanner.
toString() - Method in class com.google.cloud.spanner.watcher.TableId
 
transactionManager(Options.TransactionOption...) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
Returns a transaction manager that automatically creates a change set.
transactionManagerAsync(Options.TransactionOption...) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
Returns an asynchronous transaction manager that automatically creates a change set, and which allows manual management of transaction lifecycle.

V

valueOf(String) - Static method in enum com.google.cloud.spanner.watcher.TimebasedShardProvider.Interval
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.cloud.spanner.watcher.TimebasedShardProvider.Interval
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(Iterable<Mutation>) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
Writes the given mutations WITHOUT a change set id.
write(String, Iterable<Mutation>) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
Writes the given mutations atomically to the database using the given change set id.
writeAtLeastOnce(Iterable<Mutation>) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
Writes the given mutations WITHOUT a change set id.
writeAtLeastOnce(String, Iterable<Mutation>) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
Writes the given mutations atomically to the database without replay protection using the given change set id.
writeAtLeastOnceWithOptions(Iterable<Mutation>, Options.TransactionOption...) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 
writeWithOptions(Iterable<Mutation>, Options.TransactionOption...) - Method in class com.google.cloud.spanner.watcher.DatabaseClientWithChangeSets
 
A B C D E F G H I L M N O R S T V W 
Skip navigation links

Copyright © 2022 Google LLC. All rights reserved.