Class BQTableSchemaToProtoDescriptor
- java.lang.Object
-
- com.google.cloud.bigquery.storage.v1.BQTableSchemaToProtoDescriptor
-
public class BQTableSchemaToProtoDescriptor extends Object
Converts a BQ table schema to protobuf descriptor. All field names will be converted to lowercase when constructing the protobuf descriptor. The mapping between field types and field modes are shown in the ImmutableMaps below.
-
-
Constructor Summary
Constructors Constructor Description BQTableSchemaToProtoDescriptor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.protobuf.Descriptors.Descriptor
convertBQTableSchemaToProtoDescriptor(TableSchema BQTableSchema)
Converts TableFieldSchema to a Descriptors.Descriptor object.
-
-
-
Method Detail
-
convertBQTableSchemaToProtoDescriptor
public static com.google.protobuf.Descriptors.Descriptor convertBQTableSchemaToProtoDescriptor(TableSchema BQTableSchema) throws com.google.protobuf.Descriptors.DescriptorValidationException
Converts TableFieldSchema to a Descriptors.Descriptor object.- Parameters:
BQTableSchema
-- Throws:
com.google.protobuf.Descriptors.DescriptorValidationException
-
-