public final class ClickHouseValueFormatter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NULL_MARKER |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatBigDecimal(BigDecimal myBigDecimal) |
static String |
formatBigInteger(BigInteger x) |
static String |
formatBoolean(boolean myBoolean) |
static String |
formatByte(byte myByte) |
static String |
formatBytes(byte[] bytes) |
static String |
formatChar(char myChar) |
static String |
formatDate(Date date,
TimeZone timeZone) |
static String |
formatDouble(double myDouble) |
static String |
formatFloat(float myFloat) |
static String |
formatInt(int myInt) |
static String |
formatLong(long myLong) |
static String |
formatNull() |
static String |
formatObject(Object x,
TimeZone dateTimeZone,
TimeZone dateTimeTimeZone) |
static String |
formatShort(short myShort) |
static String |
formatString(String myString) |
static String |
formatTime(Time time,
TimeZone timeZone) |
static String |
formatTimestamp(Timestamp time,
TimeZone timeZone) |
static String |
formatUUID(UUID x) |
static boolean |
needsQuoting(Object o) |
public static final String NULL_MARKER
public static String formatBytes(byte[] bytes)
public static String formatInt(int myInt)
public static String formatDouble(double myDouble)
public static String formatChar(char myChar)
public static String formatLong(long myLong)
public static String formatFloat(float myFloat)
public static String formatBigDecimal(BigDecimal myBigDecimal)
public static String formatShort(short myShort)
public static String formatNull()
public static String formatByte(byte myByte)
public static String formatBoolean(boolean myBoolean)
public static String formatBigInteger(BigInteger x)
public static String formatObject(Object x, TimeZone dateTimeZone, TimeZone dateTimeTimeZone)
public static boolean needsQuoting(Object o)
Copyright © 2020. All rights reserved.