Class SpannerAccessor
java.lang.Object
org.apache.beam.sdk.io.gcp.spanner.SpannerAccessor
- All Implemented Interfaces:
 AutoCloseable
Manages lifecycle of 
DatabaseClient and Spanner instances.- 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static SpannerAccessorgetOrCreate(SpannerConfig spannerConfig)  
- 
Method Details
- 
getOrCreate
 - 
getDatabaseClient
 - 
getBatchClient
 - 
getDatabaseAdminClient
 - 
getInstanceConfigId
 - 
close
public void close()- Specified by:
 closein interfaceAutoCloseable
 
 -