Package com.google.cloud.bigquery
Class StandardSQLField
- java.lang.Object
-
- com.google.cloud.bigquery.StandardSQLField
-
- All Implemented Interfaces:
Serializable
public abstract class StandardSQLField extends Object implements Serializable
A Google BigQuery SQL Field.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStandardSQLField.Builder
-
Constructor Summary
Constructors Constructor Description StandardSQLField()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StandardSQLDataTypegetDataType()Returns the field's data type.abstract StringgetName()Returns the field name.static StandardSQLField.BuildernewBuilder()Returns a builder for aStandardSQLFieldobject.static StandardSQLField.BuildernewBuilder(StandardSQLDataType dataType)Returns a builder for aStandardSQLFieldobject with the specified data type.static StandardSQLField.BuildernewBuilder(String name, StandardSQLDataType dataType)Returns a builder for aStandardSQLFieldobject with the specified field name and data type.abstract StandardSQLField.BuildertoBuilder()Returns a builder pre-populated using the current values of this field.
-
-
-
Method Detail
-
getDataType
public abstract StandardSQLDataType getDataType()
Returns the field's data type.
-
toBuilder
public abstract StandardSQLField.Builder toBuilder()
Returns a builder pre-populated using the current values of this field.
-
newBuilder
public static StandardSQLField.Builder newBuilder()
Returns a builder for aStandardSQLFieldobject.
-
newBuilder
public static StandardSQLField.Builder newBuilder(StandardSQLDataType dataType)
Returns a builder for aStandardSQLFieldobject with the specified data type.
-
newBuilder
public static StandardSQLField.Builder newBuilder(String name, StandardSQLDataType dataType)
Returns a builder for aStandardSQLFieldobject with the specified field name and data type.
-
-