public enum TimestampValueSerdeFactory extends Enum<TimestampValueSerdeFactory> implements ValueSerde
ValueSerde
s for timestamp
values.Enum Constant and Description |
---|
DATE
|
Modifier and Type | Method and Description |
---|---|
static TimestampValueSerdeFactory |
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 TimestampValueSerdeFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimestampValueSerdeFactory[] |
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, valueOf
getDriver, getInspector
public static final TimestampValueSerdeFactory DATE
public static TimestampValueSerdeFactory[] values()
for (TimestampValueSerdeFactory c : TimestampValueSerdeFactory.values()) System.out.println(c);
public static TimestampValueSerdeFactory 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()
ValueSerde
getTypeInfo
in interface ValueSerde
public Class<? extends ValueOption<?>> getValueClass()
ValueSerde
ValueOption
class.getValueClass
in interface ValueSerde
ValueOption
classpublic static TimestampValueSerdeFactory 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–2019 Asakusa Framework Team. All rights reserved.