public class Spanner.Projects.Instances.Databases.Sessions extends Object
Constructor and Description |
---|
Sessions() |
public Spanner.Projects.Instances.Databases.Sessions.AdaptMessage adaptMessage(String name, AdaptMessageRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The database session in which the adapter request is processed.content
- the AdaptMessageRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.Adapter adapter(String parent, AdapterSession content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The database in which the new session is created.content
- the AdapterSession
IOException
public Spanner.Projects.Instances.Databases.Sessions.BatchCreate batchCreate(String database, BatchCreateSessionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.database
- Required. The database in which the new sessions are created.content
- the BatchCreateSessionsRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.BatchWrite batchWrite(String session, BatchWriteRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session in which the batch request is to be run.content
- the BatchWriteRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.BeginTransaction beginTransaction(String session, BeginTransactionRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session in which the transaction runs.content
- the BeginTransactionRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.Commit commit(String session, CommitRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session in which the transaction to be committed is running.content
- the CommitRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.Create create(String database, CreateSessionRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.database
- Required. The database in which the new session is created.content
- the CreateSessionRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the session to delete.IOException
public Spanner.Projects.Instances.Databases.Sessions.ExecuteBatchDml executeBatchDml(String session, ExecuteBatchDmlRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session in which the DML statements should be performed.content
- the ExecuteBatchDmlRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.ExecuteSql executeSql(String session, ExecuteSqlRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session in which the SQL query should be performed.content
- the ExecuteSqlRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.ExecuteStreamingSql executeStreamingSql(String session, ExecuteSqlRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session in which the SQL query should be performed.content
- the ExecuteSqlRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The name of the session to retrieve.IOException
public Spanner.Projects.Instances.Databases.Sessions.List list(String database) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.database
- Required. The database in which to list sessions.IOException
public Spanner.Projects.Instances.Databases.Sessions.PartitionQuery partitionQuery(String session, PartitionQueryRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session used to create the partitions.content
- the PartitionQueryRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.PartitionRead partitionRead(String session, PartitionReadRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session used to create the partitions.content
- the PartitionReadRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.Read read(String session, ReadRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session in which the read should be performed.content
- the ReadRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.Rollback rollback(String session, RollbackRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session in which the transaction to roll back is running.content
- the RollbackRequest
IOException
public Spanner.Projects.Instances.Databases.Sessions.StreamingRead streamingRead(String session, ReadRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.session
- Required. The session in which the read should be performed.content
- the ReadRequest
IOException
Copyright © 2011–2025 Google. All rights reserved.