public enum DruidColumnType extends Enum<DruidColumnType>
| Enum Constant and Description |
|---|
BIGINT |
DOUBLE |
FLOAT |
OTHER |
TIMESTAMP |
VARCHAR |
| Modifier and Type | Method and Description |
|---|---|
static DruidColumnType |
fromPrestoType(Type type) |
String |
getIngestType() |
Type |
getPrestoType() |
static DruidColumnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DruidColumnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DruidColumnType BIGINT
public static final DruidColumnType DOUBLE
public static final DruidColumnType FLOAT
public static final DruidColumnType OTHER
public static final DruidColumnType TIMESTAMP
public static final DruidColumnType VARCHAR
public static DruidColumnType[] values()
for (DruidColumnType c : DruidColumnType.values()) System.out.println(c);
public static DruidColumnType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getIngestType()
public Type getPrestoType()
public static DruidColumnType fromPrestoType(Type type)
Copyright © 2012–2022. All rights reserved.