Class SchemaDao
java.lang.Object
io.debezium.connector.spanner.db.dao.SchemaDao
Provides functionality to read Spanner DB table and stream schema
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.cloud.spanner.DatabaseClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSchema(com.google.cloud.Timestamp timestamp) getSchema(com.google.cloud.Timestamp timestamp, Collection<String> tables) private com.google.cloud.spanner.ResultSetreadChangeStreamInfo(com.google.cloud.spanner.ReadOnlyTransaction tx, String streamName) private com.google.cloud.spanner.ResultSetreadTablesInfo(com.google.cloud.spanner.ReadOnlyTransaction tx, Collection<String> tables)
-
Field Details
-
databaseClient
private final com.google.cloud.spanner.DatabaseClient databaseClient
-
-
Constructor Details
-
SchemaDao
public SchemaDao(com.google.cloud.spanner.DatabaseClient databaseClient)
-
-
Method Details
-
getSchema
-
getSchema
-
getStream
-
readTablesInfo
private com.google.cloud.spanner.ResultSet readTablesInfo(com.google.cloud.spanner.ReadOnlyTransaction tx, Collection<String> tables) -
readChangeStreamInfo
private com.google.cloud.spanner.ResultSet readChangeStreamInfo(com.google.cloud.spanner.ReadOnlyTransaction tx, String streamName)
-