Creates an attribute group with attributes.
Creates an attribute group with attributes.
name of the attribute group
array of attributes. Attributes will be copied with their corresponding indices in the array.
Creates an attribute group knowing only the number of attributes.
Creates an attribute group knowing only the number of attributes.
name of the attribute group
number of attributes
Creates an attribute group without attribute info.
Creates an attribute group without attribute info.
name of the attribute group
Gets an attribute by its index.
Gets an attribute by its name.
Optional array of attributes.
Optional array of attributes. At most one of numAttributes
and attributes
can be defined.
Gets an attribute by its index.
Gets an attribute by its name.
Test whether this attribute group contains a specific attribute.
Index of an attribute specified by name.
name of the attribute group (the ML column name)
optional number of attributes.
optional number of attributes. At most one of numAttributes
and attrs
can be defined.
Size of the attribute group.
Size of the attribute group. Returns -1 if the size is unknown.
Converts to ML metadata
Converts to ML metadata with some existing metadata.
Converts to a StructField.
Converts to a StructField with some existing metadata.
:: DeveloperApi :: Attributes that describe a vector ML column.