Class SpannerTransactionManager.Tx
java.lang.Object
com.google.cloud.spring.data.spanner.core.SpannerTransactionManager.Tx
- Enclosing class:
- SpannerTransactionManager
A transaction object that holds the transaction context.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.spanner.DatabaseClient
com.google.cloud.spanner.TransactionContext
com.google.cloud.spanner.TransactionManager
boolean
-
Constructor Details
-
Tx
public Tx(com.google.cloud.spanner.DatabaseClient databaseClient)
-
-
Method Details
-
getTransactionContext
public com.google.cloud.spanner.TransactionContext getTransactionContext() -
getTransactionManager
public com.google.cloud.spanner.TransactionManager getTransactionManager() -
isReadOnly
public boolean isReadOnly() -
getDatabaseClient
public com.google.cloud.spanner.DatabaseClient getDatabaseClient()
-