Package com.google.cloud.bigquery
Class Schema
- java.lang.Object
-
- com.google.cloud.bigquery.Schema
-
- All Implemented Interfaces:
Serializable
public final class Schema extends Object implements Serializable
This class represents the schema for a Google BigQuery Table or data source.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
FieldList
getFields()
Returns the fields in the current table schema.int
hashCode()
static Schema
of(Field... fields)
Creates aSchema
object given some fields.static Schema
of(Iterable<Field> fields)
Creates aSchema
object given a list of fields.String
toString()
-
-
-
Method Detail
-
getFields
public FieldList getFields()
Returns the fields in the current table schema.
-
-