| Package | Description | 
|---|---|
| com.google.cloud.bigquery | 
 A client for BigQuery – A fully managed, petabyte scale, low cost enterprise data warehouse for
 analytics. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Field | 
Field.Builder.build()
Creates a  
Field object. | 
Field | 
FieldList.get(int index)
Get schema field by index. 
 | 
Field | 
FieldList.get(String name)
Get schema field by name. 
 | 
static Field | 
Field.of(String name,
  LegacySQLTypeName type,
  Field... subFields)
Returns a Field object with given name and type. 
 | 
static Field | 
Field.of(String name,
  LegacySQLTypeName type,
  FieldList subFields)
Returns a Field object with given name and type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Field.Builder | 
Field.newBuilder(String name,
          LegacySQLTypeName type,
          Field... subFields)
Returns a builder for a Field object with given name and type. 
 | 
static Field.Builder | 
Field.newBuilder(String name,
          StandardSQLTypeName type,
          Field... subFields)
Returns a builder for a Field object with given name and type. 
 | 
static FieldList | 
FieldList.of(Field... fields)
Returns a new  
FieldList object, which contains a collection of Field objects in
 preserved order and represent schema columns. | 
static Schema | 
Schema.of(Field... fields)
Creates a  
Schema object given some fields. | 
static FieldValueList | 
FieldValueList.of(List<FieldValue> row,
  Field... schema)
Creates an instance of  
FieldValueList, useful for testing. | 
static Field | 
Field.of(String name,
  LegacySQLTypeName type,
  Field... subFields)
Returns a Field object with given name and type. 
 | 
Field.Builder | 
Field.Builder.setType(LegacySQLTypeName type,
       Field... subFields)
Sets the type of the field. 
 | 
Field.Builder | 
Field.Builder.setType(StandardSQLTypeName type,
       Field... subFields)
Sets the type of the field. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static FieldList | 
FieldList.of(Iterable<Field> fields)
Returns a new  
FieldList object, which contains a collection of Field objects in
 preserved order and represent schema columns. | 
static Schema | 
Schema.of(Iterable<Field> fields)
Creates a  
Schema object given a list of fields. | 
Copyright © 2019 Google LLC. All rights reserved.