public class RowMatrixBlock extends Object implements Externalizable
Constructor and Description |
---|
RowMatrixBlock() |
RowMatrixBlock(int len,
int row,
MatrixBlock value) |
Modifier and Type | Method and Description |
---|---|
int |
getLen() |
int |
getRow() |
MatrixBlock |
getValue() |
void |
readExternal(ObjectInput is)
Redirects the default java serialization via externalizable to our default
hadoop writable serialization for efficient deserialization.
|
void |
writeExternal(ObjectOutput os)
Redirects the default java serialization via externalizable to our default
hadoop writable serialization for efficient serialization.
|
public RowMatrixBlock()
public RowMatrixBlock(int len, int row, MatrixBlock value)
public int getLen()
public int getRow()
public MatrixBlock getValue()
public void readExternal(ObjectInput is) throws IOException
readExternal
in interface Externalizable
is
- object inputIOException
- if IOException occurspublic void writeExternal(ObjectOutput os) throws IOException
writeExternal
in interface Externalizable
os
- object outputIOException
- if IOException occursCopyright © 2020 The Apache Software Foundation. All rights reserved.