public static class DistributedRowMatrix.MatrixEntryWritable extends Object implements org.apache.hadoop.io.WritableComparable<DistributedRowMatrix.MatrixEntryWritable>
| Constructor and Description |
|---|
MatrixEntryWritable() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DistributedRowMatrix.MatrixEntryWritable o) |
boolean |
equals(Object o) |
int |
getCol() |
int |
getRow() |
double |
getVal() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
setCol(int col) |
void |
setRow(int row) |
void |
setVal(double val) |
String |
toString() |
void |
write(DataOutput out) |
public int getRow()
public void setRow(int row)
public int getCol()
public void setCol(int col)
public double getVal()
public void setVal(double val)
public int compareTo(DistributedRowMatrix.MatrixEntryWritable o)
compareTo in interface Comparable<DistributedRowMatrix.MatrixEntryWritable>public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.