org.apache.spark.mllib.linalg.distributed
Class IndexedRow

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

public class IndexedRow
extends Object
implements scala.Product, scala.Serializable

:: Experimental :: Represents a row of IndexedRowMatrix.

See Also:
Serialized Form

Constructor Summary
IndexedRow(long index, Vector vector)
           
 
Method Summary
 long index()
           
 Vector vector()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

IndexedRow

public IndexedRow(long index,
                  Vector vector)
Method Detail

index

public long index()

vector

public Vector vector()