public class DataHelper extends Object
| Constructor | Description |
|---|---|
DataHelper() |
| Modifier and Type | Method | Description |
|---|---|---|
static byte |
getByte(int index,
com.datastax.driver.core.GettableByIndexData data) |
|
static Object |
getDate(int index,
com.datastax.driver.core.GettableByIndexData data) |
|
static short |
getShort(int index,
com.datastax.driver.core.GettableByIndexData data) |
|
static long |
getTime(int index,
com.datastax.driver.core.GettableByIndexData data) |
|
static Date |
getTimestamp(int index,
com.datastax.driver.core.GettableByIndexData data) |
|
static boolean |
hasByteAccessor() |
|
static boolean |
hasShortAccessor() |
|
static void |
setByte(int index,
byte b,
com.datastax.driver.core.SettableByIndexData data) |
|
static void |
setDate(int index,
Object localDate,
com.datastax.driver.core.SettableByIndexData data) |
|
static void |
setShort(int index,
short s,
com.datastax.driver.core.SettableByIndexData data) |
|
static void |
setTime(int index,
long time,
com.datastax.driver.core.SettableByIndexData data) |
|
static void |
setTimestamp(int index,
Date date,
com.datastax.driver.core.SettableByIndexData data) |
public static void setTimestamp(int index,
Date date,
com.datastax.driver.core.SettableByIndexData data)
throws Exception
Exceptionpublic static Date getTimestamp(int index, com.datastax.driver.core.GettableByIndexData data) throws Exception
Exceptionpublic static void setTime(int index,
long time,
com.datastax.driver.core.SettableByIndexData data)
throws Exception
Exceptionpublic static long getTime(int index,
com.datastax.driver.core.GettableByIndexData data)
throws Exception
Exceptionpublic static void setDate(int index,
Object localDate,
com.datastax.driver.core.SettableByIndexData data)
throws Exception
Exceptionpublic static Object getDate(int index, com.datastax.driver.core.GettableByIndexData data) throws Exception
Exceptionpublic static void setShort(int index,
short s,
com.datastax.driver.core.SettableByIndexData data)
throws Exception
Exceptionpublic static short getShort(int index,
com.datastax.driver.core.GettableByIndexData data)
throws Exception
Exceptionpublic static void setByte(int index,
byte b,
com.datastax.driver.core.SettableByIndexData data)
throws Exception
Exceptionpublic static byte getByte(int index,
com.datastax.driver.core.GettableByIndexData data)
throws Exception
Exceptionpublic static boolean hasShortAccessor()
public static boolean hasByteAccessor()
Copyright © 2018. All rights reserved.