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 |
---|---|
FieldList |
Schema.getFields()
Returns the fields in the current table schema.
|
FieldList |
Field.getSubFields()
Returns the list of sub-fields if
Field.getType() is a LegacySQLTypeName.RECORD . |
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 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. |
Modifier and Type | Method and Description |
---|---|
static Field.Builder |
Field.newBuilder(String name,
LegacySQLTypeName type,
FieldList subFields)
Returns a builder for a Field object with given name and type.
|
static Field.Builder |
Field.newBuilder(String name,
StandardSQLTypeName type,
FieldList subFields)
Returns a builder for a Field object with given name and type.
|
static FieldValueList |
FieldValueList.of(List<FieldValue> row,
FieldList schema)
Creates an instance of
FieldValueList , useful for testing. |
static Field |
Field.of(String name,
LegacySQLTypeName type,
FieldList subFields)
Returns a Field object with given name and type.
|
static Field |
Field.of(String name,
StandardSQLTypeName type,
FieldList subFields)
Returns a Field object with given name and type.
|
Field.Builder |
Field.Builder.setType(LegacySQLTypeName type,
FieldList subFields)
Sets the type of the field.
|
Field.Builder |
Field.Builder.setType(StandardSQLTypeName type,
FieldList subFields)
Sets the type of the field.
|
Copyright © 2023 Google LLC. All rights reserved.