|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.port.pmml.PMMLDataDictionaryTranslator
public class PMMLDataDictionaryTranslator
| Constructor Summary | |
|---|---|
PMMLDataDictionaryTranslator()
Creates an empty PMML dictionary translator. |
|
| Method Summary | |
|---|---|
org.apache.xmlbeans.SchemaType |
exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc,
DataTableSpec dts)
Adds a data dictionary to the PMML document based on the DataTableSpec. |
org.apache.xmlbeans.SchemaType |
exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc,
PMMLPortObjectSpec spec)
Exports the translators state to a PMML document. |
List<String> |
getActiveDerivedFields()
|
DataTableSpec |
getDataTableSpec()
|
List<String> |
getDictionaryFields()
|
static DataType |
getKNIMEDataType(org.dmg.pmml40.DATATYPE.Enum pmmlType)
|
static org.dmg.pmml40.OPTYPE.Enum |
getOptype(DataType dataType)
|
static org.dmg.pmml40.DATATYPE.Enum |
getPMMLDataType(DataType dataType)
|
void |
initializeFrom(org.dmg.pmml40.PMMLDocument pmmlDoc)
Initializes the translator based on a PMML document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PMMLDataDictionaryTranslator()
| Method Detail |
|---|
public void initializeFrom(org.dmg.pmml40.PMMLDocument pmmlDoc)
initializeFrom in interface PMMLTranslatorpmmlDoc - the PMML document
public org.apache.xmlbeans.SchemaType exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc,
PMMLPortObjectSpec spec)
exportTo in interface PMMLTranslatorpmmlDoc - the PMML document to export tospec - the spec of the PMMLPortObject
public org.apache.xmlbeans.SchemaType exportTo(org.dmg.pmml40.PMMLDocument pmmlDoc,
DataTableSpec dts)
DataTableSpec.
pmmlDoc - the PMML document to export todts - the data table spec
exportTo(PMMLDocument, PMMLPortObjectSpec)public static org.dmg.pmml40.OPTYPE.Enum getOptype(DataType dataType)
dataType - the data type to get the PMML optype type for
DataColumnSpecpublic static DataType getKNIMEDataType(org.dmg.pmml40.DATATYPE.Enum pmmlType)
pmmlType - the PMML data type
DataType in KNIMEpublic static org.dmg.pmml40.DATATYPE.Enum getPMMLDataType(DataType dataType)
dataType - the KNIME data type to get the PMML data type
attribute for
DataTypepublic DataTableSpec getDataTableSpec()
initializeFrom(PMMLDocument) has not been invoked beforepublic List<String> getActiveDerivedFields()
public List<String> getDictionaryFields()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||