Class TableRowToStorageApiProto.SchemaInformation
- java.lang.Object
-
- org.apache.beam.sdk.io.gcp.bigquery.TableRowToStorageApiProto.SchemaInformation
-
- Enclosing class:
- TableRowToStorageApiProto
public static class TableRowToStorageApiProto.SchemaInformation extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableRowToStorageApiProto.SchemaInformationfromTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema tableSchema)java.lang.StringgetFullName()java.lang.StringgetName()TableRowToStorageApiProto.SchemaInformationgetSchemaForField(int i)TableRowToStorageApiProto.SchemaInformationgetSchemaForField(java.lang.String name)longgetTimestampPrecision()com.google.cloud.bigquery.storage.v1.TableFieldSchema.TypegetType()booleanisNullable()booleanisRepeated()
-
-
-
Method Detail
-
getFullName
public java.lang.String getFullName()
-
getName
public java.lang.String getName()
-
getType
public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type getType()
-
isNullable
public boolean isNullable()
-
isRepeated
public boolean isRepeated()
-
getTimestampPrecision
public long getTimestampPrecision()
-
getSchemaForField
public TableRowToStorageApiProto.SchemaInformation getSchemaForField(java.lang.String name)
-
getSchemaForField
public TableRowToStorageApiProto.SchemaInformation getSchemaForField(int i)
-
fromTableSchema
public static TableRowToStorageApiProto.SchemaInformation fromTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema tableSchema)
-
-