public class SimpleCreateFrameRecipe extends CreateFrameRecipe<SimpleCreateFrameRecipe>
OriginalCreateFrameRecipe
, except that this recipe
requires to specify the number of columns of each type explicitly (not
as fractions). It also uses different naming scheme, so that columns of
different types have names according to that type: integer columns are
I1, I2, ...
, binary are B1, B2, ...
, and so on.Modifier and Type | Class and Description |
---|---|
static class |
SimpleCreateFrameRecipe.ResponseType |
Modifier and Type | Field and Description |
---|---|
double |
bool_p |
int |
enum_nlevels |
int |
int_lb |
int |
int_ub |
double |
missing_fraction |
int |
ncols_bool |
int |
ncols_enum |
int |
ncols_int |
int |
ncols_real |
int |
ncols_str |
int |
ncols_time |
int |
nrows |
double |
real_lb |
double |
real_ub |
double |
response_lb |
int |
response_nlevels |
double |
response_p |
SimpleCreateFrameRecipe.ResponseType |
response_type |
double |
response_ub |
int |
str_length |
long |
time_lb |
long |
time_ub |
dest, seed
Constructor and Description |
---|
SimpleCreateFrameRecipe() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildRecipe(CreateFrameExecutor cfe)
Set up the provided
CreateFrameExecutor so that it knows how to
construct the frame corresponding to the recipe being built. |
protected void |
checkParametersValidity()
Test whether the input parameters are valid, and throw error if they
aren't.
|
check, checkParametersValidity2, exec, fillMissingParameters
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public int nrows
public int ncols_real
public int ncols_int
public int ncols_enum
public int ncols_bool
public int ncols_str
public int ncols_time
public double real_lb
public double real_ub
public int int_lb
public int int_ub
public int enum_nlevels
public double bool_p
public long time_lb
public long time_ub
public int str_length
public double missing_fraction
public SimpleCreateFrameRecipe.ResponseType response_type
public double response_lb
public double response_ub
public double response_p
public int response_nlevels
protected void checkParametersValidity()
CreateFrameRecipe
CreateFrameRecipe.check(boolean, String)
helper function
to make this somewhat easier.checkParametersValidity
in class CreateFrameRecipe<SimpleCreateFrameRecipe>
protected void buildRecipe(CreateFrameExecutor cfe)
CreateFrameRecipe
CreateFrameExecutor
so that it knows how to
construct the frame corresponding to the recipe being built.buildRecipe
in class CreateFrameRecipe<SimpleCreateFrameRecipe>