public interface ModelContainer extends ContentContainer, ModelDetail
Modifier and Type | Method and Description |
---|---|
ModelContainer |
changeModelContent(java.lang.Object content)
Returns a new component containing the supplied content.
|
void |
setInputs(Column[] inputFields)
Set the input fields of the model.
|
getContent, getContentAsBinary, getContentAsUTF8, getContentFormat, getName, getTypeID, isEmpty, readContainer, writeContainer
getAlgorithmName, getApplicationName, getApplicationVersion, getBuildDate, getCopyright, getInputDataModel, getModelID, getModelType, getOutputDataModel, getPMMLModelType, getPMMLText, getSplitColumnNames, getSplitModelCount, getSplitModelKey, getSplitModelPMMLText, getUserName, isOutputColumnAuxiliary, isPMMLModel, isSplitModel
ModelContainer changeModelContent(java.lang.Object content)
ContentFormat.UTF8
or a byte array if the content format is ContentFormat.BINARY
.content
- the contentjava.lang.IllegalArgumentException
- if the supplied value is not consistent
with the component format.ContentFormat
,
ContentContainer.getContent()
,
ContentContainer.getContentFormat()
void setInputs(Column[] inputFields)
inputFields
- input fields of the model.Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.