Class ProjectsResource.InstancesResource.DatabasesResource.SessionsResource.StreamingReadRequest
Like Read, except returns the result set as a stream. Unlike Read, 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.
Inheritance
System.Object
ProjectsResource.InstancesResource.DatabasesResource.SessionsResource.StreamingReadRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class StreamingReadRequest : SpannerBaseServiceRequest<PartialResultSet>, IClientServiceRequest<PartialResultSet>, IClientServiceRequest
Constructors
StreamingReadRequest(IClientService, ReadRequest, String)
Constructs a new StreamingRead request.
Declaration
public StreamingReadRequest(IClientService service, ReadRequest body, string session)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ReadRequest | body | |
| System.String | session |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.PartialResultSet>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.PartialResultSet>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.PartialResultSet>.RestPath
Session
Required. The session in which the read should be performed.
Declaration
[RequestParameter("session", RequestParameterType.Path)]
public virtual string Session { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Spanner.v1.Data.PartialResultSet>.GetBody()
InitParameters()
Initializes StreamingRead parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Spanner.v1.SpannerBaseServiceRequest<Google.Apis.Spanner.v1.Data.PartialResultSet>.InitParameters()