public class SparseMatrixWriter extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
ROW_PADDING |
Constructor and Description |
---|
SparseMatrixWriter(File path,
ValueConf conf) |
Modifier and Type | Method and Description |
---|---|
void |
finish() |
ValueConf |
getValueConf() |
static void |
write(File file,
Iterator<SparseMatrixRow> rows) |
static void |
write(File file,
Iterator<SparseMatrixRow> rows,
ValueConf vconf) |
void |
writeRow(SparseMatrixRow row) |
public static final byte ROW_PADDING
public SparseMatrixWriter(File path, ValueConf conf) throws IOException
IOException
public void writeRow(SparseMatrixRow row) throws IOException
IOException
public void finish() throws IOException
IOException
public static void write(File file, Iterator<SparseMatrixRow> rows) throws IOException
IOException
public static void write(File file, Iterator<SparseMatrixRow> rows, ValueConf vconf) throws IOException
IOException
public ValueConf getValueConf()
Copyright © 2014. All rights reserved.