static Field.Builder |
Field.newBuilder(String name,
LegacySQLTypeName type,
Field... subFields) |
Returns a builder for a Field object with given name and type.
|
static Field.Builder |
Field.newBuilder(String name,
LegacySQLTypeName type,
FieldList subFields) |
Returns a builder for a Field object with given name and type.
|
static Field.Builder |
Field.newBuilder(String name,
StandardSQLTypeName type,
Field... subFields) |
Returns a builder for a Field object with given name and type.
|
static Field.Builder |
Field.newBuilder(String name,
StandardSQLTypeName type,
FieldList subFields) |
Returns a builder for a Field object with given name and type.
|
Field.Builder |
Field.Builder.setCollation(String collation) |
Optional.
|
Field.Builder |
Field.Builder.setDefaultValueExpression(String defaultValueExpression) |
DefaultValueExpression is used to specify the default value of a field using a SQL
expression.
|
Field.Builder |
Field.Builder.setDescription(String description) |
Sets the field description.
|
Field.Builder |
Field.Builder.setMaxLength(Long maxLength) |
Sets the maximum length of the field for STRING or BYTES type.
|
Field.Builder |
Field.Builder.setMode(Field.Mode mode) |
Sets the mode of the field.
|
Field.Builder |
Field.Builder.setName(String name) |
Sets the field name.
|
Field.Builder |
Field.Builder.setPolicyTags(PolicyTags policyTags) |
Sets the policy tags for the field.
|
Field.Builder |
Field.Builder.setPrecision(Long precision) |
Precision can be used to constrain the maximum number of total digits allowed for NUMERIC or
BIGNUMERIC types.
|
Field.Builder |
Field.Builder.setScale(Long scale) |
Scale can be used to constrain the maximum number of digits in the fractional part of a
NUMERIC or BIGNUMERIC type.
|
Field.Builder |
Field.Builder.setType(LegacySQLTypeName type,
Field... subFields) |
Sets the type of the field.
|
Field.Builder |
Field.Builder.setType(LegacySQLTypeName type,
FieldList subFields) |
Sets the type of the field.
|
Field.Builder |
Field.Builder.setType(StandardSQLTypeName type,
Field... subFields) |
Sets the type of the field.
|
Field.Builder |
Field.Builder.setType(StandardSQLTypeName type,
FieldList subFields) |
Sets the type of the field.
|
Field.Builder |
Field.toBuilder() |
Returns a builder for the Field object.
|