Skip to content

MetadataColumn

MetadataColumn is an abstraction of metadata columns that can expose additional metadata about a row.

Contract

comment

String comment()

Documentation of this metadata column

Default: null

dataType

DataType dataType()

isNullable

boolean isNullable()

Default: true

Name

String name()

Used when:

transform

Transform transform()

Transform to produce values for this metadata column from data rows

Default: null

MetadataColumnsHelper

MetadataColumns can be converted (implicitly) to StructTypes or AttributeReferences using MetadataColumnsHelper implicit class.