Interface SqlType.Struct.Field (2.44.0)

public static interface SqlType.Struct.Field extends ColumnMetadata

Represents a field in a struct

Implements

ColumnMetadata

Methods

name()

public abstract String name()

The name of the column. Returns Empty string if the column has no name

Returns
Type Description
String

the name of the field. Returns an empty string for fields without names.

type()

public abstract SqlType<?> type()

The SqlType of the column

Returns
Type Description
SqlType<?>

the SqlType of the field