Class/Object

com.salesforce.op.utils.spark

OpVectorMetadata

Related Docs: object OpVectorMetadata | package spark

Permalink

class OpVectorMetadata extends AnyRef

Represents a metadata wrapper that includes parent feature information.

The metadata includes a columns field that describes the columns in the vector.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OpVectorMetadata
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val columns: Array[OpVectorColumnMetadata]

    Permalink

    Column metadata with indicies fixed to match order passed in

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    OpVectorMetadata → AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def getColumnHistory(): Seq[OpVectorColumnHistory]

    Permalink

    Extract the full history for each element of the vector

    Extract the full history for each element of the vector

    returns

    Sequence of OpVectorColumnHistory

  12. def hashCode(): Int

    Permalink
    Definition Classes
    OpVectorMetadata → AnyRef → Any
  13. val history: Map[String, FeatureHistory]

    Permalink

    history of parent features used to create the vector map is from OpVectorColumnMetadata.parentFeatureName (String) to FeatureHistory

  14. def index(column: OpVectorColumnMetadata): Int

    Permalink

    Get index of the given OpVectorColumnMetadata, or throw an error if it isn't in this vector metadata or if multiple instances of it are in this metadata

    Get index of the given OpVectorColumnMetadata, or throw an error if it isn't in this vector metadata or if multiple instances of it are in this metadata

    column

    The column to check

    returns

    The index of the column

    Exceptions thrown

    IllegalArgumentException if the column does not appear exactly once in this vector

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val name: String

    Permalink

    name of the feature vector

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def size: Int

    Permalink

    Get the number of columns in vectors of this type

    Get the number of columns in vectors of this type

    returns

    Number of columns as int

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toMetadata: Metadata

    Permalink

    Serialize to spark metadata

    Serialize to spark metadata

    returns

    Spark metadata

  23. def toString(): String

    Permalink
    Definition Classes
    OpVectorMetadata → AnyRef → Any
  24. def toStructField(): StructField

    Permalink

    Serialize to spark metadata inside a StructField

    Serialize to spark metadata inside a StructField

    returns

    Spark struct field

  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def withColumns(newColumns: Array[OpVectorColumnMetadata]): OpVectorMetadata

    Permalink

    Return a new instance of OpVectorMetadata with the given columns used to update columns with value information

    Return a new instance of OpVectorMetadata with the given columns used to update columns with value information

    newColumns

    New columns as an array of OpVectorMetadata

    returns

    New vector metadata

Inherited from AnyRef

Inherited from Any

Ungrouped