Uses of Class
com.google.cloud.bigquery.Field.Builder
Packages that use Field.Builder
Package
Description
A client for BigQuery – A fully managed, petabyte scale, low cost enterprise data warehouse for
analytics.
-
Uses of Field.Builder in com.google.cloud.bigquery
Methods in com.google.cloud.bigquery that return Field.BuilderModifier and TypeMethodDescriptionstatic Field.BuilderField.newBuilder(String name, LegacySQLTypeName type, Field... subFields) Returns a builder for a Field object with given name and type.static Field.BuilderField.newBuilder(String name, LegacySQLTypeName type, FieldList subFields) Returns a builder for a Field object with given name and type.static Field.BuilderField.newBuilder(String name, StandardSQLTypeName type, Field... subFields) Returns a builder for a Field object with given name and type.static Field.BuilderField.newBuilder(String name, StandardSQLTypeName type, FieldList subFields) Returns a builder for a Field object with given name and type.Field.Builder.setCollation(String collation) Optional.Field.Builder.setDefaultValueExpression(String defaultValueExpression) DefaultValueExpression is used to specify the default value of a field using a SQL expression.Field.Builder.setDescription(String description) Sets the field description.Field.Builder.setMaxLength(Long maxLength) Sets the maximum length of the field for STRING or BYTES type.Field.Builder.setMode(Field.Mode mode) Sets the mode of the field.Sets the field name.Field.Builder.setPolicyTags(PolicyTags policyTags) Sets the policy tags for the field.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.setRangeElementType(FieldElementType rangeElementType) Optional.Scale can be used to constrain the maximum number of digits in the fractional part of a NUMERIC or BIGNUMERIC type.Field.Builder.setType(LegacySQLTypeName type, Field... subFields) Sets the type of the field.Field.Builder.setType(LegacySQLTypeName type, FieldList subFields) Sets the type of the field.Field.Builder.setType(StandardSQLTypeName type, Field... subFields) Sets the type of the field.Field.Builder.setType(StandardSQLTypeName type, FieldList subFields) Sets the type of the field.Field.toBuilder()Returns a builder for theFieldobject.