public enum StringValueSerdeFactory extends Enum<StringValueSerdeFactory> implements ValueSerde
ValueSerdes for string values.| Modifier and Type | Method and Description |
|---|---|
static StringValueSerdeFactory |
fromClass(Class<?> aClass)
Returns a
ValueSerde for the specified ValueOption class. |
static org.apache.hadoop.hive.serde2.typeinfo.TypeInfo |
getCommonTypeInfo()
Returns the common type information which each this enum member returns.
|
org.apache.hadoop.hive.serde2.typeinfo.TypeInfo |
getTypeInfo()
Returns the type info.
|
Class<? extends ValueOption<?>> |
getValueClass()
Returns the
ValueOption class. |
static StringValueSerdeFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringValueSerdeFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDriver, getInspectorpublic static final StringValueSerdeFactory DECIMAL
public static final StringValueSerdeFactory DATE
public static final StringValueSerdeFactory DATETIME
public static StringValueSerdeFactory[] values()
for (StringValueSerdeFactory c : StringValueSerdeFactory.values()) System.out.println(c);
public static StringValueSerdeFactory 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 static org.apache.hadoop.hive.serde2.typeinfo.TypeInfo getCommonTypeInfo()
public org.apache.hadoop.hive.serde2.typeinfo.TypeInfo getTypeInfo()
ValueSerdegetTypeInfo in interface ValueSerdepublic Class<? extends ValueOption<?>> getValueClass()
ValueSerdeValueOption class.getValueClass in interface ValueSerdeValueOption classpublic static StringValueSerdeFactory fromClass(Class<?> aClass)
ValueSerde for the specified ValueOption class.aClass - the target ValueOption class.ValueSerde for the target ValueOption class,
or null if the target class has no ValueSerde objectCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.