class AttributeGroup extends Serializable
- Alphabetic
 - By Inheritance
 
- AttributeGroup
 - Serializable
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Instance Constructors
-    new AttributeGroup(name: String, attrs: Array[Attribute])
Creates an attribute group with attributes.
Creates an attribute group with attributes.
- name
 name of the attribute group
- attrs
 array of attributes. Attributes will be copied with their corresponding indices in the array.
 -    new AttributeGroup(name: String, numAttributes: Int)
Creates an attribute group knowing only the number of attributes.
Creates an attribute group knowing only the number of attributes.
- name
 name of the attribute group
- numAttributes
 number of attributes
 -    new AttributeGroup(name: String)
Creates an attribute group without attribute info.
Creates an attribute group without attribute info.
- name
 name of the attribute group
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -    def apply(attrIndex: Int): Attribute
Gets an attribute by its index.
 -    def apply(attrName: String): Attribute
Gets an attribute by its name.
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    val attributes: Option[Array[Attribute]]
Optional array of attributes.
Optional array of attributes. At most one of
numAttributesandattributescan be defined. -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(other: Any): Boolean
- Definition Classes
 - AttributeGroup → AnyRef → Any
 
 -    def getAttr(attrIndex: Int): Attribute
Gets an attribute by its index.
 -    def getAttr(attrName: String): Attribute
Gets an attribute by its name.
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -    def hasAttr(attrName: String): Boolean
Test whether this attribute group contains a specific attribute.
 -    def hashCode(): Int
- Definition Classes
 - AttributeGroup → AnyRef → Any
 
 -    def indexOf(attrName: String): Int
Index of an attribute specified by name.
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -  val name: String
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @IntrinsicCandidate() @native()
 
 -  val numAttributes: Option[Int]
 -    def size: Int
Size of the attribute group.
Size of the attribute group. Returns -1 if the size is unknown.
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toMetadata(): Metadata
Converts to ML metadata
 -    def toMetadata(existingMetadata: Metadata): Metadata
Converts to ML metadata with some existing metadata.
 -    def toString(): String
- Definition Classes
 - AttributeGroup → AnyRef → Any
 
 -    def toStructField(): StructField
Converts to a StructField.
 -    def toStructField(existingMetadata: Metadata): StructField
Converts to a StructField with some existing metadata.
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated
 (Since version 9)