class AttributeGroup extends Serializable
- Alphabetic
- By Inheritance
- AttributeGroup
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
numAttributes
andattributes
can be defined. -
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated