public class DecimalConverter extends DTConverter
LOG, myBuffer, myBufferArray, myNullBufferDAYS_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, sizeCheckpublic DecimalConverter(int size,
int vectorSize,
int scale,
int precision,
boolean isNullable)
public void addValue(BigDecimal bd) throws ConversionException
addValue in interface IConverteraddValue in class DTConverterConversionExceptionpublic void addValue(String s) throws ConversionException
addValue in interface IConverteraddValue in class DTConverterConversionExceptionpublic long convert(BigDecimal bd)
public static byte[] convert16(BigInteger bi)
public void addNullValue()
Copyright © 2015 Actian Corporation. All Rights Reserved.