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 class
StandardSQLField.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 StandardSQLDataType
getDataType()
Returns the field's data type.abstract String
getName()
Returns the field name.static StandardSQLField.Builder
newBuilder()
Returns a builder for aStandardSQLField
object.static StandardSQLField.Builder
newBuilder(StandardSQLDataType dataType)
Returns a builder for aStandardSQLField
object with the specified data type.static StandardSQLField.Builder
newBuilder(String name, StandardSQLDataType dataType)
Returns a builder for aStandardSQLField
object with the specified field name and data type.abstract StandardSQLField.Builder
toBuilder()
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 aStandardSQLField
object.
-
newBuilder
public static StandardSQLField.Builder newBuilder(StandardSQLDataType dataType)
Returns a builder for aStandardSQLField
object with the specified data type.
-
newBuilder
public static StandardSQLField.Builder newBuilder(String name, StandardSQLDataType dataType)
Returns a builder for aStandardSQLField
object with the specified field name and data type.
-
-