public class IntegerColumnCfcm extends CreateFrameColumnMaker
index| Constructor and Description |
|---|
IntegerColumnCfcm() |
IntegerColumnCfcm(java.lang.String colName,
int lBound,
int uBound) |
| Modifier and Type | Method and Description |
|---|---|
float |
byteSizePerRow()
Estimated byte size of a single row created by this column maker.
|
java.lang.String[] |
columnNames()
Names of the columns produces by this column maker.
|
byte[] |
columnTypes()
Types of the columns produced by the column maker.
|
void |
exec(int nrows,
NewChunk[] ncs,
java.util.Random rng)
Implement this method in a subclass to actually build the columns.
|
columnDomains, numColumns, setIndex, workAmountasBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSONpublic IntegerColumnCfcm()
public IntegerColumnCfcm(java.lang.String colName,
int lBound,
int uBound)
public void exec(int nrows,
NewChunk[] ncs,
java.util.Random rng)
CreateFrameColumnMakerexec in class CreateFrameColumnMakernrows - Number of rows in the current chunk. If method is creating new columns,
then it is supposed to add this many rows.ncs - The `NewChunk`s array passed down from the `map()` method in `MRTask`.
A subclass is expected to know which NewChunks it is allowed to touch,
usually with the help of the CreateFrameColumnMaker.index variable.rng - Random number generator that the subclass may use to fill the columns
randomly. Do NOT use any other random generator as doing so will break
the reproducibility promise of the CreateFrame service.public java.lang.String[] columnNames()
CreateFrameColumnMakerCreateFrameColumnMaker.numColumns().columnNames in class CreateFrameColumnMakerpublic byte[] columnTypes()
CreateFrameColumnMakerCreateFrameColumnMaker.numColumns().columnTypes in class CreateFrameColumnMakerpublic float byteSizePerRow()
CreateFrameColumnMakerbyteSizePerRow in class CreateFrameColumnMaker