public interface ArrowVectorConverter
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNull(int index)
Determine whether source value in arrow vector is null value or not
|
void |
setSessionTimeZone(TimeZone tz) |
void |
setTreatNTZAsUTC(boolean isUTC) |
void |
setUseSessionTimezone(boolean useSessionTimezone)
Set to true when time value should be displayed in wallclock time (no timezone offset)
|
BigDecimal |
toBigDecimal(int index)
Convert value in arrow vector to BigDecimal
|
boolean |
toBoolean(int index)
Convert value in arrow vector to boolean data
|
byte |
toByte(int index)
Convert value in arrow vector to byte data
|
byte[] |
toBytes(int index)
Convert value in arrow vector to byte array
|
Date |
toDate(int index,
TimeZone jvmTz,
boolean useDateFormat)
Convert value in arrow vector to Date
|
double |
toDouble(int index)
Convert value in arrow vector to double data
|
float |
toFloat(int index)
Convert value in arrow vector to float data
|
int |
toInt(int index)
Convert value in arrow vector to int data
|
long |
toLong(int index)
Convert value in arrow vector to long data
|
Object |
toObject(int index)
Convert value in arrow vector to Object
|
short |
toShort(int index)
Convert value in arrow vector to short data
|
String |
toString(int index)
Convert value in arrow vector to string
|
Time |
toTime(int index)
Convert value in arrow vector to Time
|
Timestamp |
toTimestamp(int index,
TimeZone tz)
Convert value in arrow vector to Timestamp
|
void setUseSessionTimezone(boolean useSessionTimezone)
useSessionTimezone - void setSessionTimeZone(TimeZone tz)
boolean isNull(int index)
index - index of value to be checkedboolean toBoolean(int index)
throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionbyte toByte(int index)
throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionshort toShort(int index)
throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionint toInt(int index) throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionlong toLong(int index)
throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversiondouble toDouble(int index)
throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionfloat toFloat(int index)
throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionbyte[] toBytes(int index)
throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionString toString(int index) throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionDate toDate(int index, TimeZone jvmTz, boolean useDateFormat) throws SFException
index - index of the value to be converted in the vectorjvmTz - JVM timezoneuseDateFormat - boolean value to check whether to change timezone or notSFException - invalid data conversionTime toTime(int index) throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionTimestamp toTimestamp(int index, TimeZone tz) throws SFException
index - index of the value to be converted in the vectortz - time zoneSFException - invalid data conversionBigDecimal toBigDecimal(int index) throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionObject toObject(int index) throws SFException
index - index of the value to be converted in the vectorSFException - invalid data conversionvoid setTreatNTZAsUTC(boolean isUTC)
isUTC - true or false value of whether NTZ timestamp should be set to UTCCopyright © 2022. All rights reserved.