Package com.google.cloud.bigquery
Class AvroOptions
java.lang.Object
com.google.cloud.bigquery.FormatOptions
com.google.cloud.bigquery.AvroOptions
- All Implemented Interfaces:
Serializable
Google BigQuery options for AVRO format. This class wraps some properties of AVRO files used by
BigQuery to parse external data.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static AvroOptions.BuilderReturns a builder for a AvroOptions object.toString()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 Details
-
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
-
toString
- Overrides:
toStringin classFormatOptions
-
hashCode
public int hashCode()- Overrides:
hashCodein classFormatOptions
-
equals
- Overrides:
equalsin classFormatOptions
-
newBuilder
Returns a builder for a AvroOptions object.
-