public sealed class AvroSerializationOptions : IMessage<AvroSerializationOptions>, IEquatable<AvroSerializationOptions>, IDeepCloneable<AvroSerializationOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Google BigQuery Storage v1 API class AvroSerializationOptions.
Contains options specific to Avro Serialization.
Implements
IMessageAvroSerializationOptions, IEquatableAvroSerializationOptions, IDeepCloneableAvroSerializationOptions, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Storage.V1Assembly
Google.Cloud.BigQuery.Storage.V1.dll
Constructors
AvroSerializationOptions()
public AvroSerializationOptions()
AvroSerializationOptions(AvroSerializationOptions)
public AvroSerializationOptions(AvroSerializationOptions other)
Parameter | |
---|---|
Name | Description |
other | AvroSerializationOptions |
Properties
EnableDisplayNameAttribute
public bool EnableDisplayNameAttribute { get; set; }
Enable displayName attribute in Avro schema.
The Avro specification requires field names to be alphanumeric. By default, in cases when column names do not conform to these requirements (e.g. non-ascii unicode codepoints) and Avro is requested as an output format, the CreateReadSession call will fail.
Setting this field to true, populates avro field names with a placeholder value and populates a "displayName" attribute for every avro field with the original column name.
Property Value | |
---|---|
Type | Description |
bool |