Interface AttributeFactory


public interface AttributeFactory
Trait for ML attribute factories.
  • Method Details

    • decodeStructField

      Attribute decodeStructField(StructField field, boolean preserveName)
      Creates an Attribute from a StructField instance, optionally preserving name.
      Parameters:
      field - (undocumented)
      preserveName - (undocumented)
      Returns:
      (undocumented)
    • fromMetadata

      Attribute fromMetadata(Metadata metadata)
      Creates an Attribute from a Metadata instance.
      Parameters:
      metadata - (undocumented)
      Returns:
      (undocumented)
    • fromStructField

      Attribute fromStructField(StructField field)
      Creates an Attribute from a StructField instance.
      Parameters:
      field - (undocumented)
      Returns:
      (undocumented)