| Modifier and Type | Field and Description |
|---|---|
static com.sun.codemodel.JExpression |
MISSING_VALUE |
| Constructor and Description |
|---|
OrdinalEncoder(Set<?> values) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JMethod |
createEncoderMethod(com.sun.codemodel.JType type,
org.dmg.pmml.FieldName name,
TranslationContext context) |
Integer |
encode(Object value) |
com.sun.codemodel.JMethod |
ensureIsSetMethod(TranslationContext context) |
String |
getName() |
OrdinalRef |
ref(com.sun.codemodel.JVar variable) |
public OrdinalEncoder(Set<?> values)
public OrdinalRef ref(com.sun.codemodel.JVar variable)
public com.sun.codemodel.JMethod createEncoderMethod(com.sun.codemodel.JType type,
org.dmg.pmml.FieldName name,
TranslationContext context)
createEncoderMethod in interface Encoderpublic com.sun.codemodel.JMethod ensureIsSetMethod(TranslationContext context)
Copyright © 2020. All rights reserved.