Class AvroOptions (2.43.0)

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.

Inheritance

Object > FormatOptions > AvroOptions

Static Methods

newBuilder()

public static AvroOptions.Builder newBuilder()

Returns a builder for a AvroOptions object.

Returns
Type Description
AvroOptions.Builder

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public AvroOptions.Builder toBuilder()
Returns
Type Description
AvroOptions.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides

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).

Returns
Type Description
Boolean