public class TimeStampTZConverter extends DTConverter
| Modifier and Type | Field and Description |
|---|---|
String |
TIMESTAMP_PATTERN |
LOG, myBuffer, myBufferArray, myNullBufferDAYS_SINCE_EPOCH, GMT_TIME_MASK, SECONDS_IN_DAY, SECONDS_SINCE_EPOCH, ZONE_MIN_MASK| Constructor and Description |
|---|
TimeStampTZConverter(int vectorSize,
int precision,
int size,
boolean isNullable)
This class converts timeStamp with time zone value from string to vw
storage format The VW storage type is either 8 or 16 byte integer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNullValue() |
void |
addValue(long timeSeconds,
int nanos,
int zoneSeconds,
boolean isNull) |
void |
addValue(String s) |
addValue, addValue, addValue, addValue, allocate, clearBuffers, freeNativeMemory, getBufferArray, getNativeMemoryPointer, getNullBuffer, getType, hasNullBuffer, resize, sizeCheckpublic final String TIMESTAMP_PATTERN
public TimeStampTZConverter(int vectorSize,
int precision,
int size,
boolean isNullable)
vectorSize - precision - size - isNullable - public void addValue(String s) throws ConversionException
addValue in interface IConverteraddValue in class DTConverterConversionExceptionpublic void addValue(long timeSeconds,
int nanos,
int zoneSeconds,
boolean isNull)
throws ConversionException
addValue in interface IConverteraddValue in class DTConverterConversionExceptionpublic void addNullValue()
Copyright © 2015 Actian Corporation. All Rights Reserved.