Class StandardSQLField (2.24.0)

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
TypeDescription
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
NameDescription
dataTypeStandardSQLDataType
Returns
TypeDescription
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
NameDescription
nameString
dataTypeStandardSQLDataType
Returns
TypeDescription
StandardSQLField.Builder

Constructors

StandardSQLField()

public StandardSQLField()

Methods

getDataType()

public abstract StandardSQLDataType getDataType()

Returns the field's data type.

Returns
TypeDescription
StandardSQLDataType

getName()

public abstract String getName()

Returns the field name.

Returns
TypeDescription
String

toBuilder()

public abstract StandardSQLField.Builder toBuilder()

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

Returns
TypeDescription
StandardSQLField.Builder