Uses of Class
com.google.spanner.v1.SessionName
-
Packages that use SessionName Package Description com.google.cloud.spanner.v1 A client to Cloud Spanner APIcom.google.spanner.v1 -
-
Uses of SessionName in com.google.cloud.spanner.v1
Methods in com.google.cloud.spanner.v1 with parameters of type SessionName Modifier and Type Method Description Transaction
SpannerClient. beginTransaction(SessionName session, TransactionOptions options)
Begins a new transaction.CommitResponse
SpannerClient. commit(SessionName session, com.google.protobuf.ByteString transactionId, List<Mutation> mutations)
Commits a transaction.CommitResponse
SpannerClient. commit(SessionName session, TransactionOptions singleUseTransaction, List<Mutation> mutations)
Commits a transaction.void
SpannerClient. deleteSession(SessionName name)
Ends a session, releasing server resources associated with it.Session
SpannerClient. getSession(SessionName name)
Gets a session.void
SpannerClient. rollback(SessionName session, com.google.protobuf.ByteString transactionId)
Rolls back a transaction, releasing any locks it holds. -
Uses of SessionName in com.google.spanner.v1
Methods in com.google.spanner.v1 that return SessionName Modifier and Type Method Description SessionName
SessionName.Builder. build()
static SessionName
SessionName. of(String project, String instance, String database, String session)
static SessionName
SessionName. parse(String formattedString)
Methods in com.google.spanner.v1 that return types with arguments of type SessionName Modifier and Type Method Description static List<SessionName>
SessionName. parseList(List<String> formattedStrings)
Method parameters in com.google.spanner.v1 with type arguments of type SessionName Modifier and Type Method Description static List<String>
SessionName. toStringList(List<SessionName> values)
-