org.apache.camel.component.hdfs2
Enum HdfsWritableFactories.WritableType

java.lang.Object
  extended by java.lang.Enum<HdfsWritableFactories.WritableType>
      extended by org.apache.camel.component.hdfs2.HdfsWritableFactories.WritableType
All Implemented Interfaces:
Serializable, Comparable<HdfsWritableFactories.WritableType>
Enclosing class:
HdfsWritableFactories

public static enum HdfsWritableFactories.WritableType
extends Enum<HdfsWritableFactories.WritableType>


Enum Constant Summary
BOOLEAN
           
BYTE
           
BYTES
           
DOUBLE
           
FLOAT
           
INT
           
LONG
           
NULL
           
TEXT
           
 
Method Summary
abstract  Class<? extends org.apache.hadoop.io.WritableComparable> getWritableClass()
           
static HdfsWritableFactories.WritableType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HdfsWritableFactories.WritableType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NULL

public static final HdfsWritableFactories.WritableType NULL

BOOLEAN

public static final HdfsWritableFactories.WritableType BOOLEAN

BYTE

public static final HdfsWritableFactories.WritableType BYTE

INT

public static final HdfsWritableFactories.WritableType INT

FLOAT

public static final HdfsWritableFactories.WritableType FLOAT

LONG

public static final HdfsWritableFactories.WritableType LONG

DOUBLE

public static final HdfsWritableFactories.WritableType DOUBLE

TEXT

public static final HdfsWritableFactories.WritableType TEXT

BYTES

public static final HdfsWritableFactories.WritableType BYTES
Method Detail

values

public static HdfsWritableFactories.WritableType[] 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 (HdfsWritableFactories.WritableType c : HdfsWritableFactories.WritableType.values())
    System.out.println(c);

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

valueOf

public static HdfsWritableFactories.WritableType 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

getWritableClass

public abstract Class<? extends org.apache.hadoop.io.WritableComparable> getWritableClass()


Apache Camel