public abstract class CreateFramePostprocessStep extends Iced<CreateFramePostprocessStep>
Base class for any "postprocessing" steps that should be undertaken after
the frame has been created using CreateFrameColumnMaker
s.
Each postprocess step takes a frame as an input, and then modifies it in-place. Examples of such postprocessing tasks could be: column renaming / reordering; removal of some temporary columns; etc.
Constructor and Description |
---|
CreateFramePostprocessStep() |
Modifier and Type | Method and Description |
---|---|
abstract void |
exec(Frame fr,
java.util.Random rng)
This method performs the actual work of the postprocessing task.
|
int |
workAmount()
Approximate work amount for this step.
|
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public abstract void exec(Frame fr, java.util.Random rng)
fr
- Frame that the task modifies.rng
- Random number generator to use if the task needs to modify the
frame randomly.public int workAmount()