Class IndexedRow

Object
org.apache.spark.mllib.linalg.distributed.IndexedRow
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class IndexedRow extends Object implements scala.Product, Serializable
Represents a row of IndexedRowMatrix.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    IndexedRow(long index, Vector vector)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2)
     
    long
     
    static String
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • IndexedRow

      public IndexedRow(long index, Vector vector)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2)
    • toString

      public static String toString()
    • index

      public long index()
    • vector

      public Vector vector()