public class ArrayFpPrimitiveEncoder extends FpPrimitiveEncoder implements ArrayEncoder
INIT_VALUE_DOUBLE, INIT_VALUE_FLOAT, NAN_VALUE_DOUBLE, NAN_VALUE_FLOAT| Constructor and Description |
|---|
ArrayFpPrimitiveEncoder(ArrayInfo arrayInfo) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JMethod |
createEncoderMethod(FieldInfo fieldInfo,
com.sun.codemodel.JPrimitiveType returnType,
String name,
List<com.sun.codemodel.JPrimitiveType> castSequenceTypes,
org.dmg.pmml.DataType dataType,
TranslationContext context) |
ArrayInfo |
getArrayInfo() |
List<org.dmg.pmml.DataField> |
getElements() |
int |
getIndex() |
int |
getLength() |
String |
getMemberName(FieldInfo fieldInfo) |
String |
getVariableName(FieldInfo fieldInfo) |
ArrayFpPrimitiveEncoder |
setElements(List<org.dmg.pmml.DataField> elements) |
ArrayFpPrimitiveEncoder |
setIndex(int index) |
create, createEncoderMethod, createInitExpression, encode, follow, fpJavaValue, fpNanValue, isCastable, refclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateEncoderMethod, createInitExpression, encode, follow, refpublic ArrayFpPrimitiveEncoder(ArrayInfo arrayInfo)
public String getVariableName(FieldInfo fieldInfo)
getVariableName in interface EncodergetVariableName in class FpPrimitiveEncoderpublic String getMemberName(FieldInfo fieldInfo)
getMemberName in interface Encoderpublic com.sun.codemodel.JMethod createEncoderMethod(FieldInfo fieldInfo, com.sun.codemodel.JPrimitiveType returnType, String name, List<com.sun.codemodel.JPrimitiveType> castSequenceTypes, org.dmg.pmml.DataType dataType, TranslationContext context)
createEncoderMethod in class FpPrimitiveEncoderpublic ArrayInfo getArrayInfo()
public int getIndex()
getIndex in interface ArrayEncoderpublic ArrayFpPrimitiveEncoder setIndex(int index)
public int getLength()
getLength in interface ArrayEncoderpublic List<org.dmg.pmml.DataField> getElements()
public ArrayFpPrimitiveEncoder setElements(List<org.dmg.pmml.DataField> elements)
Copyright © 2024. All rights reserved.