Class AvroOptions (2.14.7)

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
TypeDescription
AvroOptions.Builder

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public AvroOptions.Builder toBuilder()
Returns
TypeDescription
AvroOptions.Builder

toString()

public String toString()
Returns
TypeDescription
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
TypeDescription
Boolean