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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static AvroOptions.Builder
Returns 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:
toString
in classFormatOptions
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFormatOptions
-
equals
- Overrides:
equals
in classFormatOptions
-
newBuilder
Returns a builder for a AvroOptions object.
-