public sealed class ReadSession : IMessage<ReadSession>, IEquatable<ReadSession>, IDeepCloneable<ReadSession>, IBufferMessage, IMessage
Information about the ReadSession.
Implements
IMessage<ReadSession>, IEquatable<ReadSession>, IDeepCloneable<ReadSession>, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Storage.V1Assembly
Google.Cloud.BigQuery.Storage.V1.dll
Constructors
ReadSession()
public ReadSession()
ReadSession(ReadSession)
public ReadSession(ReadSession other)
Parameter | |
---|---|
Name | Description |
other | ReadSession |
Properties
ArrowSchema
public ArrowSchema ArrowSchema { get; set; }
Output only. Arrow schema.
Property Value | |
---|---|
Type | Description |
ArrowSchema |
AvroSchema
public AvroSchema AvroSchema { get; set; }
Output only. Avro schema.
Property Value | |
---|---|
Type | Description |
AvroSchema |
DataFormat
public DataFormat DataFormat { get; set; }
Immutable. Data format of the output data.
Property Value | |
---|---|
Type | Description |
DataFormat |
EstimatedTotalBytesScanned
public long EstimatedTotalBytesScanned { get; set; }
Output only. An estimate on the number of bytes this session will scan when all streams are completely consumed. This estimate is based on metadata from the table which might be incomplete or stale.
Property Value | |
---|---|
Type | Description |
Int64 |
ExpireTime
public Timestamp ExpireTime { get; set; }
Output only. Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors. The expire_time is automatically assigned and currently cannot be specified or updated.
Property Value | |
---|---|
Type | Description |
Timestamp |
Name
public string Name { get; set; }
Output only. Unique identifier for the session, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}
.
Property Value | |
---|---|
Type | Description |
String |
ReadOptions
public ReadSession.Types.TableReadOptions ReadOptions { get; set; }
Optional. Read options for this session (e.g. column selection, filters).
Property Value | |
---|---|
Type | Description |
ReadSession.Types.TableReadOptions |
ReadSessionName
public ReadSessionName ReadSessionName { get; set; }
ReadSessionName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ReadSessionName |
SchemaCase
public ReadSession.SchemaOneofCase SchemaCase { get; }
Property Value | |
---|---|
Type | Description |
ReadSession.SchemaOneofCase |
Streams
public RepeatedField<ReadStream> Streams { get; }
Output only. A list of streams created with the session.
At least one stream is created with the session. In the future, larger request_stream_count values may result in this list being unpopulated, in that case, the user will need to use a List method to get the streams instead, which is not yet available.
Property Value | |
---|---|
Type | Description |
RepeatedField<ReadStream> |
Table
public string Table { get; set; }
Immutable. Table that this ReadSession is reading from, in the form
projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
Property Value | |
---|---|
Type | Description |
String |
TableAsTableName
public TableName TableAsTableName { get; set; }
Property Value | |
---|---|
Type | Description |
TableName |
TableModifiers
public ReadSession.Types.TableModifiers TableModifiers { get; set; }
Optional. Any modifiers which are applied when reading from the specified table.
Property Value | |
---|---|
Type | Description |
ReadSession.Types.TableModifiers |
TraceId
public string TraceId { get; set; }
Optional. ID set by client to annotate a session identity. This does not need to be strictly unique, but instead the same ID should be used to group logically connected sessions (e.g. All using the same ID for all sessions needed to complete a Spark SQL query is reasonable).
Maximum length is 256 bytes.
Property Value | |
---|---|
Type | Description |
String |