Class Schema (2.43.1)

public final class Schema implements Serializable

This class represents the schema for a Google BigQuery Table or data source.

Inheritance

Object > Schema

Implements

Serializable

Static Methods

of(Field[] fields)

public static Schema of(Field[] fields)

Creates a Schema object given some fields.

Parameter
Name Description
fields Field[]
Returns
Type Description
Schema

of(Iterable<Field> fields)

public static Schema of(Iterable<Field> fields)

Creates a Schema object given a list of fields.

Parameter
Name Description
fields Iterable<Field>
Returns
Type Description
Schema

Methods

equals(Object obj)

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

getFields()

public FieldList getFields()

Returns the fields in the current table schema.

Returns
Type Description
FieldList

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides