Class StandardSQLField (2.37.2)

publicabstractclass StandardSQLFieldimplementsSerializable

A Google BigQuery SQL Field.

Inheritance

java.lang.Object > StandardSQLField

Implements

Serializable

Static Methods

newBuilder()

publicstaticStandardSQLField.BuildernewBuilder()

Returns a builder for a StandardSQLField object.

Returns
Type Description
StandardSQLField.Builder

newBuilder(StandardSQLDataType dataType)

publicstaticStandardSQLField.BuildernewBuilder(StandardSQLDataTypedataType)

Returns a builder for a StandardSQLField object with the specified data type.

Parameter
Name Description
dataType StandardSQLDataType
Returns
Type Description
StandardSQLField.Builder

newBuilder(String name, StandardSQLDataType dataType)

publicstaticStandardSQLField.BuildernewBuilder(Stringname,StandardSQLDataTypedataType)

Returns a builder for a StandardSQLField object with the specified field name and data type.

Parameters
Name Description
name String
dataType StandardSQLDataType
Returns
Type Description
StandardSQLField.Builder

Constructors

StandardSQLField()

publicStandardSQLField()

Methods

getDataType()

publicabstractStandardSQLDataTypegetDataType()

Returns the field's data type.

Returns
Type Description
StandardSQLDataType

getName()

publicabstractStringgetName()

Returns the field name.

Returns
Type Description
String

toBuilder()

publicabstractStandardSQLField.BuildertoBuilder()

Returns a builder pre-populated using the current values of this field.

Returns
Type Description
StandardSQLField.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.