public enum ValueType extends Enum<ValueType>
DimensionSchema.ValueType.
 TODO merge them when druid-api is merged back into the main repo| Modifier and Type | Method and Description | 
|---|---|
static ValueType | 
fromString(String name)  | 
boolean | 
isNumeric()  | 
static boolean | 
isNumeric(ValueType type)  | 
DimensionSelector | 
makeNumericWrappingDimensionSelector(ColumnValueSelector numericColumnValueSelector,
                                    ExtractionFn extractionFn)  | 
static ValueType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ValueType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ValueType FLOAT
public static final ValueType DOUBLE
public static final ValueType LONG
public static final ValueType STRING
public static final ValueType COMPLEX
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 DimensionSelector makeNumericWrappingDimensionSelector(ColumnValueSelector numericColumnValueSelector, ExtractionFn extractionFn)
public boolean isNumeric()
public static boolean isNumeric(ValueType type)
Copyright © 2011–2018. All rights reserved.