public class ClickHouseArrayUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
arrayToString(Object object,
TimeZone dateTimeZone,
TimeZone dateTimeTimeZone) |
static int |
getArrayLength(ByteFragment value) |
static Object |
parseArray(ByteFragment value,
boolean useObjects,
TimeZone timeZone,
ClickHouseColumnInfo columnInfo) |
static Object |
parseArray(ByteFragment value,
boolean useObjects,
TimeZone timeZone,
int arrayLevel,
Class<?> elementClass,
ClickHouseColumnInfo columnInfo) |
static String |
toString(Collection<?> collection,
TimeZone dateTimeZone,
TimeZone dateTimeTimeZone) |
static String |
toString(Object[] values,
TimeZone dateTimeZone,
TimeZone dateTimeTimeZone) |
public static String arrayToString(Object object, TimeZone dateTimeZone, TimeZone dateTimeTimeZone)
object - the object to convert to ClickHouse-string representationdateTimeZone - TimeZone to use when formatting date valuesdateTimeTimeZone - TimeZone to use when formatting datetime valuespublic static String toString(Object[] values, TimeZone dateTimeZone, TimeZone dateTimeTimeZone)
public static String toString(Collection<?> collection, TimeZone dateTimeZone, TimeZone dateTimeTimeZone)
public static Object parseArray(ByteFragment value, boolean useObjects, TimeZone timeZone, int arrayLevel, Class<?> elementClass, ClickHouseColumnInfo columnInfo) throws SQLException
SQLExceptionpublic static int getArrayLength(ByteFragment value)
public static Object parseArray(ByteFragment value, boolean useObjects, TimeZone timeZone, ClickHouseColumnInfo columnInfo) throws SQLException
SQLExceptionCopyright © 2015–2021 ClickHouse. All rights reserved.