Class ProjectsResource.InstancesResource.DatabasesResource.SessionsResource.ExecuteStreamingSqlRequest
Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB. The query string can be SQL or Graph Query Language (GQL).
Inheritance
ProjectsResource.InstancesResource.DatabasesResource.SessionsResource.ExecuteStreamingSqlRequest
Inherited Members
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ProjectsResource.InstancesResource.DatabasesResource.SessionsResource.ExecuteStreamingSqlRequest : SpannerBaseServiceRequest<PartialResultSet>, IClientServiceRequest<PartialResultSet>, IClientServiceRequest
Constructors
ExecuteStreamingSqlRequest(IClientService, ExecuteSqlRequest, string)
Constructs a new ExecuteStreamingSql request.
Declaration
public ExecuteStreamingSqlRequest(IClientService service, ExecuteSqlRequest body, string session)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ExecuteSqlRequest | body | |
| string | session |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Session
Required. The session in which the SQL query 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
InitParameters()
Initializes ExecuteStreamingSql parameter list.
Declaration
protected override void InitParameters()