public class SpannerAccessor
extends java.lang.Object
implements java.lang.AutoCloseable
DatabaseClient
and Spanner
instances.Modifier and Type | Method and Description |
---|---|
void |
close() |
com.google.cloud.spanner.BatchClient |
getBatchClient() |
com.google.cloud.spanner.DatabaseAdminClient |
getDatabaseAdminClient() |
com.google.cloud.spanner.DatabaseClient |
getDatabaseClient() |
public com.google.cloud.spanner.DatabaseClient getDatabaseClient()
public com.google.cloud.spanner.BatchClient getBatchClient()
public com.google.cloud.spanner.DatabaseAdminClient getDatabaseAdminClient()
public void close()
close
in interface java.lang.AutoCloseable