Skip to content

FileSourceMetadataAttribute

cleanupFileSourceMetadataInformation

cleanupFileSourceMetadataInformation(
  attr: Attribute): Attribute

cleanupFileSourceMetadataInformation removeInternalMetadata.


cleanupFileSourceMetadataInformation is used when:

removeInternalMetadata

removeInternalMetadata(
  attr: Attribute): Attribute

removeInternalMetadata removes the following internal entries from the metadata of the given Attribute:

Creating Metadata AttributeReference

apply(
  name: String,
  dataType: DataType,
  nullable: Boolean = false): AttributeReference

apply creates an AttributeReference with the following metadata:

Metadata Key Value
__metadata_col true
__file_source_metadata_col true

apply is used when: