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:
MetadataColumnsHelper
implicit class is requested to asStructDataSourceV2Relation
is requested for the metadata columnsDescribeTableExec
is requested to addMetadataColumns
transform¶
Transform transform()
Transform to produce values for this metadata column from data rows
Default: null
MetadataColumnsHelper¶
MetadataColumn
s can be converted (implicitly) to StructTypes or AttributeReference
s using MetadataColumnsHelper implicit class.