Package com.google.cloud.bigquery
Class AvroOptions.Builder
- java.lang.Object
-
- com.google.cloud.bigquery.AvroOptions.Builder
-
- Enclosing class:
- AvroOptions
public static final class AvroOptions.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AvroOptions
build()
Creates aAvroOptions
object.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).
-
-
-
Method Detail
-
setUseAvroLogicalTypes
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).
-
build
public AvroOptions build()
Creates aAvroOptions
object.
-
-