Class AvroOptions.Builder (2.42.0)

public static final class AvroOptions.Builder

Inheritance

java.lang.Object > AvroOptions.Builder

Methods

build()

public AvroOptions build()

Creates a AvroOptions object.

Returns
Type Description
AvroOptions

setUseAvroLogicalTypes(boolean useAvroLogicalTypes)

public AvroOptions.Builder setUseAvroLogicalTypes(boolean useAvroLogicalTypes)

[Optional] Sets whether BigQuery should interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).

Parameter
Name Description
useAvroLogicalTypes boolean
Returns
Type Description
AvroOptions.Builder