Interface SqlType.Struct.Field

All Superinterfaces:
ColumnMetadata
All Known Implementing Classes:
Type.StructWithSchema.Field
Enclosing interface:
SqlType.Struct

public static interface SqlType.Struct.Field extends ColumnMetadata
Represents a field in a struct
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the column.
    The SqlType of the column
  • Method Details

    • name

      String name()
      Description copied from interface: ColumnMetadata
      The name of the column. Returns Empty string if the column has no name
      Specified by:
      name in interface ColumnMetadata
      Returns:
      the name of the field. Returns an empty string for fields without names.
    • type

      SqlType<?> type()
      Description copied from interface: ColumnMetadata
      The SqlType of the column
      Specified by:
      type in interface ColumnMetadata
      Returns:
      the SqlType of the field