public interface AvroSerializationOptionsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEnableDisplayNameAttribute()
public abstract boolean getEnableDisplayNameAttribute()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.
bool enable_display_name_attribute = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableDisplayNameAttribute. |
getPicosTimestampPrecision()
public abstract AvroSerializationOptions.PicosTimestampPrecision getPicosTimestampPrecision()Optional. Set timestamp precision option. If not set, the default precision is microseconds.
.google.cloud.bigquery.storage.v1.AvroSerializationOptions.PicosTimestampPrecision picos_timestamp_precision = 2;
| Returns | |
|---|---|
| Type | Description |
AvroSerializationOptions.PicosTimestampPrecision |
The picosTimestampPrecision. |
getPicosTimestampPrecisionValue()
public abstract int getPicosTimestampPrecisionValue()Optional. Set timestamp precision option. If not set, the default precision is microseconds.
.google.cloud.bigquery.storage.v1.AvroSerializationOptions.PicosTimestampPrecision picos_timestamp_precision = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for picosTimestampPrecision. |