org.apache.hadoop.hive.ql.io.parquet.convert
Enum ETypeConverter

java.lang.Object
  extended by java.lang.Enum<ETypeConverter>
      extended by org.apache.hadoop.hive.ql.io.parquet.convert.ETypeConverter
All Implemented Interfaces:
Serializable, Comparable<ETypeConverter>

public enum ETypeConverter
extends Enum<ETypeConverter>

ETypeConverter is an easy way to set the converter for the right type.


Enum Constant Summary
EBINARY_CONVERTER
           
EBOOLEAN_CONVERTER
           
EDOUBLE_CONVERTER
           
EFLOAT_CONVERTER
           
EINT32_CONVERTER
           
EINT64_CONVERTER
           
EINT96_CONVERTER
           
 
Method Summary
static parquet.io.api.Converter getNewConverter(Class<?> type, int index, HiveGroupConverter parent)
           
static ETypeConverter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ETypeConverter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EDOUBLE_CONVERTER

public static final ETypeConverter EDOUBLE_CONVERTER

EBOOLEAN_CONVERTER

public static final ETypeConverter EBOOLEAN_CONVERTER

EFLOAT_CONVERTER

public static final ETypeConverter EFLOAT_CONVERTER

EINT32_CONVERTER

public static final ETypeConverter EINT32_CONVERTER

EINT64_CONVERTER

public static final ETypeConverter EINT64_CONVERTER

EINT96_CONVERTER

public static final ETypeConverter EINT96_CONVERTER

EBINARY_CONVERTER

public static final ETypeConverter EBINARY_CONVERTER
Method Detail

values

public static ETypeConverter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ETypeConverter c : ETypeConverter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ETypeConverter valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getNewConverter

public static parquet.io.api.Converter getNewConverter(Class<?> type,
                                                       int index,
                                                       HiveGroupConverter parent)


Copyright © 2014 The Apache Software Foundation. All rights reserved.