public class DecimalConverter extends DTConverter
LOG, myBuffer, myBufferArray, myNullBuffer
DAYS_SINCE_EPOCH, GMT_TIME_MASK, SECONDS_IN_DAY, SECONDS_SINCE_EPOCH, ZONE_MIN_MASK
Constructor and Description |
---|
DecimalConverter(int size,
int vectorSize,
int scale,
int precision,
boolean isNullable) |
Modifier and Type | Method and Description |
---|---|
void |
addNullValue() |
void |
addValue(BigDecimal bd) |
void |
addValue(String s) |
long |
convert(BigDecimal bd) |
static byte[] |
convert16(BigInteger bi) |
addValue, addValue, addValue, addValue, allocate, clearBuffers, freeNativeMemory, getBufferArray, getNativeMemoryPointer, getNullBuffer, getType, hasNullBuffer, resize, sizeCheck
public DecimalConverter(int size, int vectorSize, int scale, int precision, boolean isNullable)
public void addValue(BigDecimal bd) throws ConversionException
addValue
in interface IConverter
addValue
in class DTConverter
ConversionException
public void addValue(String s) throws ConversionException
addValue
in interface IConverter
addValue
in class DTConverter
ConversionException
public long convert(BigDecimal bd)
public static byte[] convert16(BigInteger bi)
public void addNullValue()
Copyright © 2016 Actian Corporation. All Rights Reserved.