object UnresolvedAttribute extends Attribute
- Alphabetic
- By Inheritance
- UnresolvedAttribute
- Attribute
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def attrType: AttributeType
Attribute type.
Attribute type.
- Definition Classes
- UnresolvedAttribute → Attribute
- def index: Option[Int]
Index of the attribute.
Index of the attribute. None if it is not set.
- Definition Classes
- UnresolvedAttribute → Attribute
- def isNominal: Boolean
Tests whether this attribute is nominal, true for NominalAttribute and BinaryAttribute.
Tests whether this attribute is nominal, true for NominalAttribute and BinaryAttribute.
- Definition Classes
- UnresolvedAttribute → Attribute
- def isNumeric: Boolean
Tests whether this attribute is numeric, true for NumericAttribute and BinaryAttribute.
Tests whether this attribute is numeric, true for NumericAttribute and BinaryAttribute.
- Definition Classes
- UnresolvedAttribute → Attribute
- def name: Option[String]
Name of the attribute.
Name of the attribute. None if it is not set.
- Definition Classes
- UnresolvedAttribute → Attribute
- def toMetadata(): Metadata
Converts to ML metadata
Converts to ML metadata
- Definition Classes
- Attribute
- def toMetadata(existingMetadata: Metadata): Metadata
Converts to ML metadata with some existing metadata.
Converts to ML metadata with some existing metadata.
- Definition Classes
- Attribute
- def toString(): String
- Definition Classes
- Attribute → AnyRef → Any
- def toStructField(): StructField
Converts to a
StructField
.Converts to a
StructField
.- Definition Classes
- Attribute
- def toStructField(existingMetadata: Metadata): StructField
Converts to a
StructField
with some existing metadata.Converts to a
StructField
with some existing metadata.- existingMetadata
existing metadata to carry over
- Definition Classes
- Attribute
- def withIndex(index: Int): Attribute
Copy with a new index.
Copy with a new index.
- Definition Classes
- UnresolvedAttribute → Attribute
- def withName(name: String): Attribute
Copy with a new name.
Copy with a new name.
- Definition Classes
- UnresolvedAttribute → Attribute
- def withoutIndex: Attribute
Copy without the index.
Copy without the index.
- Definition Classes
- UnresolvedAttribute → Attribute
- def withoutName: Attribute
Copy without the name.
Copy without the name.
- Definition Classes
- UnresolvedAttribute → Attribute