public enum ParquetValueDrivers extends Enum<ParquetValueDrivers> implements ParquetValueDriver
ParquetValueDriver.| Enum Constant and Description |
|---|
BOOLEAN
Driver for basic
BooleanOption. |
BYTE
Driver for basic
ByteOption. |
DATE
Driver for basic
DateOption. |
DOUBLE
Driver for basic
DoubleOption. |
FLOAT
Driver for basic
FloatOption. |
INT
Driver for basic
IntOption. |
LONG
Driver for basic
LongOption. |
SHORT
Driver for basic
ShortOption. |
STRING
Driver for basic
StringOption. |
| Modifier and Type | Method and Description |
|---|---|
static ParquetValueDriver |
find(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo,
Class<?> valueClass)
Returns a
ParquetValueDriver for the specified type. |
parquet.schema.Type |
getType(String name)
Returns a parquet data type for this driver.
|
org.apache.hadoop.hive.serde2.typeinfo.TypeInfo |
getTypeInfo()
Returns the Hive type information for this driver.
|
Class<? extends ValueOption<?>> |
getValueOptionClass()
Returns the Asakusa type information for this driver.
|
static ParquetValueDriver |
of(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo,
Class<?> valueClass)
Returns a
ParquetValueDriver for the specified type. |
static ParquetValueDrivers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParquetValueDrivers[] |
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, valueOfgetConverter, getWriterpublic static final ParquetValueDrivers BOOLEAN
BooleanOption.public static final ParquetValueDrivers BYTE
ByteOption.public static final ParquetValueDrivers SHORT
ShortOption.public static final ParquetValueDrivers INT
IntOption.public static final ParquetValueDrivers LONG
LongOption.public static final ParquetValueDrivers FLOAT
FloatOption.public static final ParquetValueDrivers DOUBLE
DoubleOption.public static final ParquetValueDrivers STRING
StringOption.public static final ParquetValueDrivers DATE
DateOption.public static ParquetValueDrivers[] values()
for (ParquetValueDrivers c : ParquetValueDrivers.values()) System.out.println(c);
public static ParquetValueDrivers 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 Class<? extends ValueOption<?>> getValueOptionClass()
public org.apache.hadoop.hive.serde2.typeinfo.TypeInfo getTypeInfo()
public parquet.schema.Type getType(String name)
ParquetValueDrivergetType in interface ParquetValueDrivername - the field namepublic static ParquetValueDriver of(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo, Class<?> valueClass)
ParquetValueDriver for the specified type.typeInfo - the Hive type infovalueClass - the ValueOption typeParquetValueDriverpublic static ParquetValueDriver find(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo, Class<?> valueClass)
ParquetValueDriver for the specified type.typeInfo - the Hive type infovalueClass - the ValueOption typeParquetValueDriver, or null if it is not foundCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.