Package com.google.cloud.bigquery
Class AvroOptions
- java.lang.Object
-
- com.google.cloud.bigquery.FormatOptions
-
- com.google.cloud.bigquery.AvroOptions
-
- All Implemented Interfaces:
Serializable
public final class AvroOptions extends FormatOptions
Google BigQuery options for AVRO format. This class wraps some properties of AVRO files used by BigQuery to parse external data.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAvroOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()static AvroOptions.BuildernewBuilder()Returns a builder for a AvroOptions object.AvroOptions.BuildertoBuilder()StringtoString()BooleanuseAvroLogicalTypes()Returns whether BigQuery should interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).-
Methods inherited from class com.google.cloud.bigquery.FormatOptions
avro, bigtable, csv, datastoreBackup, getType, googleSheets, iceberg, json, of, orc, parquet
-
-
-
-
Method Detail
-
useAvroLogicalTypes
public Boolean useAvroLogicalTypes()
Returns whether BigQuery should interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).
-
toBuilder
public AvroOptions.Builder toBuilder()
-
toString
public String toString()
- Overrides:
toStringin classFormatOptions
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFormatOptions
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classFormatOptions
-
newBuilder
public static AvroOptions.Builder newBuilder()
Returns a builder for a AvroOptions object.
-
-