public class SplitFrameV3 extends JobV3<SplitFrame,SplitFrameV3>
Schema.Meta
Modifier and Type | Field and Description |
---|---|
KeyV3.FrameKeyV3 |
dataset |
KeyV3.FrameKeyV3[] |
destination_frames |
double[] |
ratios |
description, dest, exception, key, msec, progress, progress_msg, start_time, status
__meta, _impl_class, _version_pattern, EXCLUDE_FIELDS, INCLUDE_FIELDS
Constructor and Description |
---|
SplitFrameV3() |
Modifier and Type | Method and Description |
---|---|
SplitFrame |
createImpl()
Create an implementation object and any child objects but DO NOT fill them.
|
fillFromImpl, link, writeHTML_impl
acceptsFrame, createAndFillImpl, extractVersion, fillFromParms, fillImpl, 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_impl, writeJSON
@API(help="Dataset") public KeyV3.FrameKeyV3 dataset
@API(help="Split ratios - resulting number of split is ratios.length+1", json=true) public double[] ratios
@API(help="Destination keys for each output frame split.", direction=INOUT) public KeyV3.FrameKeyV3[] destination_frames
public SplitFrame createImpl()
Schema
For objects without children this method does all the required work. For objects with children the subclass will need to override, e.g. by calling super.createImpl() and then calling createImpl() on its children.
Note that impl objects for schemas which override this method don't need to have a default constructor (e.g., a Keyed object constructor can still create and set the Key), but they must not fill any fields which can be filled later from the schema.
TODO: We *could* handle the common case of children with the same field names here by finding all of our fields that are themselves Schemas.
createImpl
in class JobV3<SplitFrame,SplitFrameV3>