public class PMMLStringConversionTranslator extends Object implements PMMLPreprocTranslator
Constructor and Description |
---|
PMMLStringConversionTranslator(DerivedFieldMapper derivedFieldMapper) |
PMMLStringConversionTranslator(List<String> includeList,
DataType parseType,
DerivedFieldMapper derivedFieldMapper) |
Modifier and Type | Method and Description |
---|---|
org.dmg.pmml.LocalTransformationsDocument.LocalTransformations |
exportToLocalTrans()
Exports the translators state to a new LocalTransformations element.
|
org.dmg.pmml.TransformationDictionaryDocument.TransformationDictionary |
exportToTransDict()
Exports the translators state to a new TransformationDictionary element.
|
List<String> |
getIncludeCols() |
DataType |
getParseType() |
List<Integer> |
initializeFrom(org.dmg.pmml.DerivedFieldDocument.DerivedField[] derivedFields)
Initializes the translator based on a derived field array.
|
public PMMLStringConversionTranslator(DerivedFieldMapper derivedFieldMapper)
derivedFieldMapper
- the derived field mapperpublic PMMLStringConversionTranslator(List<String> includeList, DataType parseType, DerivedFieldMapper derivedFieldMapper)
includeList
- the names of the included columsparseType
- the resulting typederivedFieldMapper
- the derived field mapperpublic List<Integer> initializeFrom(org.dmg.pmml.DerivedFieldDocument.DerivedField[] derivedFields)
initializeFrom
in interface PMMLPreprocTranslator
derivedFields
- the derived fields to initialize frompublic org.dmg.pmml.TransformationDictionaryDocument.TransformationDictionary exportToTransDict()
exportToTransDict
in interface PMMLPreprocTranslator
public org.dmg.pmml.LocalTransformationsDocument.LocalTransformations exportToLocalTrans()
exportToLocalTrans
in interface PMMLPreprocTranslator
public DataType getParseType()
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.