Show / Hide Table of Contents

Class ProjectsResource.InstancesResource.DatabasesResource.SessionsResource.ExecuteBatchDmlRequest

Executes a batch of SQL DML statements. This method allows many statements to be run with lower latency than submitting them sequentially with ExecuteSql. Statements are executed in sequential order. A request can succeed even if a statement fails. The ExecuteBatchDmlResponse.status field in the response provides information about the statement that failed. Clients must inspect this field to determine whether an error occurred. Execution stops after the first failed statement; the remaining statements are not executed.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ExecuteBatchDmlResponse>
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>
ProjectsResource.InstancesResource.DatabasesResource.SessionsResource.ExecuteBatchDmlRequest
Implements
IClientServiceRequest<ExecuteBatchDmlResponse>
IClientServiceRequest
Inherited Members
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.Xgafv
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.AccessToken
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.Alt
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.Callback
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.Fields
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.Key
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.OauthToken
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.PrettyPrint
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.QuotaUser
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.UploadType
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.UploadProtocol
ClientServiceRequest<ExecuteBatchDmlResponse>.Execute()
ClientServiceRequest<ExecuteBatchDmlResponse>.ExecuteAsStream()
ClientServiceRequest<ExecuteBatchDmlResponse>.ExecuteAsync()
ClientServiceRequest<ExecuteBatchDmlResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ExecuteBatchDmlResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ExecuteBatchDmlResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ExecuteBatchDmlResponse>.CreateRequest(bool?)
ClientServiceRequest<ExecuteBatchDmlResponse>.GenerateRequestUri()
ClientServiceRequest<ExecuteBatchDmlResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ExecuteBatchDmlResponse>.ETagAction
ClientServiceRequest<ExecuteBatchDmlResponse>.ModifyRequest
ClientServiceRequest<ExecuteBatchDmlResponse>.ValidateParameters
ClientServiceRequest<ExecuteBatchDmlResponse>.ApiVersion
ClientServiceRequest<ExecuteBatchDmlResponse>.RequestParameters
ClientServiceRequest<ExecuteBatchDmlResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ProjectsResource.InstancesResource.DatabasesResource.SessionsResource.ExecuteBatchDmlRequest : SpannerBaseServiceRequest<ExecuteBatchDmlResponse>, IClientServiceRequest<ExecuteBatchDmlResponse>, IClientServiceRequest

Constructors

ExecuteBatchDmlRequest(IClientService, ExecuteBatchDmlRequest, string)

Constructs a new ExecuteBatchDml request.

Declaration
public ExecuteBatchDmlRequest(IClientService service, ExecuteBatchDmlRequest body, string session)
Parameters
Type Name Description
IClientService service
ExecuteBatchDmlRequest body
string session

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ExecuteBatchDmlResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ExecuteBatchDmlResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ExecuteBatchDmlResponse>.RestPath

Session

Required. The session in which the DML statements should be performed.

Declaration
[RequestParameter("session", RequestParameterType.Path)]
public virtual string Session { get; }
Property Value
Type Description
string

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<ExecuteBatchDmlResponse>.GetBody()

InitParameters()

Initializes ExecuteBatchDml parameter list.

Declaration
protected override void InitParameters()
Overrides
SpannerBaseServiceRequest<ExecuteBatchDmlResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX