Package com.google.cloud.bigtable.common
Class Type.StructWithSchema.Field
java.lang.Object
com.google.cloud.bigtable.common.Type.StructWithSchema.Field
- All Implemented Interfaces:
ColumnMetadata,SqlType.Struct.Field
- Enclosing class:
- Type.StructWithSchema
@InternalApi("Visible for testing")
public abstract static class Type.StructWithSchema.Field
extends Object
implements SqlType.Struct.Field
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Type.StructWithSchema.FieldfromProto(Type.Struct.Field proto) abstract Stringname()The name of the column.abstract SqlType<?>type()TheSqlTypeof the column
-
Constructor Details
-
Field
public Field()
-
-
Method Details
-
fromProto
-
name
Description copied from interface:ColumnMetadataThe name of the column. Returns Empty string if the column has no name- Specified by:
namein interfaceColumnMetadata- Specified by:
namein interfaceSqlType.Struct.Field- Returns:
- the name of the field. Returns an empty string for fields without names.
-
type
Description copied from interface:ColumnMetadataTheSqlTypeof the column- Specified by:
typein interfaceColumnMetadata- Specified by:
typein interfaceSqlType.Struct.Field- Returns:
- the
SqlTypeof the field
-