Interface Spanner (2.15.5)

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
TypeDescription
com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient

createInstanceAdminClient()

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

getAsyncExecutorProvider()

public abstract ExecutorProvider getAsyncExecutorProvider()
Returns
TypeDescription
ExecutorProvider

getBatchClient(DatabaseId arg0)

public abstract BatchClient getBatchClient(DatabaseId arg0)
Parameter
NameDescription
arg0DatabaseId
Returns
TypeDescription
BatchClient

getDatabaseAdminClient()

public abstract DatabaseAdminClient getDatabaseAdminClient()
Returns
TypeDescription
DatabaseAdminClient

getDatabaseClient(DatabaseId arg0)

public abstract DatabaseClient getDatabaseClient(DatabaseId arg0)
Parameter
NameDescription
arg0DatabaseId
Returns
TypeDescription
DatabaseClient

getInstanceAdminClient()

public abstract InstanceAdminClient getInstanceAdminClient()
Returns
TypeDescription
InstanceAdminClient

isClosed()

public abstract boolean isClosed()
Returns
TypeDescription
boolean