public final class ClickHouseColumnInfo extends Object
| Modifier and Type | Method and Description |
|---|---|
ClickHouseDataType |
getArrayBaseType() |
int |
getArrayLevel() |
String |
getCleanTypeName()
Get the type name returned from the database, without modifiers, i.e.
|
ClickHouseDataType |
getClickHouseDataType() |
String |
getColumnName() |
ClickHouseDataType |
getEffectiveClickHouseDataType() |
String |
getFunctionName() |
ClickHouseColumnInfo |
getKeyInfo() |
String |
getOriginalTypeName() |
int |
getPrecision() |
int |
getScale() |
TimeZone |
getTimeZone() |
ClickHouseColumnInfo |
getValueInfo() |
boolean |
isArray() |
boolean |
isNullable() |
static ClickHouseColumnInfo |
parse(String typeInfo,
String columnName)
Deprecated.
|
static ClickHouseColumnInfo |
parse(String typeInfo,
String columnName,
TimeZone serverTimeZone)
Parse given type string.
|
@Deprecated public static ClickHouseColumnInfo parse(String typeInfo, String columnName)
public static ClickHouseColumnInfo parse(String typeInfo, String columnName, TimeZone serverTimeZone)
typeInfo - type defined in databasecolumnName - column nameserverTimeZone - server time zonepublic ClickHouseDataType getClickHouseDataType()
public String getOriginalTypeName()
public String getCleanTypeName()
public String getColumnName()
public boolean isNullable()
public int getArrayLevel()
public boolean isArray()
public ClickHouseDataType getArrayBaseType()
public ClickHouseDataType getEffectiveClickHouseDataType()
public TimeZone getTimeZone()
public int getPrecision()
public int getScale()
public ClickHouseColumnInfo getKeyInfo()
public ClickHouseColumnInfo getValueInfo()
public String getFunctionName()
Copyright © 2015–2021 ClickHouse. All rights reserved.