public class SVMLightFVecParseWriter extends FVecParseWriter
ParseWriter.ParseErr, ParseWriter.UnsupportedTypeOverride
Modifier and Type | Field and Description |
---|---|
protected Vec.VectorGroup |
_vg |
_categoricals, _ctypes, _nvs, _vecs
Constructor and Description |
---|
SVMLightFVecParseWriter(Vec.VectorGroup vg,
int vecIdStart,
int cidx,
int chunkSize,
AppendableVec[] avs,
int[] parse_columns_indices) |
Modifier and Type | Method and Description |
---|---|
void |
addNumCol(int colIdx,
long number,
int exp) |
void |
addStrCol(int idx,
BufferedString str) |
FVecParseWriter |
close(Futures fs) |
boolean |
isString(int idx) |
void |
newLine() |
addErr, addError, addInvalidCol, addNAs, addNumCol, close, hasErrors, invalidLine, lineNum, nextChunk, reduce, removeErrors, rollbackLine, setColumnNames, setIsAllASCII
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asBytes, clone, frozenType, read, readJSON, reloadFromBytes, write, writeJSON
protected final Vec.VectorGroup _vg
public SVMLightFVecParseWriter(Vec.VectorGroup vg, int vecIdStart, int cidx, int chunkSize, AppendableVec[] avs, int[] parse_columns_indices)
public void addNumCol(int colIdx, long number, int exp)
addNumCol
in interface ParseWriter
addNumCol
in class FVecParseWriter
public void newLine()
newLine
in interface ParseWriter
newLine
in class FVecParseWriter
public void addStrCol(int idx, BufferedString str)
addStrCol
in interface ParseWriter
addStrCol
in class FVecParseWriter
public boolean isString(int idx)
isString
in interface ParseWriter
isString
in class FVecParseWriter
public FVecParseWriter close(Futures fs)
close
in interface StreamParseWriter
close
in class FVecParseWriter