public class ModelBuilderSchema<B extends ModelBuilder,S extends ModelBuilderSchema<B,S,P>,P extends ModelParametersSchema> extends RequestSchema<B,S> implements SpecifiesHttpResponseCode
Modifier and Type | Class and Description |
---|---|
static class |
ModelBuilderSchema.IcedHashMapStringModelBuilderSchema |
Schema.Meta
Modifier and Type | Field and Description |
---|---|
int |
__http_status |
java.lang.String |
algo |
java.lang.String |
algo_full_name |
hex.ModelCategory[] |
can_build |
int |
error_count |
JobV3 |
job |
ValidationMessageBase[] |
messages |
P |
parameters |
ModelBuilder.BuilderVisibility |
visibility |
_exclude_fields
__meta, _impl_class, _version_pattern, EXCLUDE_FIELDS, INCLUDE_FIELDS
Constructor and Description |
---|
ModelBuilderSchema() |
Modifier and Type | Method and Description |
---|---|
B |
createImpl()
Create the corresponding impl object, as well as its parameters object.
|
P |
createParametersSchema()
Factory method to create the model-specific parameters schema.
|
S |
fillFromImpl(B builder)
Version and Schema-specific filling from the implementation object.
|
S |
fillFromParms(java.util.Properties parms) |
B |
fillImpl(B impl)
Fill an impl object and any children from this schema and its children.
|
int |
httpStatus() |
void |
setHttpStatus(int status) |
DocGen.HTML |
writeHTML_impl(DocGen.HTML ab)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
AutoBuffer |
writeJSON_impl(AutoBuffer ab)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
acceptsFrame, createAndFillImpl, extractVersion, getExperimentalVersion, getHighestSupportedVersion, getImplClass, getImplClass, getLatestVersion, getSchemaVersion, markdown, markdown, markdown, markdown, newInstance, register, registerAllSchemasIfNecessary, schema, schema, schema, schema, schema, schemaClass, schemaClass, schemaClass, schemaClass, schemas
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeHTML, writeJSON
@API(help="Model builder parameters.") public P extends ModelParametersSchema parameters
@API(help="The algo name for this ModelBuilder.", direction=OUTPUT) public java.lang.String algo
@API(help="The pretty algo name for this ModelBuilder (e.g., Generalized Linear Model, rather than GLM).", direction=OUTPUT) public java.lang.String algo_full_name
@API(help="Model categories this ModelBuilder can build.", values={"Unknown","Binomial","Multinomial","Regression","Clustering","AutoEncoder","DimReduction"}, direction=OUTPUT) public hex.ModelCategory[] can_build
@API(help="Should the builder always be visible, be marked as beta, or only visible if the user starts up with the experimental flag?", values={"Experimental","Beta","AlwaysVisible"}, direction=OUTPUT) public ModelBuilder.BuilderVisibility visibility
@API(help="Parameter validation messages", direction=OUTPUT) public ValidationMessageBase[] messages
@API(help="Count of parameter validation errors", direction=OUTPUT) public int error_count
public void setHttpStatus(int status)
public int httpStatus()
httpStatus
in interface SpecifiesHttpResponseCode
public final P createParametersSchema()
public S fillFromParms(java.util.Properties parms)
fillFromParms
in class Schema<B extends ModelBuilder,S extends ModelBuilderSchema<B,S,P>>
public final B createImpl()
createImpl
in class Schema<B extends ModelBuilder,S extends ModelBuilderSchema<B,S,P>>
public B fillImpl(B impl)
Schema
fillImpl
in class Schema<B extends ModelBuilder,S extends ModelBuilderSchema<B,S,P>>
public S fillFromImpl(B builder)
Schema
fillFromImpl
in class Schema<B extends ModelBuilder,S extends ModelBuilderSchema<B,S,P>>
public DocGen.HTML writeHTML_impl(DocGen.HTML ab)
Iced
Iced
serialization protocol, only called by
auto-genned code. Not intended to be called by user code. Override only
for custom Iced serializers.writeHTML_impl
in interface Freezable
writeHTML_impl
in class Iced
ab
- html to write object to.public AutoBuffer writeJSON_impl(AutoBuffer ab)
Iced
Iced
serialization protocol, only called by
auto-genned code. Not intended to be called by user code. Override only
for custom Iced serializers.writeJSON_impl
in interface Freezable
writeJSON_impl
in class Iced
ab
- AutoBuffer
to write this object to.AutoBuffer
for flow-coding.