Interface SqlType.Struct.Field
- All Superinterfaces:
ColumnMetadata
- All Known Implementing Classes:
Type.StructWithSchema.Field
- Enclosing interface:
- SqlType.Struct
Represents a field in a struct
-
Method Summary
-
Method Details
-
name
String name()Description copied from interface:ColumnMetadataThe name of the column. Returns Empty string if the column has no name- Specified by:
namein interfaceColumnMetadata- Returns:
- the name of the field. Returns an empty string for fields without names.
-
type
SqlType<?> type()Description copied from interface:ColumnMetadataTheSqlTypeof the column- Specified by:
typein interfaceColumnMetadata- Returns:
- the
SqlTypeof the field
-