Class StandardSQLField (2.40.1)

public abstract class StandardSQLField implements Serializable

A Google BigQuery SQL Field.

Inheritance

java.lang.Object > StandardSQLField

Implements

Serializable

Static Methods

newBuilder()

public static StandardSQLField.Builder newBuilder()

Returns a builder for a StandardSQLField object.

Returns
Type Description
StandardSQLField.Builder

newBuilder(StandardSQLDataType dataType)

public static StandardSQLField.Builder newBuilder(StandardSQLDataType dataType)

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)

public static StandardSQLField.Builder newBuilder(String name, StandardSQLDataType dataType)

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()

public StandardSQLField()

Methods

getDataType()

public abstract StandardSQLDataType getDataType()

Returns the field's data type.

Returns
Type Description
StandardSQLDataType

getName()

public abstract String getName()

Returns the field name.

Returns
Type Description
String

toBuilder()

public abstract StandardSQLField.Builder toBuilder()

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

Returns
Type Description
StandardSQLField.Builder