Package | Description |
---|---|
com.google.cloud.bigquery |
A client to Google Cloud BigQuery.
|
Modifier and Type | Method and Description |
---|---|
Field |
Field.Builder.build()
Creates a
Field object. |
static Field |
Field.of(String name,
Field.Type type)
Returns a Field object with given name and value.
|
Modifier and Type | Method and Description |
---|---|
List<Field> |
Schema.getFields()
Returns the fields in the current table schema.
|
List<Field> |
Field.getFields()
Returns the list of sub-fields if
getType() is a LegacySQLTypeName.RECORD . |
List<Field> |
Field.Type.getFields()
Returns the list of sub-fields if
Field.Type.getValue() is set to LegacySQLTypeName.RECORD . |
Modifier and Type | Method and Description |
---|---|
Schema.Builder |
Schema.Builder.addField(Field field)
Adds a field's schema to the table's schema.
|
static Schema |
Schema.of(Field... fields)
Creates a
Schema object given some fields. |
static Field.Type |
Field.Type.record(Field... fields)
Returns a
LegacySQLTypeName.RECORD field value with associated list of sub-fields. |
Schema.Builder |
Schema.Builder.setFields(Field... fields)
Sets table's schema fields.
|
Modifier and Type | Method and Description |
---|---|
static Schema |
Schema.of(Iterable<Field> fields)
Creates a
Schema object given a list of fields. |
static Field.Type |
Field.Type.record(List<Field> fields)
Returns a
LegacySQLTypeName.RECORD field value with associated list of sub-fields. |
Schema.Builder |
Schema.Builder.setFields(Iterable<Field> fields)
Sets table's schema fields.
|
Copyright © 2017 Google. All rights reserved.