Interface Spanner (2.24.1)

public interface Spanner extends Service<SpannerOptions>, AutoCloseable

Implements

com.google.cloud.Service<com.google.cloud.spanner.SpannerOptions>, AutoCloseable

Methods

close()

public abstract void close()

createDatabaseAdminClient()

public default DatabaseAdminClient createDatabaseAdminClient()
Returns
Type Description
com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient

createInstanceAdminClient()

public default InstanceAdminClient createInstanceAdminClient()
Returns
Type Description
com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient

getAsyncExecutorProvider()

public abstract ExecutorProvider getAsyncExecutorProvider()
Returns
Type Description
ExecutorProvider

getBatchClient(DatabaseId arg0)

public abstract BatchClient getBatchClient(DatabaseId arg0)
Parameter
Name Description
arg0 DatabaseId
Returns
Type Description
BatchClient

getDatabaseAdminClient()

public abstract DatabaseAdminClient getDatabaseAdminClient()
Returns
Type Description
DatabaseAdminClient

getDatabaseClient(DatabaseId arg0)

public abstract DatabaseClient getDatabaseClient(DatabaseId arg0)
Parameter
Name Description
arg0 DatabaseId
Returns
Type Description
DatabaseClient

getInstanceAdminClient()

public abstract InstanceAdminClient getInstanceAdminClient()
Returns
Type Description
InstanceAdminClient

isClosed()

public abstract boolean isClosed()
Returns
Type Description
boolean